input-sim
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "input-sim", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Simulate keyboard events and selection ranges for inputs", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"build": "make", | ||
"test": "make test" | ||
@@ -31,8 +32,6 @@ }, | ||
"esnext": "^0.11.1", | ||
"jsdom": "^1.0.3", | ||
"jshint": "^2.5.6", | ||
"jsdoc": "git://github.com/eventualbuddha/jsdoc.git#add-support-for-es6-classes", | ||
"karma": "^0.12.24", | ||
"karma-mocha": "^0.1.9", | ||
"karma-phantomjs-launcher": "^0.1.4", | ||
"keysim": "^1.0.1", | ||
"mocha": "^2.0.1", | ||
@@ -39,0 +38,0 @@ "string-selection": "^1.0.0" |
@@ -5,3 +5,2 @@ import Selection from './selection'; | ||
utils.addMethod(chai.Assertion.prototype, 'selected', function (description) { | ||
var selection = Selection.parseDescription(description).caret; | ||
var inputText = this._obj.text(); | ||
@@ -8,0 +7,0 @@ var inputSelectedRange = this._obj.selectedRange(); |
Sorry, the diff of this file is not supported yet
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
9
24
1
57
276633
3452