Comparing version 2.0.1 to 2.0.2
@@ -475,3 +475,5 @@ (function (global, factory) { | ||
var animore = bind(Object.assign({}, ANIMORE_STRUCT, { | ||
var animore = {}; | ||
return Object.seal(bind(Object.assign(animore, ANIMORE_STRUCT, { | ||
el: el, | ||
@@ -483,4 +485,3 @@ opts: bind(Object.assign({}, DEFAULT_OPTIONS, opts), ['onStart', 'onEnd', 'onCancel'], animore), | ||
} | ||
}), ['clear', 'stash', 'apply']); | ||
return Object.seal(animore); | ||
}), ['clear', 'stash', 'apply'])); | ||
} | ||
@@ -487,0 +488,0 @@ |
@@ -0,1 +1,5 @@ | ||
# 2.0.2 | ||
- fixed: https://github.com/GianlucaGuarini/animore/issues/2 | ||
# 2.0.1 | ||
@@ -2,0 +6,0 @@ |
@@ -173,4 +173,6 @@ import $ from 'bianco.query' | ||
function create(el, opts = {}) { | ||
const animore = bind( | ||
Object.assign({}, ANIMORE_STRUCT, { | ||
const animore = {} | ||
return Object.seal(bind( | ||
Object.assign(animore, ANIMORE_STRUCT, { | ||
el, | ||
@@ -192,4 +194,3 @@ opts: bind( | ||
['clear', 'stash', 'apply'] | ||
) | ||
return Object.seal(animore) | ||
)) | ||
} | ||
@@ -196,0 +197,0 @@ |
{ | ||
"name": "animore", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Animore makes DOM state transitions easier", | ||
@@ -11,14 +11,16 @@ "main": "animore.js", | ||
"build": "rollup -c rollup.config.js > animore.js", | ||
"test": "npm run lint && mocha test", | ||
"test": "npm run lint && ./node_modules/.bin/mocha test", | ||
"lint": "eslint lib test" | ||
}, | ||
"devDependencies": { | ||
"babel-preset-env": "^1.5.0", | ||
"eslint": "^3.19.0", | ||
"babel-preset-env": "^1.6.0", | ||
"eslint": "^4.5.0", | ||
"eslint-config-riot": "^1.0.0", | ||
"jsdom": "11.0.0", | ||
"jsdom": "11.1.0", | ||
"jsdom-global": "3.0.2", | ||
"rollup": "^0.41.6", | ||
"rollup-plugin-babel": "^2.7.1", | ||
"rollup-plugin-commonjs": "^8.0.2", | ||
"mocha": "^3.5.0", | ||
"rollup": "^0.47.6", | ||
"babel-core": "^6.26.0", | ||
"rollup-plugin-babel": "^3.0.2", | ||
"rollup-plugin-commonjs": "^8.1.0", | ||
"rollup-plugin-node-resolve": "^3.0.0" | ||
@@ -25,0 +27,0 @@ }, |
@@ -16,2 +16,3 @@ const assert = require('assert') | ||
onEnd() { | ||
assert.equal(this.el, el) | ||
assert.equal(el.style.transform, null) | ||
@@ -18,0 +19,0 @@ done() |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37801
686
11