react-tag-input
Advanced tools
Comparing version 2.2.7 to 2.2.8
@@ -13,3 +13,3 @@ 'use strict'; | ||
var HTML5Backend = require('react-dnd-html5-backend'); | ||
var merge = require('lodash/object/merge'); | ||
var merge = require('lodash/fp/merge'); | ||
@@ -16,0 +16,0 @@ // Constants |
@@ -10,3 +10,3 @@ 'use strict'; | ||
var flow = require('lodash/function/flow'); | ||
var flow = require('lodash/fp/flow'); | ||
@@ -13,0 +13,0 @@ var ItemTypes = { TAG: 'tag' }; |
@@ -69,3 +69,2 @@ // Set up test data | ||
minQueryLength={2} /> | ||
<hr /> | ||
<pre> | ||
@@ -72,0 +71,0 @@ <code>{JSON.stringify(tags, null, 2)}</code> |
@@ -7,3 +7,3 @@ var React = require('react'); | ||
var HTML5Backend = require('react-dnd-html5-backend'); | ||
var merge = require('lodash/object/merge') | ||
var merge = require('lodash/fp/merge'); | ||
@@ -10,0 +10,0 @@ // Constants |
@@ -24,3 +24,3 @@ var React = require('react'); | ||
var minQueryLength = props.minQueryLength || 2; | ||
return (props.query.length < minQueryLength); | ||
return (props.query.length > minQueryLength); | ||
}, | ||
@@ -27,0 +27,0 @@ render: function () { |
var React = require('react'); | ||
var { DragSource, DropTarget } = require('react-dnd'); | ||
var flow = require('lodash/function/flow'); | ||
var flow = require('lodash/fp/flow'); | ||
@@ -5,0 +5,0 @@ const ItemTypes = { TAG: 'tag' }; |
{ | ||
"name": "react-tag-input", | ||
"version": "2.2.7", | ||
"version": "2.2.8", | ||
"description": "React tags is a fantastically simple tagging component for your React projects", | ||
@@ -8,3 +8,3 @@ "main": "dist-modules/reactTags.js", | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"dev": "./node_modules/webpack-dev-server/bin/webpack-dev-server.js --progress --colors --port 8090", | ||
"dev": "webpack-dev-server --progress --colors --port 8090", | ||
"build": "webpack -p && babel lib --out-dir dist-modules" | ||
@@ -24,6 +24,7 @@ }, | ||
"dependencies": { | ||
"lodash": "^4.12.0", | ||
"react": "^0.14.0", | ||
"react-dom": "^0.14.0", | ||
"react-dnd": "^2.0.2", | ||
"react-dnd-html5-backend": "^2.0.0" | ||
"react-dnd-html5-backend": "^2.0.0", | ||
"react-dom": "^0.14.0" | ||
}, | ||
@@ -38,4 +39,5 @@ "devDependencies": { | ||
"babel-preset-stage-0": "^6.0.15", | ||
"webpack": "^1.13.1" | ||
"webpack": "^1.13.1", | ||
"webpack-dev-server": "^1.14.1" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1055326
15102
5
9
+ Addedlodash@^4.12.0