Comparing version 3.0.0 to 3.0.1
@@ -92,3 +92,3 @@ !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.Curse=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
child = anchorNode.childNodes[anchorOffset ? anchorOffset - 1 : 0]; | ||
start = this.lengthUpTo(child); | ||
start = this.lengthUpTo(child) + this.nodeLength(child); | ||
} | ||
@@ -95,0 +95,0 @@ |
{ | ||
"name": "cursejs", | ||
"version": "3.0.0", | ||
"description": "A user selection caching utility", | ||
"main": "dist/curse.js", | ||
"directories": { | ||
"example": "examples", | ||
"test": "test" | ||
"version": "3.0.1", | ||
"author": "Jonathan Clem", | ||
"bugs": { | ||
"url": "https://github.com/slowink/curse/issues" | ||
}, | ||
@@ -22,20 +21,21 @@ "devDependencies": { | ||
}, | ||
"scripts": { | ||
"build": "gulp build", | ||
"dev": "nf start -j Procfile.dev", | ||
"test": "testem" | ||
"directories": { | ||
"example": "examples", | ||
"test": "test" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/slowink/curse.git" | ||
}, | ||
"homepage": "https://github.com/slowink/curse", | ||
"keywords": [ | ||
"cursor" | ||
], | ||
"author": "Jonathan Clem", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/slowink/curse/issues" | ||
"main": "dist/curse.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/slowink/curse.git" | ||
}, | ||
"homepage": "https://github.com/slowink/curse" | ||
"scripts": { | ||
"build": "gulp build", | ||
"dev": "nf start -j Procfile.dev", | ||
"test": "testem" | ||
} | ||
} |
@@ -76,3 +76,3 @@ /** | ||
child = anchorNode.childNodes[anchorOffset ? anchorOffset - 1 : 0]; | ||
start = this.lengthUpTo(child); | ||
start = this.lengthUpTo(child) + this.nodeLength(child); | ||
} | ||
@@ -84,3 +84,3 @@ | ||
child = focusNode.childNodes[focusOffset ? focusOffset - 1 : 0]; | ||
end = this.lengthUpTo(child) + this.nodeLength(child); | ||
end = this.lengthUpTo(child) + this.nodeLength(child); | ||
} | ||
@@ -87,0 +87,0 @@ |
38085