Skip to content

Commit 8834b26

Browse files
authored
Merge pull request #4 from snipsco/remove-throttle
removed lodash.throttle
2 parents fff93e2 + daf1336 commit 8834b26

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

lib/index.js

-4
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ var _propTypes = require('prop-types');
1414

1515
var _propTypes2 = _interopRequireDefault(_propTypes);
1616

17-
var _lodash = require('lodash.throttle');
18-
19-
var _lodash2 = _interopRequireDefault(_lodash);
20-
2117
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2218

2319
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
},
3333
"license": "MIT",
3434
"dependencies": {
35-
"lodash.throttle": "^4.1.1",
3635
"prop-types": "^15.5.10",
3736
"react": "^15.6.1"
3837
},

src/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React, { Component } from 'react'
22
import PropTypes from 'prop-types'
3-
import throttle from 'lodash.throttle'
43

54
class InviewMonitor extends Component {
65
constructor(props) {

0 commit comments

Comments
 (0)