Skip to content

Commit

Permalink
v1.14.1
Browse files Browse the repository at this point in the history
  • Loading branch information
cheton committed Dec 21, 2017
1 parent ddc3d27 commit 9259e76
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 20 deletions.
14 changes: 10 additions & 4 deletions dist/infinite-tree.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! infinite-tree v1.14.0 | (c) 2017 Cheton Wu <[email protected]> | MIT | https://github.com/cheton/infinite-tree */
/*! infinite-tree v1.14.1 | (c) 2017 Cheton Wu <[email protected]> | MIT | https://github.com/cheton/infinite-tree */
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
Expand All @@ -8,7 +8,7 @@
exports["InfiniteTree"] = factory();
else
root["InfiniteTree"] = factory();
})(this, function() {
})(typeof self !== 'undefined' ? self : this, function() {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
Expand Down Expand Up @@ -427,9 +427,9 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
module.exports = classNames;
} else if (true) {
// register as 'classnames', consistent with npm package name
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () {
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
return classNames;
}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
} else {
window.classNames = classNames;
Expand Down Expand Up @@ -1566,6 +1566,12 @@ var InfiniteTree = function (_events$EventEmitter) {
} else if (typeof predicate === 'string') {
// string
var filterText = (0, _utilities.get)(node, options.filterPath, '');
if (Number.isFinite(filterText)) {
filterText = String(filterText);
}
if (typeof filterText !== 'string') {
filterText = '';
}
var keyword = predicate;
if (!options.caseSensitive) {
filterText = filterText.toLowerCase();
Expand Down
6 changes: 3 additions & 3 deletions dist/infinite-tree.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/examples.js

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "infinite-tree",
"version": "1.14.0",
"version": "1.14.1",
"description": "A browser-ready tree library that can efficiently display a large amount of data using infinite scrolling.",
"homepage": "https://github.com/cheton/infinite-tree",
"main": "lib/index.js",
Expand Down Expand Up @@ -44,34 +44,34 @@
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.2",
"babel-eslint": "^8.0.3",
"babel-loader": "^7.1.2",
"babel-plugin-transform-es3-member-expression-literals": "^6.22.0",
"babel-plugin-transform-es3-property-literals": "^6.22.0",
"babel-preset-env": "^1.6.1",
"babel-preset-stage-0": "^6.24.1",
"coveralls": "^3.0.0",
"css-loader": "^0.28.7",
"eslint": "^4.11.0",
"eslint-config-trendmicro": "^1.0.0",
"eslint": "^4.13.1",
"eslint-config-trendmicro": "^1.1.0",
"eslint-import-resolver-webpack": "^0.8.3",
"eslint-loader": "^1.9.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.4.0",
"file-loader": "^1.1.5",
"jsdom": "^11.3.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.5.1",
"file-loader": "^1.1.6",
"jsdom": "^11.5.1",
"json-loader": "^0.5.7",
"lodash": "^4.17.4",
"nib": "^1.1.2",
"style-loader": "^0.19.0",
"style-loader": "^0.19.1",
"stylint": "^1.5.9",
"stylus": "^0.54.5",
"stylus-loader": "^3.0.1",
"tap": "^10.7.3",
"tap": "^11.0.0",
"url-loader": "^0.6.2",
"webpack": "^3.8.1",
"webpack-dev-server": "^2.9.4"
"webpack": "^3.10.0",
"webpack-dev-server": "^2.9.7"
},
"nyc": {
"exclude": []
Expand Down

0 comments on commit 9259e76

Please sign in to comment.