replaceImage

This commit is contained in:
Chinmay Pandhare
2017-07-08 02:33:19 +05:30
parent 460913b4f6
commit 4451e04b68
7 changed files with 170 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
if (typeof window !== 'undefined') {window.$ = window.jQuery = require('jquery'); isBrowser = true}
else {window = global; var isBrowser = false}
else {var isBrowser = false}
ImageSequencer = function ImageSequencer(options) {
@@ -131,6 +131,10 @@ ImageSequencer = function ImageSequencer(options) {
return this;
}
function replaceImage(selector,steps) {
require('./ReplaceImage')(this,selector,steps);
}
return {
options: options,
loadImages: loadImages,