Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

memoizerific

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

memoizerific - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

.c9/metadata/workspace/memoizerific.min.js

2

.c9/metadata/workspace/bundle.js

@@ -1,1 +0,1 @@

{"filter":false,"title":"bundle.js","tooltip":"/bundle.js","undoManager":{"mark":0,"position":0,"stack":[[{"start":{"row":134,"column":0},"end":{"row":135,"column":0},"action":"remove","lines":["\t/*",""],"id":2,"ignore":true},{"start":{"row":178,"column":2},"end":{"row":179,"column":3},"action":"remove","lines":["","\t*/"]}]]},"ace":{"folds":[],"scrolltop":540,"scrollleft":0,"selection":{"start":{"row":0,"column":0},"end":{"row":181,"column":12},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1454285826555,"hash":"b7a54e1260e61bf3149070714a6efe687d18a20a"}
{"filter":false,"title":"bundle.js","tooltip":"/bundle.js","undoManager":{"mark":6,"position":6,"stack":[[{"start":{"row":58,"column":29},"end":{"row":58,"column":30},"action":"remove","lines":["/"],"id":2}],[{"start":{"row":58,"column":28},"end":{"row":58,"column":29},"action":"remove","lines":["."],"id":3}],[{"start":{"row":174,"column":5},"end":{"row":174,"column":6},"action":"remove","lines":["/"],"id":4}],[{"start":{"row":174,"column":4},"end":{"row":174,"column":5},"action":"remove","lines":["."],"id":5}],[{"start":{"row":12,"column":0},"end":{"row":12,"column":4},"action":"remove","lines":[" "],"id":6},{"start":{"row":19,"column":0},"end":{"row":19,"column":4},"action":"remove","lines":[" "]},{"start":{"row":23,"column":0},"end":{"row":23,"column":4},"action":"remove","lines":[" "]},{"start":{"row":30,"column":0},"end":{"row":30,"column":4},"action":"remove","lines":[" "]},{"start":{"row":42,"column":10},"end":{"row":42,"column":14},"action":"remove","lines":[" "]},{"start":{"row":48,"column":0},"end":{"row":48,"column":4},"action":"remove","lines":[" "]},{"start":{"row":52,"column":0},"end":{"row":52,"column":4},"action":"remove","lines":[" "]},{"start":{"row":56,"column":46},"end":{"row":56,"column":48},"action":"remove","lines":[" "]}],[{"start":{"row":0,"column":0},"end":{"row":175,"column":3},"action":"remove","lines":["(function(f){if(typeof exports===\"object\"&&typeof module!==\"undefined\"){module.exports=f()}else if(typeof define===\"function\"&&define.amd){define([],f)}else{var g;if(typeof window!==\"undefined\"){g=window}else if(typeof global!==\"undefined\"){g=global}else if(typeof self!==\"undefined\"){g=self}else{g=this}g.memoizerific = f()}})(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){","if (typeof Map === 'function') {"," module.exports = Map;","}","else {"," module.exports = Similar;","}","","function Similar() {"," this.list = [];"," this.lastHas = null;"," this.size = 0;",""," return this;","}","","Similar.prototype.get = function(key) {"," var len = this.list.length,"," i;",""," if (this.lastGet && this.lastGet.key === key) {"," return this.lastGet.val;"," }",""," for (i = 0; i < len; i++) {"," if (this.list[i].key === key) {"," this.lastGet = this.list[i];"," return this.list[i];"," }"," }",""," return null;","};","","Similar.prototype.set = function(key, val) {"," this.list.push({ key: key, val: val });"," this.size++;"," return this;","};","","Similar.prototype.delete = function(key) {"," var len = this.list.length,"," i;"," for (i = 0; i < len; i++) {"," if (this.list[i].key === key) {"," break;"," }"," }",""," if (this.list.splice(i, 1).length) {"," this.size--;"," }",""," return this;","};","","Similar.prototype.has = Similar.prototype.get;","},{}],2:[function(require,module,exports){","var MapOrSimilar = require('maporsimilar');","","module.exports = function (limit) {"," var cache = new MapOrSimilar(),"," lru = [];",""," return function(fn) {"," var memoizerific = function () {"," var currentCache = cache,"," newMap,"," fnResult,"," argsLengthMinusOne = arguments.length - 1,"," lruPath = Array(argsLengthMinusOne + 1),"," isMemoized = true,"," i;",""," // loop through each argument to traverse the map tree"," for (i = 0; i < argsLengthMinusOne; i++) {"," lruPath[i] = { cacheItem: currentCache, arg: arguments[i] };",""," \t // if all arguments exist in map tree, the memoized result will be last value to be retrieved"," \t\tif (currentCache.has(arguments[i])) {"," \t\t\tcurrentCache = currentCache.get(arguments[i]);"," \t\t\tcontinue;"," \t\t}",""," \t\t isMemoized = false;",""," \t\t // make maps until last value"," newMap = new MapOrSimilar();","\t\t\t\tcurrentCache.set(arguments[i], newMap);","\t\t\t\tcurrentCache = newMap;"," \t}","","\t\t\t// we are at the last arg, check if it is really memoized","\t\t\tif (isMemoized) {"," \t\tif (currentCache.has(arguments[argsLengthMinusOne])) {"," \t\t\tfnResult = currentCache.get(arguments[argsLengthMinusOne]);"," \t\t}"," \t\t\telse {"," \t\t\t isMemoized = false;"," \t\t\t}","\t\t\t}","","\t\t\tif (!isMemoized) {"," \t\t\tfnResult = fn.apply(null, arguments);"," \t\t\tcurrentCache.set(arguments[argsLengthMinusOne], fnResult);","\t\t\t}","","\t\t\tif (limit > 0) {","\t\t\t lruPath[argsLengthMinusOne] = { cacheItem: currentCache, arg: arguments[argsLengthMinusOne] };",""," if (isMemoized) {"," moveToMostRecentLru(lru, lruPath);"," }"," else {","\t\t\t\t lru.push(lruPath);"," }",""," if (lru.length > limit) {","\t\t\t\t removeCachedResult(lru.shift());","\t\t\t\t}","\t\t\t}",""," \treturn fnResult;"," };",""," return memoizerific;"," };","};","","// move current args to most recent position","function moveToMostRecentLru(lru, lruPath) {"," var lruLen = lru.length,"," lruPathLen = lruPath.length,"," isMatch,"," i, ii;",""," for (i = 0; i < lruLen; i++) {"," isMatch = true;","\t for (ii = 0; ii < lruPathLen; ii++) {","\t if (lru[i][ii].arg !== lruPath[ii].arg) {","\t isMatch = false;","\t break;","\t }","\t }","\t if (isMatch) {","\t break;","\t }"," }",""," lru.push(lru.splice(i, 1)[0]);","}","","// remove least recently used cache item and all dead branches","function removeCachedResult(removedLru) {"," var removedLruLen = removedLru.length,"," currentLru = removedLru[removedLruLen - 1],"," tmp,"," i;",""," currentLru.cacheItem.delete(currentLru.arg);",""," // walk down the tree removing dead branches (size 0) along the way"," for (i = removedLruLen - 2; i >= 0; i--) {"," currentLru = removedLru[i];"," tmp = currentLru.cacheItem.get(currentLru.arg);",""," if (!tmp || !tmp.size) {"," currentLru.cacheItem.delete(currentLru.arg);"," }"," else {"," break;"," }"," }","}","},{\"maporsimilar\":1}]},{},[2])(2)","});"],"id":7,"ignore":true}],[{"start":{"row":0,"column":0},"end":{"row":175,"column":3},"action":"insert","lines":["(function(f){if(typeof exports===\"object\"&&typeof module!==\"undefined\"){module.exports=f()}else if(typeof define===\"function\"&&define.amd){define([],f)}else{var g;if(typeof window!==\"undefined\"){g=window}else if(typeof global!==\"undefined\"){g=global}else if(typeof self!==\"undefined\"){g=self}else{g=this}g.memoizerific = f()}})(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(_dereq_,module,exports){","if (typeof Map === 'function') {"," module.exports = Map;","}","else {"," module.exports = Similar;","}","","function Similar() {"," this.list = [];"," this.lastHas = null;"," this.size = 0;"," "," return this;","}","","Similar.prototype.get = function(key) {"," var len = this.list.length,"," i;"," "," if (this.lastGet && this.lastGet.key === key) {"," return this.lastGet.val;"," }"," "," for (i = 0; i < len; i++) {"," if (this.list[i].key === key) {"," this.lastGet = this.list[i];"," return this.list[i];"," }"," }"," "," return null;","};","","Similar.prototype.set = function(key, val) {"," this.list.push({ key: key, val: val });"," this.size++;"," return this;","};","","Similar.prototype.delete = function(key) {"," var len = this.list.length,"," i; "," for (i = 0; i < len; i++) {"," if (this.list[i].key === key) {"," break;"," }"," }"," "," if (this.list.splice(i, 1).length) {"," this.size--;"," }"," "," return this;","};","","Similar.prototype.has = Similar.prototype.get; ","},{}],2:[function(_dereq_,module,exports){","var MapOrSimilar = _dereq_('./maporsimilar');","","module.exports = function (limit) {"," var cache = new MapOrSimilar(),"," lru = [];",""," return function(fn) {"," var memoizerific = function () {"," var currentCache = cache,"," newMap,"," fnResult,"," argsLengthMinusOne = arguments.length - 1,"," lruPath = Array(argsLengthMinusOne + 1),"," isMemoized = true,"," i;",""," // loop through each argument to traverse the map tree"," for (i = 0; i < argsLengthMinusOne; i++) {"," lruPath[i] = { cacheItem: currentCache, arg: arguments[i] };",""," \t // if all arguments exist in map tree, the memoized result will be last value to be retrieved"," \t\tif (currentCache.has(arguments[i])) {"," \t\t\tcurrentCache = currentCache.get(arguments[i]);"," \t\t\tcontinue;"," \t\t}",""," \t\t isMemoized = false;",""," \t\t // make maps until last value"," newMap = new MapOrSimilar();","\t\t\t\tcurrentCache.set(arguments[i], newMap);","\t\t\t\tcurrentCache = newMap;"," \t}","","\t\t\t// we are at the last arg, check if it is really memoized","\t\t\tif (isMemoized) {"," \t\tif (currentCache.has(arguments[argsLengthMinusOne])) {"," \t\t\tfnResult = currentCache.get(arguments[argsLengthMinusOne]);"," \t\t}"," \t\t\telse {"," \t\t\t isMemoized = false;"," \t\t\t}","\t\t\t}","","\t\t\tif (!isMemoized) {"," \t\t\tfnResult = fn.apply(null, arguments);"," \t\t\tcurrentCache.set(arguments[argsLengthMinusOne], fnResult);","\t\t\t}","","\t\t\tif (limit > 0) {","\t\t\t lruPath[argsLengthMinusOne] = { cacheItem: currentCache, arg: arguments[argsLengthMinusOne] };",""," if (isMemoized) {"," moveToMostRecentLru(lru, lruPath);"," }"," else {","\t\t\t\t lru.push(lruPath);"," }",""," if (lru.length > limit) {","\t\t\t\t removeCachedResult(lru.shift());","\t\t\t\t}","\t\t\t}",""," \treturn fnResult;"," };",""," return memoizerific;"," };","};","","// move current args to most recent position","function moveToMostRecentLru(lru, lruPath) {"," var lruLen = lru.length,"," lruPathLen = lruPath.length,"," isMatch,"," i, ii;",""," for (i = 0; i < lruLen; i++) {"," isMatch = true;","\t for (ii = 0; ii < lruPathLen; ii++) {","\t if (lru[i][ii].arg !== lruPath[ii].arg) {","\t isMatch = false;","\t break;","\t }","\t }","\t if (isMatch) {","\t break;","\t }"," }",""," lru.push(lru.splice(i, 1)[0]);","}","","// remove least recently used cache item and all dead branches","function removeCachedResult(removedLru) {"," var removedLruLen = removedLru.length,"," currentLru = removedLru[removedLruLen - 1],"," tmp,"," i;",""," currentLru.cacheItem.delete(currentLru.arg);",""," // walk down the tree removing dead branches (size 0) along the way"," for (i = removedLruLen - 2; i >= 0; i--) {"," currentLru = removedLru[i];"," tmp = currentLru.cacheItem.get(currentLru.arg);",""," if (!tmp || !tmp.size) {"," currentLru.cacheItem.delete(currentLru.arg);"," }"," else {"," break;"," }"," }","}","},{\"./maporsimilar\":1}]},{},[2])(2)","});"],"id":8,"ignore":true}]]},"ace":{"folds":[],"scrolltop":2198,"scrollleft":0,"selection":{"start":{"row":0,"column":0},"end":{"row":175,"column":3},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":11,"state":"start","mode":"ace/mode/javascript"}},"timestamp":1454398133393,"hash":"4d6d6ba69442c569af41f176fc5e22ae912e662f"}

@@ -1,1 +0,1 @@

{"filter":false,"title":"gulpfile.js","tooltip":"/gulpfile.js","undoManager":{"mark":219,"position":219,"stack":[[{"start":{"row":0,"column":0},"end":{"row":116,"column":1},"action":"insert","lines":["var packageJSON = require('./package.json'),","\tgulp = require('gulp'),","\trename = require(\"gulp-rename\"),","\tdel = require('del'),","\tvinylsource = require('vinyl-source-stream'),","\tvinylbuffer = require('vinyl-buffer'),","\trunSequence = require('run-sequence'),","\tgutil = require('gulp-util'),","\treplace = require('gulp-replace'),","\tinlinesource = require('gulp-inline-source'),","","\tbrowserify = require('browserify'),","\tsourcemaps = require('gulp-sourcemaps'),","\tuglify = require('gulp-uglify'),","\twatchify = require('watchify'),","\tbabelify = require('babelify'),","\tstreamify = require('gulp-streamify'),","\tless = require('gulp-less'),","","\tpath = {","\t\tSRC : 'src',","\t\tHTML : 'src/index.html',","\t\tHTML_DESTINATION_FILENAME : 'index.html',","\t\tENTRY_POINT : 'src/index.js',","\t\tOUT : 'build.js',","\t\tDEST : 'dist',","","\t\tASSETS : 'assets',","\t\tCSS_FOLDER : 'src/css',","\t\tCSS_SOURCE : 'src/css/css.less'","\t};","","gulp.task('clean', function() {","\treturn del([path.DEST + '/**']);","});","","gulp.task('copyAssets', function() {","\treturn gulp.src(path.SRC + '/' + path.ASSETS + '/**')","\t\t.pipe(gulp.dest(path.DEST + '/' + packageJSON.version));","});","","gulp.task('processLess', function() {","\treturn gulp.src(path.CSS_SOURCE)"," .pipe(less())"," .pipe(streamify(replace(path.ASSETS + '/', packageJSON.version + '/')))"," .pipe(gulp.dest(path.DEST));","});","","gulp.task('replaceHTML', function() {","\treturn gulp.src(path.HTML)","\t\t.pipe(rename(path.HTML_DESTINATION_FILENAME))","\t\t.pipe(gulp.dest(path.DEST));","});","","/*","gulp.task('processJS', function() {","\treturn browserify({","\t\t\tentries : [path.ENTRY_POINT],","\t\t\tdebug : false,","\t\t\tcache : {}, packageCache : {}, fullPaths : true","\t\t})","\t\t.transform(\"babelify\", { presets: [\"es2015\", \"react\"] })","\t\t.bundle()","\t\t\t.pipe(vinylsource(path.OUT))","\t\t\t.pipe(streamify(uglify()))","\t\t\t.pipe(gulp.dest(path.DEST));","});","*/","","gulp.task('default', function() {","\tvar watcher;","\tprocess.env.NODE_ENV = 'development';","","\trunSequence('clean', ['copyAssets', 'processLess'], 'replaceHTML', function() { gutil.log('done!'); });","","\t// watch index.html","\tgulp.watch(path.HTML, ['replaceHTML']);","","\t// watch css","\tgulp.watch(path.CSS_FOLDER + '/**', ['processLess']);","","\t// watch app","\twatcher = watchify(browserify({","\t\t\tentries : [path.ENTRY_POINT],","\t\t\textensions: ['.js'],","\t\t\tdebug : true,","\t\t\tcache : {}, packageCache : {}, fullPaths : true","\t\t})","\t\t.transform(babelify, { presets: [\"es2015\", \"react\", \"stage-0\"] }));","","\twatcher.on('update', function() {","\t\twatcher.bundle()","\t\t\t.on(\"error\", handleError)","\t\t\t.pipe(vinylsource(path.OUT))","\t\t\t.pipe(vinylbuffer())","\t\t\t.pipe(sourcemaps.init({loadMaps: true}))","\t\t\t.pipe(streamify(replace(path.ASSETS + '/', packageJSON.version + '/')))","\t\t\t.pipe(sourcemaps.write('./'))","\t\t\t.pipe(gulp.dest(path.DEST));","\t\tgutil.log('Updated JS');","\t});","","\twatcher.bundle()","\t\t.on(\"error\", handleError)","\t\t.pipe(vinylsource(path.OUT))","\t\t.pipe(streamify(replace(path.ASSETS + '/', packageJSON.version + '/')))","\t\t.pipe(gulp.dest(path.DEST));","});","","gulp.task('prod', function(callback) {","\tprocess.env.NODE_ENV = 'production';","\treturn runSequence('clean', ['copyAssets', 'processLess'], 'replaceHTML', callback);","});","","function handleError(err) {","\tgutil.log(err.toString());","}"],"id":1}],[{"start":{"row":9,"column":0},"end":{"row":10,"column":0},"action":"remove","lines":["\tinlinesource = require('gulp-inline-source'),",""],"id":2}],[{"start":{"row":8,"column":0},"end":{"row":9,"column":0},"action":"remove","lines":["\treplace = require('gulp-replace'),",""],"id":3}],[{"start":{"row":39,"column":0},"end":{"row":50,"column":3},"action":"remove","lines":["gulp.task('processLess', function() {","\treturn gulp.src(path.CSS_SOURCE)"," .pipe(less())"," .pipe(streamify(replace(path.ASSETS + '/', packageJSON.version + '/')))"," .pipe(gulp.dest(path.DEST));","});","","gulp.task('replaceHTML', function() {","\treturn gulp.src(path.HTML)","\t\t.pipe(rename(path.HTML_DESTINATION_FILENAME))","\t\t.pipe(gulp.dest(path.DEST));","});"],"id":4}],[{"start":{"row":34,"column":0},"end":{"row":37,"column":3},"action":"remove","lines":["gulp.task('copyAssets', function() {","\treturn gulp.src(path.SRC + '/' + path.ASSETS + '/**')","\t\t.pipe(gulp.dest(path.DEST + '/' + packageJSON.version));","});"],"id":5}],[{"start":{"row":33,"column":0},"end":{"row":34,"column":0},"action":"remove","lines":["",""],"id":6}],[{"start":{"row":33,"column":0},"end":{"row":34,"column":0},"action":"remove","lines":["",""],"id":7}],[{"start":{"row":33,"column":0},"end":{"row":34,"column":0},"action":"remove","lines":["",""],"id":8}],[{"start":{"row":33,"column":0},"end":{"row":34,"column":0},"action":"remove","lines":["",""],"id":9}],[{"start":{"row":53,"column":0},"end":{"row":54,"column":0},"action":"remove","lines":["\trunSequence('clean', ['copyAssets', 'processLess'], 'replaceHTML', function() { gutil.log('done!'); });",""],"id":10}],[{"start":{"row":53,"column":0},"end":{"row":54,"column":0},"action":"remove","lines":["",""],"id":11}],[{"start":{"row":74,"column":0},"end":{"row":75,"column":0},"action":"remove","lines":["\t\t\t.pipe(streamify(replace(path.ASSETS + '/', packageJSON.version + '/')))",""],"id":12}],[{"start":{"row":19,"column":0},"end":{"row":20,"column":0},"action":"remove","lines":["\t\tHTML : 'src/index.html',",""],"id":13}],[{"start":{"row":15,"column":0},"end":{"row":16,"column":0},"action":"remove","lines":["\tless = require('gulp-less'),",""],"id":14}],[{"start":{"row":2,"column":0},"end":{"row":3,"column":0},"action":"remove","lines":["\trename = require(\"gulp-rename\"),",""],"id":15}],[{"start":{"row":2,"column":0},"end":{"row":3,"column":0},"action":"remove","lines":["\tdel = require('del'),",""],"id":16},{"start":{"row":1,"column":0},"end":{"row":2,"column":0},"action":"insert","lines":["\tdel = require('del'),",""]}],[{"start":{"row":6,"column":0},"end":{"row":7,"column":0},"action":"remove","lines":["\tgutil = require('gulp-util'),",""],"id":17},{"start":{"row":5,"column":0},"end":{"row":6,"column":0},"action":"insert","lines":["\tgutil = require('gulp-util'),",""]}],[{"start":{"row":5,"column":0},"end":{"row":6,"column":0},"action":"remove","lines":["\tgutil = require('gulp-util'),",""],"id":18},{"start":{"row":4,"column":0},"end":{"row":5,"column":0},"action":"insert","lines":["\tgutil = require('gulp-util'),",""]}],[{"start":{"row":4,"column":0},"end":{"row":5,"column":0},"action":"remove","lines":["\tgutil = require('gulp-util'),",""],"id":19},{"start":{"row":3,"column":0},"end":{"row":4,"column":0},"action":"insert","lines":["\tgutil = require('gulp-util'),",""]}],[{"start":{"row":17,"column":0},"end":{"row":18,"column":0},"action":"remove","lines":["\t\tHTML_DESTINATION_FILENAME : 'index.html',",""],"id":20}],[{"start":{"row":17,"column":21},"end":{"row":17,"column":26},"action":"remove","lines":["index"],"id":21},{"start":{"row":17,"column":21},"end":{"row":17,"column":22},"action":"insert","lines":["m"]}],[{"start":{"row":17,"column":22},"end":{"row":17,"column":23},"action":"insert","lines":["e"],"id":22}],[{"start":{"row":17,"column":23},"end":{"row":17,"column":24},"action":"insert","lines":["m"],"id":23}],[{"start":{"row":17,"column":24},"end":{"row":17,"column":25},"action":"insert","lines":["o"],"id":24}],[{"start":{"row":17,"column":25},"end":{"row":17,"column":26},"action":"insert","lines":["i"],"id":25}],[{"start":{"row":17,"column":26},"end":{"row":17,"column":27},"action":"insert","lines":["z"],"id":26}],[{"start":{"row":17,"column":27},"end":{"row":17,"column":28},"action":"insert","lines":["e"],"id":27}],[{"start":{"row":17,"column":28},"end":{"row":17,"column":29},"action":"insert","lines":["r"],"id":28}],[{"start":{"row":17,"column":29},"end":{"row":17,"column":30},"action":"insert","lines":["f"],"id":29}],[{"start":{"row":17,"column":30},"end":{"row":17,"column":31},"action":"insert","lines":["i"],"id":30}],[{"start":{"row":17,"column":31},"end":{"row":17,"column":32},"action":"insert","lines":["c"],"id":31}],[{"start":{"row":18,"column":9},"end":{"row":18,"column":10},"action":"insert","lines":["."],"id":32}],[{"start":{"row":18,"column":10},"end":{"row":18,"column":11},"action":"insert","lines":["/"],"id":33}],[{"start":{"row":18,"column":11},"end":{"row":18,"column":16},"action":"remove","lines":["build"],"id":34},{"start":{"row":18,"column":11},"end":{"row":18,"column":22},"action":"insert","lines":["memoizerfic"]}],[{"start":{"row":18,"column":10},"end":{"row":18,"column":11},"action":"remove","lines":["/"],"id":35}],[{"start":{"row":18,"column":9},"end":{"row":18,"column":10},"action":"remove","lines":["."],"id":36}],[{"start":{"row":19,"column":10},"end":{"row":19,"column":14},"action":"remove","lines":["dist"],"id":37},{"start":{"row":19,"column":10},"end":{"row":19,"column":11},"action":"insert","lines":["."]}],[{"start":{"row":19,"column":11},"end":{"row":19,"column":12},"action":"insert","lines":["/"],"id":38}],[{"start":{"row":21,"column":0},"end":{"row":22,"column":0},"action":"remove","lines":["\t\tASSETS : 'assets',",""],"id":39}],[{"start":{"row":19,"column":13},"end":{"row":22,"column":33},"action":"remove","lines":[",","","\t\tCSS_FOLDER : 'src/css',","\t\tCSS_SOURCE : 'src/css/css.less'"],"id":41}],[{"start":{"row":78,"column":0},"end":{"row":81,"column":3},"action":"remove","lines":["gulp.task('prod', function(callback) {","\tprocess.env.NODE_ENV = 'production';","\treturn runSequence('clean', ['copyAssets', 'processLess'], 'replaceHTML', callback);","});"],"id":42}],[{"start":{"row":25,"column":0},"end":{"row":26,"column":0},"action":"insert","lines":["",""],"id":43}],[{"start":{"row":26,"column":0},"end":{"row":29,"column":3},"action":"insert","lines":["gulp.task('prod', function(callback) {","\tprocess.env.NODE_ENV = 'production';","\treturn runSequence('clean', ['copyAssets', 'processLess'], 'replaceHTML', callback);","});"],"id":44}],[{"start":{"row":29,"column":3},"end":{"row":30,"column":0},"action":"insert","lines":["",""],"id":45}],[{"start":{"row":28,"column":29},"end":{"row":28,"column":60},"action":"remove","lines":["['copyAssets', 'processLess'], "],"id":46}],[{"start":{"row":22,"column":0},"end":{"row":24,"column":3},"action":"remove","lines":["gulp.task('clean', function() {","\treturn del([path.DEST + '/**']);","});"],"id":47}],[{"start":{"row":21,"column":0},"end":{"row":22,"column":0},"action":"remove","lines":["",""],"id":48}],[{"start":{"row":1,"column":0},"end":{"row":2,"column":0},"action":"remove","lines":["\tdel = require('del'),",""],"id":49}],[{"start":{"row":24,"column":21},"end":{"row":24,"column":26},"action":"remove","lines":["clean"],"id":50},{"start":{"row":24,"column":21},"end":{"row":24,"column":30},"action":"insert","lines":["processJS"]}],[{"start":{"row":24,"column":31},"end":{"row":24,"column":46},"action":"remove","lines":[", 'replaceHTML'"],"id":51}],[{"start":{"row":27,"column":0},"end":{"row":27,"column":2},"action":"remove","lines":["/*"],"id":52}],[{"start":{"row":40,"column":0},"end":{"row":40,"column":2},"action":"remove","lines":["*/"],"id":53}],[{"start":{"row":32,"column":46},"end":{"row":32,"column":50},"action":"remove","lines":["true"],"id":54},{"start":{"row":32,"column":46},"end":{"row":32,"column":47},"action":"insert","lines":["f"]}],[{"start":{"row":32,"column":47},"end":{"row":32,"column":48},"action":"insert","lines":["a"],"id":55}],[{"start":{"row":32,"column":48},"end":{"row":32,"column":49},"action":"insert","lines":["l"],"id":56}],[{"start":{"row":32,"column":49},"end":{"row":32,"column":50},"action":"insert","lines":["s"],"id":57}],[{"start":{"row":32,"column":50},"end":{"row":32,"column":51},"action":"insert","lines":["e"],"id":58}],[{"start":{"row":34,"column":45},"end":{"row":34,"column":54},"action":"remove","lines":[", \"react\""],"id":59}],[{"start":{"row":24,"column":33},"end":{"row":24,"column":41},"action":"remove","lines":["callback"],"id":60},{"start":{"row":24,"column":33},"end":{"row":24,"column":67},"action":"insert","lines":["function() { gutil.log('done!'); }"]}],[{"start":{"row":46,"column":0},"end":{"row":47,"column":0},"action":"remove","lines":["\t// watch index.html",""],"id":63}],[{"start":{"row":46,"column":0},"end":{"row":47,"column":0},"action":"remove","lines":["\tgulp.watch(path.HTML, ['replaceHTML']);",""],"id":64}],[{"start":{"row":46,"column":0},"end":{"row":47,"column":0},"action":"remove","lines":["",""],"id":65}],[{"start":{"row":46,"column":0},"end":{"row":47,"column":0},"action":"remove","lines":["\t// watch css",""],"id":66}],[{"start":{"row":46,"column":0},"end":{"row":47,"column":0},"action":"remove","lines":["\tgulp.watch(path.CSS_FOLDER + '/**', ['processLess']);",""],"id":67}],[{"start":{"row":46,"column":0},"end":{"row":47,"column":0},"action":"remove","lines":["",""],"id":68}],[{"start":{"row":40,"column":0},"end":{"row":71,"column":3},"action":"remove","lines":["","","gulp.task('default', function() {","\tvar watcher;","\tprocess.env.NODE_ENV = 'development';","","\t// watch app","\twatcher = watchify(browserify({","\t\t\tentries : [path.ENTRY_POINT],","\t\t\textensions: ['.js'],","\t\t\tdebug : true,","\t\t\tcache : {}, packageCache : {}, fullPaths : true","\t\t})","\t\t.transform(babelify, { presets: [\"es2015\", \"react\", \"stage-0\"] }));","","\twatcher.on('update', function() {","\t\twatcher.bundle()","\t\t\t.on(\"error\", handleError)","\t\t\t.pipe(vinylsource(path.OUT))","\t\t\t.pipe(vinylbuffer())","\t\t\t.pipe(sourcemaps.init({loadMaps: true}))","\t\t\t.pipe(sourcemaps.write('./'))","\t\t\t.pipe(gulp.dest(path.DEST));","\t\tgutil.log('Updated JS');","\t});","","\twatcher.bundle()","\t\t.on(\"error\", handleError)","\t\t.pipe(vinylsource(path.OUT))","\t\t.pipe(streamify(replace(path.ASSETS + '/', packageJSON.version + '/')))","\t\t.pipe(gulp.dest(path.DEST));","});"],"id":69}],[{"start":{"row":39,"column":3},"end":{"row":40,"column":0},"action":"remove","lines":["",""],"id":70}],[{"start":{"row":39,"column":3},"end":{"row":40,"column":0},"action":"remove","lines":["",""],"id":71}],[{"start":{"row":39,"column":3},"end":{"row":40,"column":0},"action":"remove","lines":["",""],"id":72}],[{"start":{"row":35,"column":11},"end":{"row":36,"column":0},"action":"insert","lines":["",""],"id":73},{"start":{"row":36,"column":0},"end":{"row":36,"column":2},"action":"insert","lines":["\t\t"]}],[{"start":{"row":36,"column":2},"end":{"row":36,"column":27},"action":"insert","lines":[".on(\"error\", handleError)"],"id":74}],[{"start":{"row":36,"column":2},"end":{"row":36,"column":6},"action":"insert","lines":[" "],"id":75}],[{"start":{"row":22,"column":11},"end":{"row":22,"column":15},"action":"remove","lines":["prod"],"id":76},{"start":{"row":22,"column":11},"end":{"row":22,"column":12},"action":"insert","lines":["d"]}],[{"start":{"row":22,"column":12},"end":{"row":22,"column":13},"action":"insert","lines":["e"],"id":77}],[{"start":{"row":22,"column":13},"end":{"row":22,"column":14},"action":"insert","lines":["f"],"id":78}],[{"start":{"row":22,"column":14},"end":{"row":22,"column":15},"action":"insert","lines":["a"],"id":79}],[{"start":{"row":22,"column":15},"end":{"row":22,"column":16},"action":"insert","lines":["u"],"id":80}],[{"start":{"row":22,"column":16},"end":{"row":22,"column":17},"action":"insert","lines":["l"],"id":81}],[{"start":{"row":22,"column":17},"end":{"row":22,"column":18},"action":"insert","lines":["t"],"id":82}],[{"start":{"row":17,"column":2},"end":{"row":17,"column":25},"action":"remove","lines":["OUT : 'memoizerfic.js',"],"id":83},{"start":{"row":17,"column":2},"end":{"row":17,"column":25},"action":"insert","lines":["OUT : 'memoizerfic.js',"]}],[{"start":{"row":17,"column":25},"end":{"row":18,"column":0},"action":"insert","lines":["",""],"id":84},{"start":{"row":18,"column":0},"end":{"row":18,"column":2},"action":"insert","lines":["\t\t"]}],[{"start":{"row":18,"column":2},"end":{"row":18,"column":25},"action":"insert","lines":["OUT : 'memoizerfic.js',"],"id":85}],[{"start":{"row":18,"column":25},"end":{"row":19,"column":0},"action":"insert","lines":["",""],"id":86},{"start":{"row":19,"column":0},"end":{"row":19,"column":2},"action":"insert","lines":["\t\t"]}],[{"start":{"row":19,"column":2},"end":{"row":19,"column":25},"action":"insert","lines":["OUT : 'memoizerfic.js',"],"id":87}],[{"start":{"row":18,"column":5},"end":{"row":18,"column":6},"action":"insert","lines":["_"],"id":88}],[{"start":{"row":18,"column":6},"end":{"row":18,"column":7},"action":"insert","lines":["M"],"id":89}],[{"start":{"row":18,"column":7},"end":{"row":18,"column":8},"action":"insert","lines":["I"],"id":90}],[{"start":{"row":18,"column":8},"end":{"row":18,"column":9},"action":"insert","lines":["N"],"id":91}],[{"start":{"row":18,"column":24},"end":{"row":18,"column":25},"action":"insert","lines":["."],"id":92}],[{"start":{"row":18,"column":25},"end":{"row":18,"column":26},"action":"insert","lines":["m"],"id":93}],[{"start":{"row":18,"column":26},"end":{"row":18,"column":27},"action":"insert","lines":["i"],"id":94}],[{"start":{"row":18,"column":27},"end":{"row":18,"column":28},"action":"insert","lines":["n"],"id":95}],[{"start":{"row":19,"column":5},"end":{"row":19,"column":6},"action":"insert","lines":["_"],"id":96}],[{"start":{"row":19,"column":6},"end":{"row":19,"column":7},"action":"insert","lines":["g"],"id":97}],[{"start":{"row":19,"column":6},"end":{"row":19,"column":7},"action":"remove","lines":["g"],"id":98}],[{"start":{"row":19,"column":6},"end":{"row":19,"column":7},"action":"insert","lines":["G"],"id":99}],[{"start":{"row":19,"column":7},"end":{"row":19,"column":8},"action":"insert","lines":["Z"],"id":100}],[{"start":{"row":19,"column":8},"end":{"row":19,"column":9},"action":"insert","lines":["I"],"id":101}],[{"start":{"row":19,"column":9},"end":{"row":19,"column":10},"action":"insert","lines":["P"],"id":102}],[{"start":{"row":19,"column":25},"end":{"row":19,"column":29},"action":"insert","lines":[".min"],"id":103}],[{"start":{"row":19,"column":29},"end":{"row":19,"column":30},"action":"insert","lines":["."],"id":104}],[{"start":{"row":19,"column":30},"end":{"row":19,"column":31},"action":"insert","lines":["g"],"id":105}],[{"start":{"row":19,"column":31},"end":{"row":19,"column":32},"action":"insert","lines":["z"],"id":106}],[{"start":{"row":19,"column":32},"end":{"row":19,"column":33},"action":"insert","lines":["i"],"id":107}],[{"start":{"row":19,"column":33},"end":{"row":19,"column":34},"action":"insert","lines":["p"],"id":108}],[{"start":{"row":10,"column":0},"end":{"row":12,"column":0},"action":"remove","lines":["\twatchify = require('watchify'),","\tbabelify = require('babelify'),",""],"id":109}],[{"start":{"row":8,"column":0},"end":{"row":9,"column":0},"action":"remove","lines":["\tsourcemaps = require('gulp-sourcemaps'),",""],"id":110}],[{"start":{"row":36,"column":31},"end":{"row":37,"column":0},"action":"insert","lines":["",""],"id":114},{"start":{"row":37,"column":0},"end":{"row":37,"column":3},"action":"insert","lines":["\t\t\t"]}],[{"start":{"row":37,"column":3},"end":{"row":37,"column":23},"action":"insert","lines":[".pipe(vinylbuffer())"],"id":115}],[{"start":{"row":7,"column":36},"end":{"row":8,"column":0},"action":"insert","lines":["",""],"id":116},{"start":{"row":8,"column":0},"end":{"row":8,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":8,"column":1},"end":{"row":8,"column":32},"action":"insert","lines":["babelify = require('babelify'),"],"id":117}],[{"start":{"row":10,"column":0},"end":{"row":11,"column":0},"action":"remove","lines":["\tstreamify = require('gulp-streamify'),",""],"id":118},{"start":{"row":9,"column":0},"end":{"row":10,"column":0},"action":"insert","lines":["\tstreamify = require('gulp-streamify'),",""]}],[{"start":{"row":14,"column":21},"end":{"row":14,"column":32},"action":"remove","lines":["memoizerfic"],"id":124},{"start":{"row":14,"column":21},"end":{"row":14,"column":33},"action":"insert","lines":["memoizerific"]}],[{"start":{"row":15,"column":9},"end":{"row":15,"column":20},"action":"remove","lines":["memoizerfic"],"id":125},{"start":{"row":15,"column":9},"end":{"row":15,"column":21},"action":"insert","lines":["memoizerific"]}],[{"start":{"row":16,"column":13},"end":{"row":16,"column":24},"action":"remove","lines":["memoizerfic"],"id":126},{"start":{"row":16,"column":13},"end":{"row":16,"column":25},"action":"insert","lines":["memoizerific"]}],[{"start":{"row":17,"column":14},"end":{"row":17,"column":25},"action":"remove","lines":["memoizerfic"],"id":127},{"start":{"row":17,"column":14},"end":{"row":17,"column":26},"action":"insert","lines":["memoizerific"]}],[{"start":{"row":39,"column":3},"end":{"row":39,"column":4},"action":"insert","lines":["/"],"id":133}],[{"start":{"row":39,"column":4},"end":{"row":39,"column":5},"action":"insert","lines":["/"],"id":134}],[{"start":{"row":9,"column":39},"end":{"row":10,"column":0},"action":"insert","lines":["",""],"id":135},{"start":{"row":10,"column":0},"end":{"row":10,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":10,"column":1},"end":{"row":10,"column":18},"action":"insert","lines":["browserify-umdify"],"id":136}],[{"start":{"row":9,"column":39},"end":{"row":10,"column":0},"action":"insert","lines":["",""],"id":137},{"start":{"row":10,"column":0},"end":{"row":10,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":10,"column":1},"end":{"row":10,"column":39},"action":"insert","lines":["streamify = require('gulp-streamify'),"],"id":138}],[{"start":{"row":11,"column":1},"end":{"row":11,"column":18},"action":"remove","lines":["browserify-umdify"],"id":139}],[{"start":{"row":11,"column":0},"end":{"row":12,"column":0},"action":"remove","lines":["\t",""],"id":140}],[{"start":{"row":10,"column":22},"end":{"row":10,"column":36},"action":"remove","lines":["gulp-streamify"],"id":141},{"start":{"row":10,"column":22},"end":{"row":10,"column":39},"action":"insert","lines":["browserify-umdify"]}],[{"start":{"row":10,"column":1},"end":{"row":10,"column":10},"action":"remove","lines":["streamify"],"id":142},{"start":{"row":10,"column":1},"end":{"row":10,"column":2},"action":"insert","lines":["u"]}],[{"start":{"row":10,"column":1},"end":{"row":10,"column":2},"action":"remove","lines":["u"],"id":143},{"start":{"row":10,"column":1},"end":{"row":10,"column":7},"action":"insert","lines":["umdify"]}],[{"start":{"row":39,"column":23},"end":{"row":40,"column":0},"action":"insert","lines":["",""],"id":144},{"start":{"row":40,"column":0},"end":{"row":40,"column":3},"action":"insert","lines":["\t\t\t"]}],[{"start":{"row":40,"column":3},"end":{"row":40,"column":4},"action":"insert","lines":["."],"id":145}],[{"start":{"row":40,"column":4},"end":{"row":40,"column":5},"action":"insert","lines":["p"],"id":146}],[{"start":{"row":40,"column":5},"end":{"row":40,"column":6},"action":"insert","lines":["i"],"id":147}],[{"start":{"row":40,"column":6},"end":{"row":40,"column":7},"action":"insert","lines":["p"],"id":148}],[{"start":{"row":40,"column":7},"end":{"row":40,"column":8},"action":"insert","lines":["e"],"id":149}],[{"start":{"row":40,"column":8},"end":{"row":40,"column":9},"action":"insert","lines":["("],"id":150}],[{"start":{"row":40,"column":9},"end":{"row":40,"column":10},"action":"insert","lines":[")"],"id":151}],[{"start":{"row":40,"column":9},"end":{"row":40,"column":15},"action":"insert","lines":["umdify"],"id":153}],[{"start":{"row":40,"column":0},"end":{"row":41,"column":0},"action":"remove","lines":["\t\t\t.pipe(umdify)",""],"id":154},{"start":{"row":39,"column":0},"end":{"row":40,"column":0},"action":"insert","lines":["\t\t\t.pipe(umdify)",""]}],[{"start":{"row":39,"column":0},"end":{"row":40,"column":0},"action":"remove","lines":["\t\t\t.pipe(umdify)",""],"id":155},{"start":{"row":38,"column":0},"end":{"row":39,"column":0},"action":"insert","lines":["\t\t\t.pipe(umdify)",""]}],[{"start":{"row":10,"column":10},"end":{"row":10,"column":11},"action":"insert","lines":["n"],"id":157}],[{"start":{"row":10,"column":11},"end":{"row":10,"column":12},"action":"insert","lines":["e"],"id":158}],[{"start":{"row":10,"column":12},"end":{"row":10,"column":13},"action":"insert","lines":["w"],"id":159}],[{"start":{"row":10,"column":13},"end":{"row":10,"column":14},"action":"insert","lines":[" "],"id":160}],[{"start":{"row":10,"column":14},"end":{"row":10,"column":15},"action":"insert","lines":["("],"id":161}],[{"start":{"row":10,"column":43},"end":{"row":10,"column":44},"action":"insert","lines":[")"],"id":162}],[{"start":{"row":10,"column":44},"end":{"row":10,"column":45},"action":"insert","lines":["("],"id":163}],[{"start":{"row":10,"column":45},"end":{"row":10,"column":46},"action":"insert","lines":[")"],"id":164}],[{"start":{"row":38,"column":0},"end":{"row":39,"column":0},"action":"remove","lines":["\t\t\t.pipe(umdify)",""],"id":166},{"start":{"row":39,"column":0},"end":{"row":40,"column":0},"action":"insert","lines":["\t\t\t.pipe(umdify)",""]}],[{"start":{"row":39,"column":0},"end":{"row":40,"column":0},"action":"remove","lines":["\t\t\t.pipe(umdify)",""],"id":167},{"start":{"row":40,"column":0},"end":{"row":41,"column":0},"action":"insert","lines":["\t\t\t.pipe(umdify)",""]}],[{"start":{"row":40,"column":0},"end":{"row":41,"column":0},"action":"remove","lines":["\t\t\t.pipe(umdify)",""],"id":168},{"start":{"row":39,"column":0},"end":{"row":40,"column":0},"action":"insert","lines":["\t\t\t.pipe(umdify)",""]}],[{"start":{"row":35,"column":2},"end":{"row":35,"column":49},"action":"remove","lines":[".transform(\"babelify\", { presets: [\"es2015\"] })"],"id":169},{"start":{"row":35,"column":2},"end":{"row":35,"column":49},"action":"insert","lines":[".transform(\"babelify\", { presets: [\"es2015\"] })"]}],[{"start":{"row":35,"column":49},"end":{"row":36,"column":0},"action":"insert","lines":["",""],"id":170},{"start":{"row":36,"column":0},"end":{"row":36,"column":2},"action":"insert","lines":["\t\t"]}],[{"start":{"row":36,"column":2},"end":{"row":36,"column":49},"action":"insert","lines":[".transform(\"babelify\", { presets: [\"es2015\"] })"],"id":171}],[{"start":{"row":40,"column":9},"end":{"row":40,"column":15},"action":"remove","lines":["umdify"],"id":172}],[{"start":{"row":36,"column":13},"end":{"row":36,"column":23},"action":"remove","lines":["\"babelify\""],"id":173},{"start":{"row":36,"column":13},"end":{"row":36,"column":19},"action":"insert","lines":["umdify"]}],[{"start":{"row":36,"column":19},"end":{"row":36,"column":44},"action":"remove","lines":[", { presets: [\"es2015\"] }"],"id":174}],[{"start":{"row":40,"column":0},"end":{"row":41,"column":0},"action":"remove","lines":["\t\t\t.pipe()",""],"id":175}],[{"start":{"row":10,"column":43},"end":{"row":10,"column":46},"action":"remove","lines":[")()"],"id":176}],[{"start":{"row":10,"column":10},"end":{"row":10,"column":15},"action":"remove","lines":["new ("],"id":177}],[{"start":{"row":10,"column":19},"end":{"row":10,"column":30},"action":"remove","lines":["browserify-"],"id":178}],[{"start":{"row":40,"column":23},"end":{"row":41,"column":0},"action":"insert","lines":["",""],"id":179},{"start":{"row":41,"column":0},"end":{"row":41,"column":3},"action":"insert","lines":["\t\t\t"]}],[{"start":{"row":41,"column":3},"end":{"row":41,"column":4},"action":"insert","lines":["."],"id":180}],[{"start":{"row":41,"column":4},"end":{"row":41,"column":5},"action":"insert","lines":["p"],"id":181}],[{"start":{"row":41,"column":5},"end":{"row":41,"column":6},"action":"insert","lines":["i"],"id":182}],[{"start":{"row":41,"column":6},"end":{"row":41,"column":7},"action":"insert","lines":["p"],"id":183}],[{"start":{"row":41,"column":7},"end":{"row":41,"column":8},"action":"insert","lines":["("],"id":184}],[{"start":{"row":41,"column":8},"end":{"row":41,"column":9},"action":"insert","lines":[")"],"id":185}],[{"start":{"row":41,"column":8},"end":{"row":41,"column":14},"action":"insert","lines":["umdify"],"id":186}],[{"start":{"row":41,"column":14},"end":{"row":41,"column":15},"action":"insert","lines":["("],"id":187}],[{"start":{"row":41,"column":15},"end":{"row":41,"column":16},"action":"insert","lines":[")"],"id":188}],[{"start":{"row":36,"column":0},"end":{"row":37,"column":0},"action":"remove","lines":["\t\t.transform(umdify)",""],"id":189}],[{"start":{"row":40,"column":0},"end":{"row":41,"column":0},"action":"remove","lines":["\t\t\t.pip(umdify())",""],"id":190},{"start":{"row":39,"column":0},"end":{"row":40,"column":0},"action":"insert","lines":["\t\t\t.pip(umdify())",""]}],[{"start":{"row":39,"column":0},"end":{"row":40,"column":0},"action":"remove","lines":["\t\t\t.pip(umdify())",""],"id":191},{"start":{"row":38,"column":0},"end":{"row":39,"column":0},"action":"insert","lines":["\t\t\t.pip(umdify())",""]}],[{"start":{"row":33,"column":51},"end":{"row":33,"column":52},"action":"insert","lines":[","],"id":192}],[{"start":{"row":33,"column":52},"end":{"row":33,"column":53},"action":"insert","lines":[" "],"id":193}],[{"start":{"row":33,"column":53},"end":{"row":33,"column":76},"action":"insert","lines":["standalone: 'beep-boop'"],"id":194}],[{"start":{"row":38,"column":0},"end":{"row":39,"column":0},"action":"remove","lines":["\t\t\t.pip(umdify())",""],"id":195}],[{"start":{"row":33,"column":53},"end":{"row":33,"column":76},"action":"remove","lines":["standalone: 'beep-boop'"],"id":196}],[{"start":{"row":33,"column":52},"end":{"row":33,"column":53},"action":"remove","lines":[" "],"id":197}],[{"start":{"row":33,"column":51},"end":{"row":33,"column":52},"action":"remove","lines":[","],"id":198}],[{"start":{"row":36,"column":10},"end":{"row":36,"column":33},"action":"insert","lines":["standalone: 'beep-boop'"],"id":199}],[{"start":{"row":36,"column":33},"end":{"row":36,"column":34},"action":"insert","lines":["}"],"id":200}],[{"start":{"row":36,"column":10},"end":{"row":36,"column":11},"action":"insert","lines":["{"],"id":201}],[{"start":{"row":36,"column":11},"end":{"row":36,"column":34},"action":"remove","lines":["standalone: 'beep-boop'"],"id":202}],[{"start":{"row":31,"column":32},"end":{"row":32,"column":0},"action":"insert","lines":["",""],"id":203},{"start":{"row":32,"column":0},"end":{"row":32,"column":3},"action":"insert","lines":["\t\t\t"]}],[{"start":{"row":32,"column":3},"end":{"row":32,"column":26},"action":"insert","lines":["standalone: 'beep-boop'"],"id":204}],[{"start":{"row":32,"column":26},"end":{"row":32,"column":27},"action":"insert","lines":[","],"id":205}],[{"start":{"row":37,"column":10},"end":{"row":37,"column":12},"action":"remove","lines":["{}"],"id":206}],[{"start":{"row":32,"column":15},"end":{"row":32,"column":26},"action":"remove","lines":["'beep-boop'"],"id":207},{"start":{"row":32,"column":15},"end":{"row":32,"column":16},"action":"insert","lines":["t"]}],[{"start":{"row":32,"column":16},"end":{"row":32,"column":17},"action":"insert","lines":["r"],"id":208}],[{"start":{"row":32,"column":17},"end":{"row":32,"column":18},"action":"insert","lines":["u"],"id":209}],[{"start":{"row":32,"column":18},"end":{"row":32,"column":19},"action":"insert","lines":["e"],"id":210}],[{"start":{"row":32,"column":15},"end":{"row":32,"column":19},"action":"remove","lines":["true"],"id":211},{"start":{"row":32,"column":15},"end":{"row":32,"column":16},"action":"insert","lines":["'"]}],[{"start":{"row":32,"column":16},"end":{"row":32,"column":17},"action":"insert","lines":["k"],"id":212}],[{"start":{"row":32,"column":17},"end":{"row":32,"column":18},"action":"insert","lines":["a"],"id":213}],[{"start":{"row":32,"column":18},"end":{"row":32,"column":19},"action":"insert","lines":["k"],"id":214}],[{"start":{"row":32,"column":19},"end":{"row":32,"column":20},"action":"insert","lines":["a"],"id":215}],[{"start":{"row":32,"column":20},"end":{"row":32,"column":21},"action":"insert","lines":["'"],"id":216}],[{"start":{"row":32,"column":16},"end":{"row":32,"column":20},"action":"remove","lines":["kaka"],"id":217},{"start":{"row":32,"column":16},"end":{"row":32,"column":17},"action":"insert","lines":["m"]}],[{"start":{"row":32,"column":17},"end":{"row":32,"column":18},"action":"insert","lines":["e"],"id":218}],[{"start":{"row":32,"column":18},"end":{"row":32,"column":19},"action":"insert","lines":["m"],"id":219}],[{"start":{"row":32,"column":19},"end":{"row":32,"column":20},"action":"insert","lines":["o"],"id":220}],[{"start":{"row":32,"column":20},"end":{"row":32,"column":21},"action":"insert","lines":["i"],"id":221}],[{"start":{"row":32,"column":21},"end":{"row":32,"column":22},"action":"insert","lines":["z"],"id":222}],[{"start":{"row":32,"column":22},"end":{"row":32,"column":23},"action":"insert","lines":["e"],"id":223}],[{"start":{"row":32,"column":23},"end":{"row":32,"column":24},"action":"insert","lines":["r"],"id":224}],[{"start":{"row":32,"column":24},"end":{"row":32,"column":25},"action":"insert","lines":["f"],"id":225}],[{"start":{"row":32,"column":25},"end":{"row":32,"column":26},"action":"insert","lines":["i"],"id":226}],[{"start":{"row":32,"column":26},"end":{"row":32,"column":27},"action":"insert","lines":["c"],"id":227}],[{"start":{"row":32,"column":27},"end":{"row":32,"column":28},"action":"insert","lines":["i"],"id":228}],[{"start":{"row":32,"column":16},"end":{"row":32,"column":28},"action":"remove","lines":["memoizerfici"],"id":229},{"start":{"row":32,"column":16},"end":{"row":32,"column":28},"action":"insert","lines":["memoizerific"]}],[{"start":{"row":32,"column":3},"end":{"row":32,"column":4},"action":"insert","lines":["/"],"id":233}],[{"start":{"row":32,"column":4},"end":{"row":32,"column":5},"action":"insert","lines":["/"],"id":234}],[{"start":{"row":32,"column":4},"end":{"row":32,"column":5},"action":"remove","lines":["/"],"id":241}],[{"start":{"row":32,"column":3},"end":{"row":32,"column":4},"action":"remove","lines":["/"],"id":242}],[{"start":{"row":29,"column":0},"end":{"row":43,"column":3},"action":"remove","lines":["gulp.task('processJS', function() {","\treturn browserify({","\t\t\tentries : [path.ENTRY_POINT],","\t\t\tstandalone: 'memoizerific',","\t\t\tdebug : false,","\t\t\tcache : {}, packageCache : {}, fullPaths : false","\t\t})","\t\t.transform(\"babelify\", { presets: [\"es2015\"] })","\t\t.bundle()","\t\t .on(\"error\", handleError)","\t\t\t.pipe(vinylsource(path.OUT))","\t\t\t.pipe(vinylbuffer())","\t\t\t//.pipe(streamify(uglify()))","\t\t\t.pipe(gulp.dest(path.DEST));","});"],"id":243},{"start":{"row":29,"column":0},"end":{"row":43,"column":3},"action":"insert","lines":["gulp.task('processJS', function() {","\treturn browserify({","\t\t\tentries : [path.ENTRY_POINT],","\t\t\tstandalone: 'memoizerific',","\t\t\tdebug : false,","\t\t\tcache : {}, packageCache : {}, fullPaths : false","\t\t})","\t\t.transform(\"babelify\", { presets: [\"es2015\"] })","\t\t.bundle()","\t\t .on(\"error\", handleError)","\t\t\t.pipe(vinylsource(path.OUT))","\t\t\t.pipe(vinylbuffer())","\t\t\t//.pipe(streamify(uglify()))","\t\t\t.pipe(gulp.dest(path.DEST));","});"]}],[{"start":{"row":41,"column":4},"end":{"row":41,"column":5},"action":"remove","lines":["/"],"id":252}],[{"start":{"row":41,"column":3},"end":{"row":41,"column":4},"action":"remove","lines":["/"],"id":253}],[{"start":{"row":41,"column":3},"end":{"row":41,"column":4},"action":"insert","lines":["/"],"id":254}],[{"start":{"row":41,"column":4},"end":{"row":41,"column":5},"action":"insert","lines":["/"],"id":255}],[{"start":{"row":32,"column":28},"end":{"row":32,"column":29},"action":"insert","lines":["2"],"id":256}]]},"ace":{"folds":[],"scrolltop":378.5,"scrollleft":0,"selection":{"start":{"row":32,"column":29},"end":{"row":32,"column":29},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":26,"state":"start","mode":"ace/mode/javascript"}},"timestamp":1454396293191,"hash":"6d6c5f09bf190dca06640bb4280ea1617da1988a"}
{"filter":false,"title":"gulpfile.js","tooltip":"/gulpfile.js","undoManager":{"mark":327,"position":327,"stack":[[{"start":{"row":0,"column":0},"end":{"row":116,"column":1},"action":"insert","lines":["var packageJSON = require('./package.json'),","\tgulp = require('gulp'),","\trename = require(\"gulp-rename\"),","\tdel = require('del'),","\tvinylsource = require('vinyl-source-stream'),","\tvinylbuffer = require('vinyl-buffer'),","\trunSequence = require('run-sequence'),","\tgutil = require('gulp-util'),","\treplace = require('gulp-replace'),","\tinlinesource = require('gulp-inline-source'),","","\tbrowserify = require('browserify'),","\tsourcemaps = require('gulp-sourcemaps'),","\tuglify = require('gulp-uglify'),","\twatchify = require('watchify'),","\tbabelify = require('babelify'),","\tstreamify = require('gulp-streamify'),","\tless = require('gulp-less'),","","\tpath = {","\t\tSRC : 'src',","\t\tHTML : 'src/index.html',","\t\tHTML_DESTINATION_FILENAME : 'index.html',","\t\tENTRY_POINT : 'src/index.js',","\t\tOUT : 'build.js',","\t\tDEST : 'dist',","","\t\tASSETS : 'assets',","\t\tCSS_FOLDER : 'src/css',","\t\tCSS_SOURCE : 'src/css/css.less'","\t};","","gulp.task('clean', function() {","\treturn del([path.DEST + '/**']);","});","","gulp.task('copyAssets', function() {","\treturn gulp.src(path.SRC + '/' + path.ASSETS + '/**')","\t\t.pipe(gulp.dest(path.DEST + '/' + packageJSON.version));","});","","gulp.task('processLess', function() {","\treturn gulp.src(path.CSS_SOURCE)"," .pipe(less())"," .pipe(streamify(replace(path.ASSETS + '/', packageJSON.version + '/')))"," .pipe(gulp.dest(path.DEST));","});","","gulp.task('replaceHTML', function() {","\treturn gulp.src(path.HTML)","\t\t.pipe(rename(path.HTML_DESTINATION_FILENAME))","\t\t.pipe(gulp.dest(path.DEST));","});","","/*","gulp.task('processJS', function() {","\treturn browserify({","\t\t\tentries : [path.ENTRY_POINT],","\t\t\tdebug : false,","\t\t\tcache : {}, packageCache : {}, fullPaths : true","\t\t})","\t\t.transform(\"babelify\", { presets: [\"es2015\", \"react\"] })","\t\t.bundle()","\t\t\t.pipe(vinylsource(path.OUT))","\t\t\t.pipe(streamify(uglify()))","\t\t\t.pipe(gulp.dest(path.DEST));","});","*/","","gulp.task('default', function() {","\tvar watcher;","\tprocess.env.NODE_ENV = 'development';","","\trunSequence('clean', ['copyAssets', 'processLess'], 'replaceHTML', function() { gutil.log('done!'); });","","\t// watch index.html","\tgulp.watch(path.HTML, ['replaceHTML']);","","\t// watch css","\tgulp.watch(path.CSS_FOLDER + '/**', ['processLess']);","","\t// watch app","\twatcher = watchify(browserify({","\t\t\tentries : [path.ENTRY_POINT],","\t\t\textensions: ['.js'],","\t\t\tdebug : true,","\t\t\tcache : {}, packageCache : {}, fullPaths : true","\t\t})","\t\t.transform(babelify, { presets: [\"es2015\", \"react\", \"stage-0\"] }));","","\twatcher.on('update', function() {","\t\twatcher.bundle()","\t\t\t.on(\"error\", handleError)","\t\t\t.pipe(vinylsource(path.OUT))","\t\t\t.pipe(vinylbuffer())","\t\t\t.pipe(sourcemaps.init({loadMaps: true}))","\t\t\t.pipe(streamify(replace(path.ASSETS + '/', packageJSON.version + '/')))","\t\t\t.pipe(sourcemaps.write('./'))","\t\t\t.pipe(gulp.dest(path.DEST));","\t\tgutil.log('Updated JS');","\t});","","\twatcher.bundle()","\t\t.on(\"error\", handleError)","\t\t.pipe(vinylsource(path.OUT))","\t\t.pipe(streamify(replace(path.ASSETS + '/', packageJSON.version + '/')))","\t\t.pipe(gulp.dest(path.DEST));","});","","gulp.task('prod', function(callback) {","\tprocess.env.NODE_ENV = 'production';","\treturn runSequence('clean', ['copyAssets', 'processLess'], 'replaceHTML', callback);","});","","function handleError(err) {","\tgutil.log(err.toString());","}"],"id":1}],[{"start":{"row":9,"column":0},"end":{"row":10,"column":0},"action":"remove","lines":["\tinlinesource = require('gulp-inline-source'),",""],"id":2}],[{"start":{"row":8,"column":0},"end":{"row":9,"column":0},"action":"remove","lines":["\treplace = require('gulp-replace'),",""],"id":3}],[{"start":{"row":39,"column":0},"end":{"row":50,"column":3},"action":"remove","lines":["gulp.task('processLess', function() {","\treturn gulp.src(path.CSS_SOURCE)"," .pipe(less())"," .pipe(streamify(replace(path.ASSETS + '/', packageJSON.version + '/')))"," .pipe(gulp.dest(path.DEST));","});","","gulp.task('replaceHTML', function() {","\treturn gulp.src(path.HTML)","\t\t.pipe(rename(path.HTML_DESTINATION_FILENAME))","\t\t.pipe(gulp.dest(path.DEST));","});"],"id":4}],[{"start":{"row":34,"column":0},"end":{"row":37,"column":3},"action":"remove","lines":["gulp.task('copyAssets', function() {","\treturn gulp.src(path.SRC + '/' + path.ASSETS + '/**')","\t\t.pipe(gulp.dest(path.DEST + '/' + packageJSON.version));","});"],"id":5}],[{"start":{"row":33,"column":0},"end":{"row":34,"column":0},"action":"remove","lines":["",""],"id":6}],[{"start":{"row":33,"column":0},"end":{"row":34,"column":0},"action":"remove","lines":["",""],"id":7}],[{"start":{"row":33,"column":0},"end":{"row":34,"column":0},"action":"remove","lines":["",""],"id":8}],[{"start":{"row":33,"column":0},"end":{"row":34,"column":0},"action":"remove","lines":["",""],"id":9}],[{"start":{"row":53,"column":0},"end":{"row":54,"column":0},"action":"remove","lines":["\trunSequence('clean', ['copyAssets', 'processLess'], 'replaceHTML', function() { gutil.log('done!'); });",""],"id":10}],[{"start":{"row":53,"column":0},"end":{"row":54,"column":0},"action":"remove","lines":["",""],"id":11}],[{"start":{"row":74,"column":0},"end":{"row":75,"column":0},"action":"remove","lines":["\t\t\t.pipe(streamify(replace(path.ASSETS + '/', packageJSON.version + '/')))",""],"id":12}],[{"start":{"row":19,"column":0},"end":{"row":20,"column":0},"action":"remove","lines":["\t\tHTML : 'src/index.html',",""],"id":13}],[{"start":{"row":15,"column":0},"end":{"row":16,"column":0},"action":"remove","lines":["\tless = require('gulp-less'),",""],"id":14}],[{"start":{"row":2,"column":0},"end":{"row":3,"column":0},"action":"remove","lines":["\trename = require(\"gulp-rename\"),",""],"id":15}],[{"start":{"row":2,"column":0},"end":{"row":3,"column":0},"action":"remove","lines":["\tdel = require('del'),",""],"id":16},{"start":{"row":1,"column":0},"end":{"row":2,"column":0},"action":"insert","lines":["\tdel = require('del'),",""]}],[{"start":{"row":6,"column":0},"end":{"row":7,"column":0},"action":"remove","lines":["\tgutil = require('gulp-util'),",""],"id":17},{"start":{"row":5,"column":0},"end":{"row":6,"column":0},"action":"insert","lines":["\tgutil = require('gulp-util'),",""]}],[{"start":{"row":5,"column":0},"end":{"row":6,"column":0},"action":"remove","lines":["\tgutil = require('gulp-util'),",""],"id":18},{"start":{"row":4,"column":0},"end":{"row":5,"column":0},"action":"insert","lines":["\tgutil = require('gulp-util'),",""]}],[{"start":{"row":4,"column":0},"end":{"row":5,"column":0},"action":"remove","lines":["\tgutil = require('gulp-util'),",""],"id":19},{"start":{"row":3,"column":0},"end":{"row":4,"column":0},"action":"insert","lines":["\tgutil = require('gulp-util'),",""]}],[{"start":{"row":17,"column":0},"end":{"row":18,"column":0},"action":"remove","lines":["\t\tHTML_DESTINATION_FILENAME : 'index.html',",""],"id":20}],[{"start":{"row":17,"column":21},"end":{"row":17,"column":26},"action":"remove","lines":["index"],"id":21},{"start":{"row":17,"column":21},"end":{"row":17,"column":22},"action":"insert","lines":["m"]}],[{"start":{"row":17,"column":22},"end":{"row":17,"column":23},"action":"insert","lines":["e"],"id":22}],[{"start":{"row":17,"column":23},"end":{"row":17,"column":24},"action":"insert","lines":["m"],"id":23}],[{"start":{"row":17,"column":24},"end":{"row":17,"column":25},"action":"insert","lines":["o"],"id":24}],[{"start":{"row":17,"column":25},"end":{"row":17,"column":26},"action":"insert","lines":["i"],"id":25}],[{"start":{"row":17,"column":26},"end":{"row":17,"column":27},"action":"insert","lines":["z"],"id":26}],[{"start":{"row":17,"column":27},"end":{"row":17,"column":28},"action":"insert","lines":["e"],"id":27}],[{"start":{"row":17,"column":28},"end":{"row":17,"column":29},"action":"insert","lines":["r"],"id":28}],[{"start":{"row":17,"column":29},"end":{"row":17,"column":30},"action":"insert","lines":["f"],"id":29}],[{"start":{"row":17,"column":30},"end":{"row":17,"column":31},"action":"insert","lines":["i"],"id":30}],[{"start":{"row":17,"column":31},"end":{"row":17,"column":32},"action":"insert","lines":["c"],"id":31}],[{"start":{"row":18,"column":9},"end":{"row":18,"column":10},"action":"insert","lines":["."],"id":32}],[{"start":{"row":18,"column":10},"end":{"row":18,"column":11},"action":"insert","lines":["/"],"id":33}],[{"start":{"row":18,"column":11},"end":{"row":18,"column":16},"action":"remove","lines":["build"],"id":34},{"start":{"row":18,"column":11},"end":{"row":18,"column":22},"action":"insert","lines":["memoizerfic"]}],[{"start":{"row":18,"column":10},"end":{"row":18,"column":11},"action":"remove","lines":["/"],"id":35}],[{"start":{"row":18,"column":9},"end":{"row":18,"column":10},"action":"remove","lines":["."],"id":36}],[{"start":{"row":19,"column":10},"end":{"row":19,"column":14},"action":"remove","lines":["dist"],"id":37},{"start":{"row":19,"column":10},"end":{"row":19,"column":11},"action":"insert","lines":["."]}],[{"start":{"row":19,"column":11},"end":{"row":19,"column":12},"action":"insert","lines":["/"],"id":38}],[{"start":{"row":21,"column":0},"end":{"row":22,"column":0},"action":"remove","lines":["\t\tASSETS : 'assets',",""],"id":39}],[{"start":{"row":19,"column":13},"end":{"row":22,"column":33},"action":"remove","lines":[",","","\t\tCSS_FOLDER : 'src/css',","\t\tCSS_SOURCE : 'src/css/css.less'"],"id":41}],[{"start":{"row":78,"column":0},"end":{"row":81,"column":3},"action":"remove","lines":["gulp.task('prod', function(callback) {","\tprocess.env.NODE_ENV = 'production';","\treturn runSequence('clean', ['copyAssets', 'processLess'], 'replaceHTML', callback);","});"],"id":42}],[{"start":{"row":25,"column":0},"end":{"row":26,"column":0},"action":"insert","lines":["",""],"id":43}],[{"start":{"row":26,"column":0},"end":{"row":29,"column":3},"action":"insert","lines":["gulp.task('prod', function(callback) {","\tprocess.env.NODE_ENV = 'production';","\treturn runSequence('clean', ['copyAssets', 'processLess'], 'replaceHTML', callback);","});"],"id":44}],[{"start":{"row":29,"column":3},"end":{"row":30,"column":0},"action":"insert","lines":["",""],"id":45}],[{"start":{"row":28,"column":29},"end":{"row":28,"column":60},"action":"remove","lines":["['copyAssets', 'processLess'], "],"id":46}],[{"start":{"row":22,"column":0},"end":{"row":24,"column":3},"action":"remove","lines":["gulp.task('clean', function() {","\treturn del([path.DEST + '/**']);","});"],"id":47}],[{"start":{"row":21,"column":0},"end":{"row":22,"column":0},"action":"remove","lines":["",""],"id":48}],[{"start":{"row":1,"column":0},"end":{"row":2,"column":0},"action":"remove","lines":["\tdel = require('del'),",""],"id":49}],[{"start":{"row":24,"column":21},"end":{"row":24,"column":26},"action":"remove","lines":["clean"],"id":50},{"start":{"row":24,"column":21},"end":{"row":24,"column":30},"action":"insert","lines":["processJS"]}],[{"start":{"row":24,"column":31},"end":{"row":24,"column":46},"action":"remove","lines":[", 'replaceHTML'"],"id":51}],[{"start":{"row":27,"column":0},"end":{"row":27,"column":2},"action":"remove","lines":["/*"],"id":52}],[{"start":{"row":40,"column":0},"end":{"row":40,"column":2},"action":"remove","lines":["*/"],"id":53}],[{"start":{"row":32,"column":46},"end":{"row":32,"column":50},"action":"remove","lines":["true"],"id":54},{"start":{"row":32,"column":46},"end":{"row":32,"column":47},"action":"insert","lines":["f"]}],[{"start":{"row":32,"column":47},"end":{"row":32,"column":48},"action":"insert","lines":["a"],"id":55}],[{"start":{"row":32,"column":48},"end":{"row":32,"column":49},"action":"insert","lines":["l"],"id":56}],[{"start":{"row":32,"column":49},"end":{"row":32,"column":50},"action":"insert","lines":["s"],"id":57}],[{"start":{"row":32,"column":50},"end":{"row":32,"column":51},"action":"insert","lines":["e"],"id":58}],[{"start":{"row":34,"column":45},"end":{"row":34,"column":54},"action":"remove","lines":[", \"react\""],"id":59}],[{"start":{"row":24,"column":33},"end":{"row":24,"column":41},"action":"remove","lines":["callback"],"id":60},{"start":{"row":24,"column":33},"end":{"row":24,"column":67},"action":"insert","lines":["function() { gutil.log('done!'); }"]}],[{"start":{"row":46,"column":0},"end":{"row":47,"column":0},"action":"remove","lines":["\t// watch index.html",""],"id":63}],[{"start":{"row":46,"column":0},"end":{"row":47,"column":0},"action":"remove","lines":["\tgulp.watch(path.HTML, ['replaceHTML']);",""],"id":64}],[{"start":{"row":46,"column":0},"end":{"row":47,"column":0},"action":"remove","lines":["",""],"id":65}],[{"start":{"row":46,"column":0},"end":{"row":47,"column":0},"action":"remove","lines":["\t// watch css",""],"id":66}],[{"start":{"row":46,"column":0},"end":{"row":47,"column":0},"action":"remove","lines":["\tgulp.watch(path.CSS_FOLDER + '/**', ['processLess']);",""],"id":67}],[{"start":{"row":46,"column":0},"end":{"row":47,"column":0},"action":"remove","lines":["",""],"id":68}],[{"start":{"row":40,"column":0},"end":{"row":71,"column":3},"action":"remove","lines":["","","gulp.task('default', function() {","\tvar watcher;","\tprocess.env.NODE_ENV = 'development';","","\t// watch app","\twatcher = watchify(browserify({","\t\t\tentries : [path.ENTRY_POINT],","\t\t\textensions: ['.js'],","\t\t\tdebug : true,","\t\t\tcache : {}, packageCache : {}, fullPaths : true","\t\t})","\t\t.transform(babelify, { presets: [\"es2015\", \"react\", \"stage-0\"] }));","","\twatcher.on('update', function() {","\t\twatcher.bundle()","\t\t\t.on(\"error\", handleError)","\t\t\t.pipe(vinylsource(path.OUT))","\t\t\t.pipe(vinylbuffer())","\t\t\t.pipe(sourcemaps.init({loadMaps: true}))","\t\t\t.pipe(sourcemaps.write('./'))","\t\t\t.pipe(gulp.dest(path.DEST));","\t\tgutil.log('Updated JS');","\t});","","\twatcher.bundle()","\t\t.on(\"error\", handleError)","\t\t.pipe(vinylsource(path.OUT))","\t\t.pipe(streamify(replace(path.ASSETS + '/', packageJSON.version + '/')))","\t\t.pipe(gulp.dest(path.DEST));","});"],"id":69}],[{"start":{"row":39,"column":3},"end":{"row":40,"column":0},"action":"remove","lines":["",""],"id":70}],[{"start":{"row":39,"column":3},"end":{"row":40,"column":0},"action":"remove","lines":["",""],"id":71}],[{"start":{"row":39,"column":3},"end":{"row":40,"column":0},"action":"remove","lines":["",""],"id":72}],[{"start":{"row":35,"column":11},"end":{"row":36,"column":0},"action":"insert","lines":["",""],"id":73},{"start":{"row":36,"column":0},"end":{"row":36,"column":2},"action":"insert","lines":["\t\t"]}],[{"start":{"row":36,"column":2},"end":{"row":36,"column":27},"action":"insert","lines":[".on(\"error\", handleError)"],"id":74}],[{"start":{"row":36,"column":2},"end":{"row":36,"column":6},"action":"insert","lines":[" "],"id":75}],[{"start":{"row":22,"column":11},"end":{"row":22,"column":15},"action":"remove","lines":["prod"],"id":76},{"start":{"row":22,"column":11},"end":{"row":22,"column":12},"action":"insert","lines":["d"]}],[{"start":{"row":22,"column":12},"end":{"row":22,"column":13},"action":"insert","lines":["e"],"id":77}],[{"start":{"row":22,"column":13},"end":{"row":22,"column":14},"action":"insert","lines":["f"],"id":78}],[{"start":{"row":22,"column":14},"end":{"row":22,"column":15},"action":"insert","lines":["a"],"id":79}],[{"start":{"row":22,"column":15},"end":{"row":22,"column":16},"action":"insert","lines":["u"],"id":80}],[{"start":{"row":22,"column":16},"end":{"row":22,"column":17},"action":"insert","lines":["l"],"id":81}],[{"start":{"row":22,"column":17},"end":{"row":22,"column":18},"action":"insert","lines":["t"],"id":82}],[{"start":{"row":17,"column":2},"end":{"row":17,"column":25},"action":"remove","lines":["OUT : 'memoizerfic.js',"],"id":83},{"start":{"row":17,"column":2},"end":{"row":17,"column":25},"action":"insert","lines":["OUT : 'memoizerfic.js',"]}],[{"start":{"row":17,"column":25},"end":{"row":18,"column":0},"action":"insert","lines":["",""],"id":84},{"start":{"row":18,"column":0},"end":{"row":18,"column":2},"action":"insert","lines":["\t\t"]}],[{"start":{"row":18,"column":2},"end":{"row":18,"column":25},"action":"insert","lines":["OUT : 'memoizerfic.js',"],"id":85}],[{"start":{"row":18,"column":25},"end":{"row":19,"column":0},"action":"insert","lines":["",""],"id":86},{"start":{"row":19,"column":0},"end":{"row":19,"column":2},"action":"insert","lines":["\t\t"]}],[{"start":{"row":19,"column":2},"end":{"row":19,"column":25},"action":"insert","lines":["OUT : 'memoizerfic.js',"],"id":87}],[{"start":{"row":18,"column":5},"end":{"row":18,"column":6},"action":"insert","lines":["_"],"id":88}],[{"start":{"row":18,"column":6},"end":{"row":18,"column":7},"action":"insert","lines":["M"],"id":89}],[{"start":{"row":18,"column":7},"end":{"row":18,"column":8},"action":"insert","lines":["I"],"id":90}],[{"start":{"row":18,"column":8},"end":{"row":18,"column":9},"action":"insert","lines":["N"],"id":91}],[{"start":{"row":18,"column":24},"end":{"row":18,"column":25},"action":"insert","lines":["."],"id":92}],[{"start":{"row":18,"column":25},"end":{"row":18,"column":26},"action":"insert","lines":["m"],"id":93}],[{"start":{"row":18,"column":26},"end":{"row":18,"column":27},"action":"insert","lines":["i"],"id":94}],[{"start":{"row":18,"column":27},"end":{"row":18,"column":28},"action":"insert","lines":["n"],"id":95}],[{"start":{"row":19,"column":5},"end":{"row":19,"column":6},"action":"insert","lines":["_"],"id":96}],[{"start":{"row":19,"column":6},"end":{"row":19,"column":7},"action":"insert","lines":["g"],"id":97}],[{"start":{"row":19,"column":6},"end":{"row":19,"column":7},"action":"remove","lines":["g"],"id":98}],[{"start":{"row":19,"column":6},"end":{"row":19,"column":7},"action":"insert","lines":["G"],"id":99}],[{"start":{"row":19,"column":7},"end":{"row":19,"column":8},"action":"insert","lines":["Z"],"id":100}],[{"start":{"row":19,"column":8},"end":{"row":19,"column":9},"action":"insert","lines":["I"],"id":101}],[{"start":{"row":19,"column":9},"end":{"row":19,"column":10},"action":"insert","lines":["P"],"id":102}],[{"start":{"row":19,"column":25},"end":{"row":19,"column":29},"action":"insert","lines":[".min"],"id":103}],[{"start":{"row":19,"column":29},"end":{"row":19,"column":30},"action":"insert","lines":["."],"id":104}],[{"start":{"row":19,"column":30},"end":{"row":19,"column":31},"action":"insert","lines":["g"],"id":105}],[{"start":{"row":19,"column":31},"end":{"row":19,"column":32},"action":"insert","lines":["z"],"id":106}],[{"start":{"row":19,"column":32},"end":{"row":19,"column":33},"action":"insert","lines":["i"],"id":107}],[{"start":{"row":19,"column":33},"end":{"row":19,"column":34},"action":"insert","lines":["p"],"id":108}],[{"start":{"row":10,"column":0},"end":{"row":12,"column":0},"action":"remove","lines":["\twatchify = require('watchify'),","\tbabelify = require('babelify'),",""],"id":109}],[{"start":{"row":8,"column":0},"end":{"row":9,"column":0},"action":"remove","lines":["\tsourcemaps = require('gulp-sourcemaps'),",""],"id":110}],[{"start":{"row":36,"column":31},"end":{"row":37,"column":0},"action":"insert","lines":["",""],"id":114},{"start":{"row":37,"column":0},"end":{"row":37,"column":3},"action":"insert","lines":["\t\t\t"]}],[{"start":{"row":37,"column":3},"end":{"row":37,"column":23},"action":"insert","lines":[".pipe(vinylbuffer())"],"id":115}],[{"start":{"row":7,"column":36},"end":{"row":8,"column":0},"action":"insert","lines":["",""],"id":116},{"start":{"row":8,"column":0},"end":{"row":8,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":8,"column":1},"end":{"row":8,"column":32},"action":"insert","lines":["babelify = require('babelify'),"],"id":117}],[{"start":{"row":10,"column":0},"end":{"row":11,"column":0},"action":"remove","lines":["\tstreamify = require('gulp-streamify'),",""],"id":118},{"start":{"row":9,"column":0},"end":{"row":10,"column":0},"action":"insert","lines":["\tstreamify = require('gulp-streamify'),",""]}],[{"start":{"row":14,"column":21},"end":{"row":14,"column":32},"action":"remove","lines":["memoizerfic"],"id":124},{"start":{"row":14,"column":21},"end":{"row":14,"column":33},"action":"insert","lines":["memoizerific"]}],[{"start":{"row":15,"column":9},"end":{"row":15,"column":20},"action":"remove","lines":["memoizerfic"],"id":125},{"start":{"row":15,"column":9},"end":{"row":15,"column":21},"action":"insert","lines":["memoizerific"]}],[{"start":{"row":16,"column":13},"end":{"row":16,"column":24},"action":"remove","lines":["memoizerfic"],"id":126},{"start":{"row":16,"column":13},"end":{"row":16,"column":25},"action":"insert","lines":["memoizerific"]}],[{"start":{"row":17,"column":14},"end":{"row":17,"column":25},"action":"remove","lines":["memoizerfic"],"id":127},{"start":{"row":17,"column":14},"end":{"row":17,"column":26},"action":"insert","lines":["memoizerific"]}],[{"start":{"row":39,"column":3},"end":{"row":39,"column":4},"action":"insert","lines":["/"],"id":133}],[{"start":{"row":39,"column":4},"end":{"row":39,"column":5},"action":"insert","lines":["/"],"id":134}],[{"start":{"row":9,"column":39},"end":{"row":10,"column":0},"action":"insert","lines":["",""],"id":135},{"start":{"row":10,"column":0},"end":{"row":10,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":10,"column":1},"end":{"row":10,"column":18},"action":"insert","lines":["browserify-umdify"],"id":136}],[{"start":{"row":9,"column":39},"end":{"row":10,"column":0},"action":"insert","lines":["",""],"id":137},{"start":{"row":10,"column":0},"end":{"row":10,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":10,"column":1},"end":{"row":10,"column":39},"action":"insert","lines":["streamify = require('gulp-streamify'),"],"id":138}],[{"start":{"row":11,"column":1},"end":{"row":11,"column":18},"action":"remove","lines":["browserify-umdify"],"id":139}],[{"start":{"row":11,"column":0},"end":{"row":12,"column":0},"action":"remove","lines":["\t",""],"id":140}],[{"start":{"row":10,"column":22},"end":{"row":10,"column":36},"action":"remove","lines":["gulp-streamify"],"id":141},{"start":{"row":10,"column":22},"end":{"row":10,"column":39},"action":"insert","lines":["browserify-umdify"]}],[{"start":{"row":10,"column":1},"end":{"row":10,"column":10},"action":"remove","lines":["streamify"],"id":142},{"start":{"row":10,"column":1},"end":{"row":10,"column":2},"action":"insert","lines":["u"]}],[{"start":{"row":10,"column":1},"end":{"row":10,"column":2},"action":"remove","lines":["u"],"id":143},{"start":{"row":10,"column":1},"end":{"row":10,"column":7},"action":"insert","lines":["umdify"]}],[{"start":{"row":39,"column":23},"end":{"row":40,"column":0},"action":"insert","lines":["",""],"id":144},{"start":{"row":40,"column":0},"end":{"row":40,"column":3},"action":"insert","lines":["\t\t\t"]}],[{"start":{"row":40,"column":3},"end":{"row":40,"column":4},"action":"insert","lines":["."],"id":145}],[{"start":{"row":40,"column":4},"end":{"row":40,"column":5},"action":"insert","lines":["p"],"id":146}],[{"start":{"row":40,"column":5},"end":{"row":40,"column":6},"action":"insert","lines":["i"],"id":147}],[{"start":{"row":40,"column":6},"end":{"row":40,"column":7},"action":"insert","lines":["p"],"id":148}],[{"start":{"row":40,"column":7},"end":{"row":40,"column":8},"action":"insert","lines":["e"],"id":149}],[{"start":{"row":40,"column":8},"end":{"row":40,"column":9},"action":"insert","lines":["("],"id":150}],[{"start":{"row":40,"column":9},"end":{"row":40,"column":10},"action":"insert","lines":[")"],"id":151}],[{"start":{"row":40,"column":9},"end":{"row":40,"column":15},"action":"insert","lines":["umdify"],"id":153}],[{"start":{"row":40,"column":0},"end":{"row":41,"column":0},"action":"remove","lines":["\t\t\t.pipe(umdify)",""],"id":154},{"start":{"row":39,"column":0},"end":{"row":40,"column":0},"action":"insert","lines":["\t\t\t.pipe(umdify)",""]}],[{"start":{"row":39,"column":0},"end":{"row":40,"column":0},"action":"remove","lines":["\t\t\t.pipe(umdify)",""],"id":155},{"start":{"row":38,"column":0},"end":{"row":39,"column":0},"action":"insert","lines":["\t\t\t.pipe(umdify)",""]}],[{"start":{"row":10,"column":10},"end":{"row":10,"column":11},"action":"insert","lines":["n"],"id":157}],[{"start":{"row":10,"column":11},"end":{"row":10,"column":12},"action":"insert","lines":["e"],"id":158}],[{"start":{"row":10,"column":12},"end":{"row":10,"column":13},"action":"insert","lines":["w"],"id":159}],[{"start":{"row":10,"column":13},"end":{"row":10,"column":14},"action":"insert","lines":[" "],"id":160}],[{"start":{"row":10,"column":14},"end":{"row":10,"column":15},"action":"insert","lines":["("],"id":161}],[{"start":{"row":10,"column":43},"end":{"row":10,"column":44},"action":"insert","lines":[")"],"id":162}],[{"start":{"row":10,"column":44},"end":{"row":10,"column":45},"action":"insert","lines":["("],"id":163}],[{"start":{"row":10,"column":45},"end":{"row":10,"column":46},"action":"insert","lines":[")"],"id":164}],[{"start":{"row":38,"column":0},"end":{"row":39,"column":0},"action":"remove","lines":["\t\t\t.pipe(umdify)",""],"id":166},{"start":{"row":39,"column":0},"end":{"row":40,"column":0},"action":"insert","lines":["\t\t\t.pipe(umdify)",""]}],[{"start":{"row":39,"column":0},"end":{"row":40,"column":0},"action":"remove","lines":["\t\t\t.pipe(umdify)",""],"id":167},{"start":{"row":40,"column":0},"end":{"row":41,"column":0},"action":"insert","lines":["\t\t\t.pipe(umdify)",""]}],[{"start":{"row":40,"column":0},"end":{"row":41,"column":0},"action":"remove","lines":["\t\t\t.pipe(umdify)",""],"id":168},{"start":{"row":39,"column":0},"end":{"row":40,"column":0},"action":"insert","lines":["\t\t\t.pipe(umdify)",""]}],[{"start":{"row":35,"column":2},"end":{"row":35,"column":49},"action":"remove","lines":[".transform(\"babelify\", { presets: [\"es2015\"] })"],"id":169},{"start":{"row":35,"column":2},"end":{"row":35,"column":49},"action":"insert","lines":[".transform(\"babelify\", { presets: [\"es2015\"] })"]}],[{"start":{"row":35,"column":49},"end":{"row":36,"column":0},"action":"insert","lines":["",""],"id":170},{"start":{"row":36,"column":0},"end":{"row":36,"column":2},"action":"insert","lines":["\t\t"]}],[{"start":{"row":36,"column":2},"end":{"row":36,"column":49},"action":"insert","lines":[".transform(\"babelify\", { presets: [\"es2015\"] })"],"id":171}],[{"start":{"row":40,"column":9},"end":{"row":40,"column":15},"action":"remove","lines":["umdify"],"id":172}],[{"start":{"row":36,"column":13},"end":{"row":36,"column":23},"action":"remove","lines":["\"babelify\""],"id":173},{"start":{"row":36,"column":13},"end":{"row":36,"column":19},"action":"insert","lines":["umdify"]}],[{"start":{"row":36,"column":19},"end":{"row":36,"column":44},"action":"remove","lines":[", { presets: [\"es2015\"] }"],"id":174}],[{"start":{"row":40,"column":0},"end":{"row":41,"column":0},"action":"remove","lines":["\t\t\t.pipe()",""],"id":175}],[{"start":{"row":10,"column":43},"end":{"row":10,"column":46},"action":"remove","lines":[")()"],"id":176}],[{"start":{"row":10,"column":10},"end":{"row":10,"column":15},"action":"remove","lines":["new ("],"id":177}],[{"start":{"row":10,"column":19},"end":{"row":10,"column":30},"action":"remove","lines":["browserify-"],"id":178}],[{"start":{"row":40,"column":23},"end":{"row":41,"column":0},"action":"insert","lines":["",""],"id":179},{"start":{"row":41,"column":0},"end":{"row":41,"column":3},"action":"insert","lines":["\t\t\t"]}],[{"start":{"row":41,"column":3},"end":{"row":41,"column":4},"action":"insert","lines":["."],"id":180}],[{"start":{"row":41,"column":4},"end":{"row":41,"column":5},"action":"insert","lines":["p"],"id":181}],[{"start":{"row":41,"column":5},"end":{"row":41,"column":6},"action":"insert","lines":["i"],"id":182}],[{"start":{"row":41,"column":6},"end":{"row":41,"column":7},"action":"insert","lines":["p"],"id":183}],[{"start":{"row":41,"column":7},"end":{"row":41,"column":8},"action":"insert","lines":["("],"id":184}],[{"start":{"row":41,"column":8},"end":{"row":41,"column":9},"action":"insert","lines":[")"],"id":185}],[{"start":{"row":41,"column":8},"end":{"row":41,"column":14},"action":"insert","lines":["umdify"],"id":186}],[{"start":{"row":41,"column":14},"end":{"row":41,"column":15},"action":"insert","lines":["("],"id":187}],[{"start":{"row":41,"column":15},"end":{"row":41,"column":16},"action":"insert","lines":[")"],"id":188}],[{"start":{"row":36,"column":0},"end":{"row":37,"column":0},"action":"remove","lines":["\t\t.transform(umdify)",""],"id":189}],[{"start":{"row":40,"column":0},"end":{"row":41,"column":0},"action":"remove","lines":["\t\t\t.pip(umdify())",""],"id":190},{"start":{"row":39,"column":0},"end":{"row":40,"column":0},"action":"insert","lines":["\t\t\t.pip(umdify())",""]}],[{"start":{"row":39,"column":0},"end":{"row":40,"column":0},"action":"remove","lines":["\t\t\t.pip(umdify())",""],"id":191},{"start":{"row":38,"column":0},"end":{"row":39,"column":0},"action":"insert","lines":["\t\t\t.pip(umdify())",""]}],[{"start":{"row":33,"column":51},"end":{"row":33,"column":52},"action":"insert","lines":[","],"id":192}],[{"start":{"row":33,"column":52},"end":{"row":33,"column":53},"action":"insert","lines":[" "],"id":193}],[{"start":{"row":33,"column":53},"end":{"row":33,"column":76},"action":"insert","lines":["standalone: 'beep-boop'"],"id":194}],[{"start":{"row":38,"column":0},"end":{"row":39,"column":0},"action":"remove","lines":["\t\t\t.pip(umdify())",""],"id":195}],[{"start":{"row":33,"column":53},"end":{"row":33,"column":76},"action":"remove","lines":["standalone: 'beep-boop'"],"id":196}],[{"start":{"row":33,"column":52},"end":{"row":33,"column":53},"action":"remove","lines":[" "],"id":197}],[{"start":{"row":33,"column":51},"end":{"row":33,"column":52},"action":"remove","lines":[","],"id":198}],[{"start":{"row":36,"column":10},"end":{"row":36,"column":33},"action":"insert","lines":["standalone: 'beep-boop'"],"id":199}],[{"start":{"row":36,"column":33},"end":{"row":36,"column":34},"action":"insert","lines":["}"],"id":200}],[{"start":{"row":36,"column":10},"end":{"row":36,"column":11},"action":"insert","lines":["{"],"id":201}],[{"start":{"row":36,"column":11},"end":{"row":36,"column":34},"action":"remove","lines":["standalone: 'beep-boop'"],"id":202}],[{"start":{"row":31,"column":32},"end":{"row":32,"column":0},"action":"insert","lines":["",""],"id":203},{"start":{"row":32,"column":0},"end":{"row":32,"column":3},"action":"insert","lines":["\t\t\t"]}],[{"start":{"row":32,"column":3},"end":{"row":32,"column":26},"action":"insert","lines":["standalone: 'beep-boop'"],"id":204}],[{"start":{"row":32,"column":26},"end":{"row":32,"column":27},"action":"insert","lines":[","],"id":205}],[{"start":{"row":37,"column":10},"end":{"row":37,"column":12},"action":"remove","lines":["{}"],"id":206}],[{"start":{"row":32,"column":15},"end":{"row":32,"column":26},"action":"remove","lines":["'beep-boop'"],"id":207},{"start":{"row":32,"column":15},"end":{"row":32,"column":16},"action":"insert","lines":["t"]}],[{"start":{"row":32,"column":16},"end":{"row":32,"column":17},"action":"insert","lines":["r"],"id":208}],[{"start":{"row":32,"column":17},"end":{"row":32,"column":18},"action":"insert","lines":["u"],"id":209}],[{"start":{"row":32,"column":18},"end":{"row":32,"column":19},"action":"insert","lines":["e"],"id":210}],[{"start":{"row":32,"column":15},"end":{"row":32,"column":19},"action":"remove","lines":["true"],"id":211},{"start":{"row":32,"column":15},"end":{"row":32,"column":16},"action":"insert","lines":["'"]}],[{"start":{"row":32,"column":16},"end":{"row":32,"column":17},"action":"insert","lines":["k"],"id":212}],[{"start":{"row":32,"column":17},"end":{"row":32,"column":18},"action":"insert","lines":["a"],"id":213}],[{"start":{"row":32,"column":18},"end":{"row":32,"column":19},"action":"insert","lines":["k"],"id":214}],[{"start":{"row":32,"column":19},"end":{"row":32,"column":20},"action":"insert","lines":["a"],"id":215}],[{"start":{"row":32,"column":20},"end":{"row":32,"column":21},"action":"insert","lines":["'"],"id":216}],[{"start":{"row":32,"column":16},"end":{"row":32,"column":20},"action":"remove","lines":["kaka"],"id":217},{"start":{"row":32,"column":16},"end":{"row":32,"column":17},"action":"insert","lines":["m"]}],[{"start":{"row":32,"column":17},"end":{"row":32,"column":18},"action":"insert","lines":["e"],"id":218}],[{"start":{"row":32,"column":18},"end":{"row":32,"column":19},"action":"insert","lines":["m"],"id":219}],[{"start":{"row":32,"column":19},"end":{"row":32,"column":20},"action":"insert","lines":["o"],"id":220}],[{"start":{"row":32,"column":20},"end":{"row":32,"column":21},"action":"insert","lines":["i"],"id":221}],[{"start":{"row":32,"column":21},"end":{"row":32,"column":22},"action":"insert","lines":["z"],"id":222}],[{"start":{"row":32,"column":22},"end":{"row":32,"column":23},"action":"insert","lines":["e"],"id":223}],[{"start":{"row":32,"column":23},"end":{"row":32,"column":24},"action":"insert","lines":["r"],"id":224}],[{"start":{"row":32,"column":24},"end":{"row":32,"column":25},"action":"insert","lines":["f"],"id":225}],[{"start":{"row":32,"column":25},"end":{"row":32,"column":26},"action":"insert","lines":["i"],"id":226}],[{"start":{"row":32,"column":26},"end":{"row":32,"column":27},"action":"insert","lines":["c"],"id":227}],[{"start":{"row":32,"column":27},"end":{"row":32,"column":28},"action":"insert","lines":["i"],"id":228}],[{"start":{"row":32,"column":16},"end":{"row":32,"column":28},"action":"remove","lines":["memoizerfici"],"id":229},{"start":{"row":32,"column":16},"end":{"row":32,"column":28},"action":"insert","lines":["memoizerific"]}],[{"start":{"row":32,"column":3},"end":{"row":32,"column":4},"action":"insert","lines":["/"],"id":233}],[{"start":{"row":32,"column":4},"end":{"row":32,"column":5},"action":"insert","lines":["/"],"id":234}],[{"start":{"row":32,"column":4},"end":{"row":32,"column":5},"action":"remove","lines":["/"],"id":241}],[{"start":{"row":32,"column":3},"end":{"row":32,"column":4},"action":"remove","lines":["/"],"id":242}],[{"start":{"row":29,"column":0},"end":{"row":43,"column":3},"action":"remove","lines":["gulp.task('processJS', function() {","\treturn browserify({","\t\t\tentries : [path.ENTRY_POINT],","\t\t\tstandalone: 'memoizerific',","\t\t\tdebug : false,","\t\t\tcache : {}, packageCache : {}, fullPaths : false","\t\t})","\t\t.transform(\"babelify\", { presets: [\"es2015\"] })","\t\t.bundle()","\t\t .on(\"error\", handleError)","\t\t\t.pipe(vinylsource(path.OUT))","\t\t\t.pipe(vinylbuffer())","\t\t\t//.pipe(streamify(uglify()))","\t\t\t.pipe(gulp.dest(path.DEST));","});"],"id":243},{"start":{"row":29,"column":0},"end":{"row":43,"column":3},"action":"insert","lines":["gulp.task('processJS', function() {","\treturn browserify({","\t\t\tentries : [path.ENTRY_POINT],","\t\t\tstandalone: 'memoizerific',","\t\t\tdebug : false,","\t\t\tcache : {}, packageCache : {}, fullPaths : false","\t\t})","\t\t.transform(\"babelify\", { presets: [\"es2015\"] })","\t\t.bundle()","\t\t .on(\"error\", handleError)","\t\t\t.pipe(vinylsource(path.OUT))","\t\t\t.pipe(vinylbuffer())","\t\t\t//.pipe(streamify(uglify()))","\t\t\t.pipe(gulp.dest(path.DEST));","});"]}],[{"start":{"row":41,"column":4},"end":{"row":41,"column":5},"action":"remove","lines":["/"],"id":252}],[{"start":{"row":41,"column":3},"end":{"row":41,"column":4},"action":"remove","lines":["/"],"id":253}],[{"start":{"row":41,"column":3},"end":{"row":41,"column":4},"action":"insert","lines":["/"],"id":254}],[{"start":{"row":41,"column":4},"end":{"row":41,"column":5},"action":"insert","lines":["/"],"id":255}],[{"start":{"row":32,"column":28},"end":{"row":32,"column":29},"action":"insert","lines":["2"],"id":256}],[{"start":{"row":32,"column":28},"end":{"row":32,"column":29},"action":"remove","lines":["2"],"id":257}],[{"start":{"row":40,"column":23},"end":{"row":41,"column":0},"action":"insert","lines":["",""],"id":258},{"start":{"row":41,"column":0},"end":{"row":41,"column":3},"action":"insert","lines":["\t\t\t"]}],[{"start":{"row":41,"column":3},"end":{"row":41,"column":21},"action":"insert","lines":[".pipe(derequire())"],"id":259}],[{"start":{"row":10,"column":28},"end":{"row":11,"column":0},"action":"insert","lines":["",""],"id":260},{"start":{"row":11,"column":0},"end":{"row":11,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":11,"column":1},"end":{"row":11,"column":43},"action":"insert","lines":["var derequire = require('gulp-derequire');"],"id":261}],[{"start":{"row":11,"column":1},"end":{"row":11,"column":2},"action":"remove","lines":["v"],"id":262}],[{"start":{"row":11,"column":1},"end":{"row":11,"column":2},"action":"remove","lines":["a"],"id":263}],[{"start":{"row":11,"column":1},"end":{"row":11,"column":2},"action":"remove","lines":["r"],"id":264}],[{"start":{"row":11,"column":1},"end":{"row":11,"column":2},"action":"remove","lines":[" "],"id":265}],[{"start":{"row":11,"column":38},"end":{"row":11,"column":39},"action":"remove","lines":[";"],"id":266}],[{"start":{"row":11,"column":38},"end":{"row":11,"column":39},"action":"insert","lines":[","],"id":267}],[{"start":{"row":10,"column":0},"end":{"row":11,"column":0},"action":"remove","lines":["\tumdify = require('umdify'),",""],"id":268}],[{"start":{"row":41,"column":21},"end":{"row":42,"column":0},"action":"insert","lines":["",""],"id":269},{"start":{"row":42,"column":0},"end":{"row":42,"column":3},"action":"insert","lines":["\t\t\t"]}],[{"start":{"row":42,"column":3},"end":{"row":42,"column":30},"action":"insert","lines":[".pipe(gulp.dest(path.DEST))"],"id":270}],[{"start":{"row":43,"column":3},"end":{"row":43,"column":4},"action":"remove","lines":["/"],"id":271}],[{"start":{"row":43,"column":3},"end":{"row":43,"column":4},"action":"remove","lines":["/"],"id":272}],[{"start":{"row":44,"column":28},"end":{"row":44,"column":29},"action":"insert","lines":[" "],"id":273}],[{"start":{"row":44,"column":29},"end":{"row":44,"column":30},"action":"insert","lines":["+"],"id":274}],[{"start":{"row":44,"column":30},"end":{"row":44,"column":31},"action":"insert","lines":[" "],"id":275}],[{"start":{"row":44,"column":31},"end":{"row":44,"column":32},"action":"insert","lines":["'"],"id":276}],[{"start":{"row":44,"column":32},"end":{"row":44,"column":33},"action":"insert","lines":["."],"id":277}],[{"start":{"row":44,"column":33},"end":{"row":44,"column":34},"action":"insert","lines":["m"],"id":278}],[{"start":{"row":44,"column":34},"end":{"row":44,"column":35},"action":"insert","lines":["i"],"id":279}],[{"start":{"row":44,"column":35},"end":{"row":44,"column":36},"action":"insert","lines":["n"],"id":280}],[{"start":{"row":44,"column":36},"end":{"row":44,"column":37},"action":"insert","lines":["'"],"id":281}],[{"start":{"row":42,"column":30},"end":{"row":43,"column":0},"action":"insert","lines":["",""],"id":282},{"start":{"row":43,"column":0},"end":{"row":43,"column":3},"action":"insert","lines":["\t\t\t"]}],[{"start":{"row":43,"column":3},"end":{"row":43,"column":31},"action":"insert","lines":[".pipe(vinylsource(path.OUT))"],"id":283}],[{"start":{"row":43,"column":29},"end":{"row":43,"column":30},"action":"insert","lines":["_"],"id":284}],[{"start":{"row":43,"column":30},"end":{"row":43,"column":31},"action":"insert","lines":["M"],"id":285}],[{"start":{"row":43,"column":26},"end":{"row":43,"column":31},"action":"remove","lines":["OUT_M"],"id":286},{"start":{"row":43,"column":26},"end":{"row":43,"column":33},"action":"insert","lines":["OUT_MIN"]}],[{"start":{"row":43,"column":35},"end":{"row":44,"column":0},"action":"insert","lines":["",""],"id":287},{"start":{"row":44,"column":0},"end":{"row":44,"column":3},"action":"insert","lines":["\t\t\t"]}],[{"start":{"row":44,"column":3},"end":{"row":44,"column":26},"action":"insert","lines":["\t\t\t.pipe(vinylbuffer())"],"id":288}],[{"start":{"row":44,"column":5},"end":{"row":44,"column":6},"action":"remove","lines":["\t"],"id":289}],[{"start":{"row":44,"column":4},"end":{"row":44,"column":5},"action":"remove","lines":["\t"],"id":290}],[{"start":{"row":44,"column":3},"end":{"row":44,"column":4},"action":"remove","lines":["\t"],"id":291}],[{"start":{"row":29,"column":0},"end":{"row":47,"column":3},"action":"remove","lines":["gulp.task('processJS', function() {","\treturn browserify({","\t\t\tentries : [path.ENTRY_POINT],","\t\t\tstandalone: 'memoizerific',","\t\t\tdebug : false,","\t\t\tcache : {}, packageCache : {}, fullPaths : false","\t\t})","\t\t.transform(\"babelify\", { presets: [\"es2015\"] })","\t\t.bundle()","\t\t .on(\"error\", handleError)","\t\t\t.pipe(vinylsource(path.OUT))","\t\t\t.pipe(vinylbuffer())","\t\t\t.pipe(derequire())","\t\t\t.pipe(gulp.dest(path.DEST))","\t\t\t.pipe(vinylsource(path.OUT_MIN))","\t\t\t.pipe(vinylbuffer())","\t\t\t.pipe(streamify(uglify()))","\t\t\t.pipe(gulp.dest(path.DEST + '.min'));","});"],"id":292},{"start":{"row":29,"column":0},"end":{"row":47,"column":3},"action":"insert","lines":["gulp.task('processJS', function() {","\treturn browserify({","\t\t\tentries : [path.ENTRY_POINT],","\t\t\tstandalone: 'memoizerific',","\t\t\tdebug : false,","\t\t\tcache : {}, packageCache : {}, fullPaths : false","\t\t})","\t\t.transform(\"babelify\", { presets: [\"es2015\"] })","\t\t.bundle()","\t\t .on(\"error\", handleError)","\t\t\t.pipe(vinylsource(path.OUT))","\t\t\t.pipe(vinylbuffer())","\t\t\t.pipe(derequire())","\t\t\t.pipe(gulp.dest(path.DEST))","\t\t\t.pipe(vinylsource(path.OUT_MIN))","\t\t\t.pipe(vinylbuffer())","\t\t\t.pipe(streamify(uglify()))","\t\t\t.pipe(gulp.dest(path.DEST + '.min'));","});"]}],[{"start":{"row":47,"column":3},"end":{"row":48,"column":0},"action":"insert","lines":["",""],"id":293}],[{"start":{"row":48,"column":0},"end":{"row":49,"column":0},"action":"insert","lines":["",""],"id":294}],[{"start":{"row":49,"column":0},"end":{"row":67,"column":3},"action":"insert","lines":["gulp.task('processJS', function() {","\treturn browserify({","\t\t\tentries : [path.ENTRY_POINT],","\t\t\tstandalone: 'memoizerific',","\t\t\tdebug : false,","\t\t\tcache : {}, packageCache : {}, fullPaths : false","\t\t})","\t\t.transform(\"babelify\", { presets: [\"es2015\"] })","\t\t.bundle()","\t\t .on(\"error\", handleError)","\t\t\t.pipe(vinylsource(path.OUT))","\t\t\t.pipe(vinylbuffer())","\t\t\t.pipe(derequire())","\t\t\t.pipe(gulp.dest(path.DEST))","\t\t\t.pipe(vinylsource(path.OUT_MIN))","\t\t\t.pipe(vinylbuffer())","\t\t\t.pipe(streamify(uglify()))","\t\t\t.pipe(gulp.dest(path.DEST + '.min'));","});"],"id":295}],[{"start":{"row":29,"column":11},"end":{"row":29,"column":20},"action":"remove","lines":["processJS"],"id":296},{"start":{"row":29,"column":11},"end":{"row":29,"column":12},"action":"insert","lines":["b"]}],[{"start":{"row":29,"column":12},"end":{"row":29,"column":13},"action":"insert","lines":["r"],"id":297}],[{"start":{"row":29,"column":13},"end":{"row":29,"column":14},"action":"insert","lines":["o"],"id":298}],[{"start":{"row":29,"column":14},"end":{"row":29,"column":15},"action":"insert","lines":["w"],"id":299}],[{"start":{"row":29,"column":15},"end":{"row":29,"column":16},"action":"insert","lines":["s"],"id":300}],[{"start":{"row":29,"column":16},"end":{"row":29,"column":17},"action":"insert","lines":["e"],"id":301}],[{"start":{"row":29,"column":17},"end":{"row":29,"column":18},"action":"insert","lines":["r"],"id":302}],[{"start":{"row":29,"column":18},"end":{"row":29,"column":19},"action":"insert","lines":["i"],"id":303}],[{"start":{"row":29,"column":19},"end":{"row":29,"column":20},"action":"insert","lines":["f"],"id":304}],[{"start":{"row":29,"column":20},"end":{"row":29,"column":21},"action":"insert","lines":["y"],"id":305}],[{"start":{"row":25,"column":21},"end":{"row":25,"column":30},"action":"remove","lines":["processJS"],"id":306},{"start":{"row":25,"column":21},"end":{"row":25,"column":31},"action":"insert","lines":["browserify"]}],[{"start":{"row":50,"column":0},"end":{"row":66,"column":40},"action":"remove","lines":["\treturn browserify({","\t\t\tentries : [path.ENTRY_POINT],","\t\t\tstandalone: 'memoizerific',","\t\t\tdebug : false,","\t\t\tcache : {}, packageCache : {}, fullPaths : false","\t\t})","\t\t.transform(\"babelify\", { presets: [\"es2015\"] })","\t\t.bundle()","\t\t .on(\"error\", handleError)","\t\t\t.pipe(vinylsource(path.OUT))","\t\t\t.pipe(vinylbuffer())","\t\t\t.pipe(derequire())","\t\t\t.pipe(gulp.dest(path.DEST))","\t\t\t.pipe(vinylsource(path.OUT_MIN))","\t\t\t.pipe(vinylbuffer())","\t\t\t.pipe(streamify(uglify()))","\t\t\t.pipe(gulp.dest(path.DEST + '.min'));"],"id":307}],[{"start":{"row":29,"column":0},"end":{"row":51,"column":3},"action":"remove","lines":["gulp.task('browserify', function() {","\treturn browserify({","\t\t\tentries : [path.ENTRY_POINT],","\t\t\tstandalone: 'memoizerific',","\t\t\tdebug : false,","\t\t\tcache : {}, packageCache : {}, fullPaths : false","\t\t})","\t\t.transform(\"babelify\", { presets: [\"es2015\"] })","\t\t.bundle()","\t\t .on(\"error\", handleError)","\t\t\t.pipe(vinylsource(path.OUT))","\t\t\t.pipe(vinylbuffer())","\t\t\t.pipe(derequire())","\t\t\t.pipe(gulp.dest(path.DEST))","\t\t\t.pipe(vinylsource(path.OUT_MIN))","\t\t\t.pipe(vinylbuffer())","\t\t\t.pipe(streamify(uglify()))","\t\t\t.pipe(gulp.dest(path.DEST + '.min'));","});","","gulp.task('processJS', function() {","","});"],"id":308}],[{"start":{"row":28,"column":0},"end":{"row":29,"column":0},"action":"remove","lines":["",""],"id":309}],[{"start":{"row":27,"column":0},"end":{"row":28,"column":0},"action":"remove","lines":["",""],"id":310}],[{"start":{"row":26,"column":3},"end":{"row":27,"column":0},"action":"remove","lines":["",""],"id":311}],[{"start":{"row":25,"column":0},"end":{"row":25,"column":70},"action":"remove","lines":["\treturn runSequence('browserify', function() { gutil.log('done!'); });"],"id":312},{"start":{"row":25,"column":0},"end":{"row":41,"column":40},"action":"insert","lines":["\treturn browserify({","\t\t\tentries : [path.ENTRY_POINT],","\t\t\tstandalone: 'memoizerific',","\t\t\tdebug : false,","\t\t\tcache : {}, packageCache : {}, fullPaths : false","\t\t})","\t\t.transform(\"babelify\", { presets: [\"es2015\"] })","\t\t.bundle()","\t\t .on(\"error\", handleError)","\t\t\t.pipe(vinylsource(path.OUT))","\t\t\t.pipe(vinylbuffer())","\t\t\t.pipe(derequire())","\t\t\t.pipe(gulp.dest(path.DEST))","\t\t\t.pipe(vinylsource(path.OUT_MIN))","\t\t\t.pipe(vinylbuffer())","\t\t\t.pipe(streamify(uglify()))","\t\t\t.pipe(gulp.dest(path.DEST + '.min'));"]}],[{"start":{"row":9,"column":0},"end":{"row":10,"column":0},"action":"remove","lines":["\tstreamify = require('gulp-streamify'),",""],"id":313},{"start":{"row":10,"column":0},"end":{"row":11,"column":0},"action":"insert","lines":["\tstreamify = require('gulp-streamify'),",""]}],[{"start":{"row":9,"column":39},"end":{"row":10,"column":0},"action":"insert","lines":["",""],"id":314},{"start":{"row":10,"column":0},"end":{"row":10,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":10,"column":1},"end":{"row":10,"column":2},"action":"insert","lines":["r"],"id":315}],[{"start":{"row":10,"column":2},"end":{"row":10,"column":3},"action":"insert","lines":["e"],"id":316}],[{"start":{"row":10,"column":3},"end":{"row":10,"column":4},"action":"insert","lines":["n"],"id":317}],[{"start":{"row":10,"column":4},"end":{"row":10,"column":5},"action":"insert","lines":["a"],"id":318}],[{"start":{"row":10,"column":5},"end":{"row":10,"column":6},"action":"insert","lines":["m"],"id":319}],[{"start":{"row":10,"column":6},"end":{"row":10,"column":7},"action":"insert","lines":["e"],"id":320}],[{"start":{"row":10,"column":7},"end":{"row":10,"column":8},"action":"insert","lines":[" "],"id":321}],[{"start":{"row":10,"column":8},"end":{"row":10,"column":9},"action":"insert","lines":["="],"id":322}],[{"start":{"row":10,"column":9},"end":{"row":10,"column":10},"action":"insert","lines":[" "],"id":323}],[{"start":{"row":10,"column":10},"end":{"row":10,"column":11},"action":"insert","lines":["r"],"id":324}],[{"start":{"row":10,"column":11},"end":{"row":10,"column":12},"action":"insert","lines":["e"],"id":325}],[{"start":{"row":10,"column":12},"end":{"row":10,"column":13},"action":"insert","lines":["q"],"id":326}],[{"start":{"row":10,"column":13},"end":{"row":10,"column":14},"action":"insert","lines":["u"],"id":327}],[{"start":{"row":10,"column":14},"end":{"row":10,"column":15},"action":"insert","lines":["i"],"id":328}],[{"start":{"row":10,"column":15},"end":{"row":10,"column":16},"action":"insert","lines":["r"],"id":329}],[{"start":{"row":10,"column":16},"end":{"row":10,"column":17},"action":"insert","lines":["e"],"id":330}],[{"start":{"row":10,"column":17},"end":{"row":10,"column":18},"action":"insert","lines":["("],"id":331}],[{"start":{"row":10,"column":18},"end":{"row":10,"column":19},"action":"insert","lines":["'"],"id":332}],[{"start":{"row":10,"column":19},"end":{"row":10,"column":20},"action":"insert","lines":["g"],"id":333}],[{"start":{"row":10,"column":20},"end":{"row":10,"column":21},"action":"insert","lines":["u"],"id":334}],[{"start":{"row":10,"column":21},"end":{"row":10,"column":22},"action":"insert","lines":["l"],"id":335}],[{"start":{"row":10,"column":22},"end":{"row":10,"column":23},"action":"insert","lines":["p"],"id":336}],[{"start":{"row":10,"column":23},"end":{"row":10,"column":24},"action":"insert","lines":["-"],"id":337}],[{"start":{"row":10,"column":24},"end":{"row":10,"column":25},"action":"insert","lines":["r"],"id":338}],[{"start":{"row":10,"column":25},"end":{"row":10,"column":26},"action":"insert","lines":["e"],"id":339}],[{"start":{"row":10,"column":26},"end":{"row":10,"column":27},"action":"insert","lines":["n"],"id":340}],[{"start":{"row":10,"column":27},"end":{"row":10,"column":28},"action":"insert","lines":["a"],"id":341}],[{"start":{"row":10,"column":28},"end":{"row":10,"column":29},"action":"insert","lines":["m"],"id":342}],[{"start":{"row":10,"column":29},"end":{"row":10,"column":30},"action":"insert","lines":["e"],"id":343}],[{"start":{"row":10,"column":30},"end":{"row":10,"column":31},"action":"insert","lines":["'"],"id":344}],[{"start":{"row":10,"column":31},"end":{"row":10,"column":32},"action":"insert","lines":[")"],"id":345}],[{"start":{"row":10,"column":32},"end":{"row":10,"column":33},"action":"insert","lines":[","],"id":346}],[{"start":{"row":39,"column":9},"end":{"row":39,"column":20},"action":"remove","lines":["vinylsource"],"id":347},{"start":{"row":39,"column":9},"end":{"row":39,"column":15},"action":"insert","lines":["rename"]}],[{"start":{"row":40,"column":0},"end":{"row":41,"column":0},"action":"remove","lines":["\t\t\t.pipe(vinylbuffer())",""],"id":348}],[{"start":{"row":41,"column":28},"end":{"row":41,"column":37},"action":"remove","lines":[" + '.min'"],"id":349}],[{"start":{"row":12,"column":33},"end":{"row":13,"column":0},"action":"insert","lines":["",""],"id":350},{"start":{"row":13,"column":0},"end":{"row":13,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":13,"column":1},"end":{"row":13,"column":29},"action":"insert","lines":["gzip = require('gulp-gzip'),"],"id":351}],[{"start":{"row":42,"column":31},"end":{"row":43,"column":0},"action":"insert","lines":["",""],"id":359},{"start":{"row":43,"column":0},"end":{"row":43,"column":3},"action":"insert","lines":["\t\t\t"]}],[{"start":{"row":43,"column":3},"end":{"row":43,"column":31},"action":"insert","lines":[".pipe(gulp.dest(path.DEST)),"],"id":360}],[{"start":{"row":42,"column":30},"end":{"row":42,"column":31},"action":"remove","lines":[";"],"id":361}],[{"start":{"row":42,"column":30},"end":{"row":43,"column":0},"action":"insert","lines":["",""],"id":362},{"start":{"row":43,"column":0},"end":{"row":43,"column":3},"action":"insert","lines":["\t\t\t"]}],[{"start":{"row":43,"column":3},"end":{"row":43,"column":59},"action":"insert","lines":[".pipe(gzip({ append: false, gzipOptions: { level: 9 }}))"],"id":363}],[{"start":{"row":44,"column":30},"end":{"row":44,"column":31},"action":"remove","lines":[","],"id":364}],[{"start":{"row":44,"column":30},"end":{"row":44,"column":31},"action":"insert","lines":[";"],"id":365}],[{"start":{"row":42,"column":30},"end":{"row":43,"column":0},"action":"insert","lines":["",""],"id":366},{"start":{"row":43,"column":0},"end":{"row":43,"column":3},"action":"insert","lines":["\t\t\t"]}],[{"start":{"row":43,"column":3},"end":{"row":43,"column":30},"action":"insert","lines":[".pipe(rename(path.OUT_MIN))"],"id":367}],[{"start":{"row":43,"column":21},"end":{"row":43,"column":28},"action":"remove","lines":["OUT_MIN"],"id":368},{"start":{"row":43,"column":21},"end":{"row":43,"column":29},"action":"insert","lines":["OUT_GZIP"]}],[{"start":{"row":33,"column":0},"end":{"row":34,"column":0},"action":"remove","lines":["\t\t.transform(\"babelify\", { presets: [\"es2015\"] })",""],"id":369}],[{"start":{"row":5,"column":0},"end":{"row":6,"column":0},"action":"remove","lines":["\trunSequence = require('run-sequence'),",""],"id":370}],[{"start":{"row":7,"column":0},"end":{"row":8,"column":0},"action":"remove","lines":["\tbabelify = require('babelify'),",""],"id":371}]]},"ace":{"folds":[],"scrolltop":218,"scrollleft":0,"selection":{"start":{"row":9,"column":39},"end":{"row":9,"column":39},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":14,"state":"start","mode":"ace/mode/javascript"}},"timestamp":1454399849538,"hash":"0ca7d9954934cad2db8c4620700186d1b208629f"}

@@ -1,1 +0,1 @@

{"filter":false,"title":"memoizerific.js","tooltip":"/memoizerific.js","undoManager":{"mark":2,"position":2,"stack":[[{"start":{"row":0,"column":0},"end":{"row":0,"column":1},"action":"remove","lines":["("],"id":2,"ignore":true},{"start":{"row":0,"column":0},"end":{"row":0,"column":1},"action":"insert","lines":["!"]},{"start":{"row":0,"column":10},"end":{"row":0,"column":11},"action":"remove","lines":["f"]},{"start":{"row":0,"column":10},"end":{"row":0,"column":11},"action":"insert","lines":["t"]},{"start":{"row":0,"column":16},"end":{"row":0,"column":26},"action":"insert","lines":["\"object\"=="]},{"start":{"row":0,"column":40},"end":{"row":0,"column":82},"action":"remove","lines":["===\"object\"&&typeof module!==\"undefined\"){"]},{"start":{"row":0,"column":40},"end":{"row":0,"column":69},"action":"insert","lines":["&&\"undefined\"!=typeof module)"]},{"start":{"row":0,"column":84},"end":{"row":0,"column":85},"action":"remove","lines":["f"]},{"start":{"row":0,"column":84},"end":{"row":0,"column":85},"action":"insert","lines":["t"]},{"start":{"row":0,"column":87},"end":{"row":0,"column":88},"action":"remove","lines":["}"]},{"start":{"row":0,"column":87},"end":{"row":0,"column":88},"action":"insert","lines":[";"]},{"start":{"row":0,"column":96},"end":{"row":0,"column":108},"action":"insert","lines":["\"function\"=="]},{"start":{"row":0,"column":121},"end":{"row":0,"column":134},"action":"remove","lines":["===\"function\""]},{"start":{"row":0,"column":134},"end":{"row":0,"column":135},"action":"remove","lines":["{"]},{"start":{"row":0,"column":144},"end":{"row":0,"column":147},"action":"remove","lines":["f)}"]},{"start":{"row":0,"column":144},"end":{"row":0,"column":147},"action":"insert","lines":["t);"]},{"start":{"row":0,"column":156},"end":{"row":0,"column":161},"action":"remove","lines":["g;if("]},{"start":{"row":0,"column":156},"end":{"row":0,"column":173},"action":"insert","lines":["e;e=\"undefined\"!="]},{"start":{"row":0,"column":186},"end":{"row":0,"column":189},"action":"remove","lines":["!=="]},{"start":{"row":0,"column":186},"end":{"row":0,"column":194},"action":"insert","lines":["?window:"]},{"start":{"row":0,"column":205},"end":{"row":0,"column":224},"action":"remove","lines":["){g=window}else if("]},{"start":{"row":0,"column":205},"end":{"row":0,"column":207},"action":"insert","lines":["!="]},{"start":{"row":0,"column":220},"end":{"row":0,"column":223},"action":"remove","lines":["!=="]},{"start":{"row":0,"column":220},"end":{"row":0,"column":228},"action":"insert","lines":["?global:"]},{"start":{"row":0,"column":239},"end":{"row":0,"column":299},"action":"remove","lines":["){g=global}else if(typeof self!==\"undefined\"){g=self}else{g="]},{"start":{"row":0,"column":239},"end":{"row":0,"column":258},"action":"insert","lines":["!=typeof self?self:"]},{"start":{"row":0,"column":262},"end":{"row":0,"column":264},"action":"remove","lines":["}g"]},{"start":{"row":0,"column":262},"end":{"row":0,"column":264},"action":"insert","lines":[",e"]},{"start":{"row":0,"column":277},"end":{"row":0,"column":281},"action":"remove","lines":[" = f"]},{"start":{"row":0,"column":277},"end":{"row":0,"column":279},"action":"insert","lines":["=t"]},{"start":{"row":0,"column":283},"end":{"row":0,"column":284},"action":"remove","lines":[")"]},{"start":{"row":0,"column":295},"end":{"row":0,"column":321},"action":"remove","lines":["var define,module,exports;"]},{"start":{"row":0,"column":302},"end":{"row":0,"column":303},"action":"remove","lines":["("]},{"start":{"row":0,"column":311},"end":{"row":0,"column":318},"action":"remove","lines":["e(t,n,r"]},{"start":{"row":0,"column":311},"end":{"row":0,"column":318},"action":"insert","lines":["t(e,r,n"]},{"start":{"row":0,"column":329},"end":{"row":0,"column":330},"action":"remove","lines":["s"]},{"start":{"row":0,"column":329},"end":{"row":0,"column":330},"action":"insert","lines":["i"]},{"start":{"row":0,"column":340},"end":{"row":0,"column":341},"action":"remove","lines":["n"]},{"start":{"row":0,"column":340},"end":{"row":0,"column":341},"action":"insert","lines":["r"]},{"start":{"row":0,"column":350},"end":{"row":0,"column":351},"action":"remove","lines":["t"]},{"start":{"row":0,"column":350},"end":{"row":0,"column":351},"action":"insert","lines":["e"]},{"start":{"row":0,"column":362},"end":{"row":0,"column":374},"action":"insert","lines":["\"function\"=="]},{"start":{"row":0,"column":388},"end":{"row":0,"column":400},"action":"remove","lines":["==\"function\""]},{"start":{"row":0,"column":425},"end":{"row":0,"column":426},"action":"remove","lines":["i"]},{"start":{"row":0,"column":425},"end":{"row":0,"column":426},"action":"insert","lines":["s"]},{"start":{"row":0,"column":434},"end":{"row":0,"column":435},"action":"remove","lines":["i"]},{"start":{"row":0,"column":434},"end":{"row":0,"column":435},"action":"insert","lines":["s"]},{"start":{"row":0,"column":528},"end":{"row":0,"column":529},"action":"remove","lines":["n"]},{"start":{"row":0,"column":528},"end":{"row":0,"column":529},"action":"insert","lines":["r"]},{"start":{"row":0,"column":546},"end":{"row":0,"column":547},"action":"remove","lines":["t"]},{"start":{"row":0,"column":546},"end":{"row":0,"column":547},"action":"insert","lines":["e"]},{"start":{"row":0,"column":578},"end":{"row":0,"column":579},"action":"remove","lines":["e"]},{"start":{"row":0,"column":578},"end":{"row":0,"column":579},"action":"insert","lines":["t"]},{"start":{"row":0,"column":585},"end":{"row":0,"column":588},"action":"remove","lines":["n=t"]},{"start":{"row":0,"column":585},"end":{"row":0,"column":588},"action":"insert","lines":["r=e"]},{"start":{"row":0,"column":595},"end":{"row":0,"column":596},"action":"remove","lines":["e"]},{"start":{"row":0,"column":595},"end":{"row":0,"column":596},"action":"insert","lines":["t"]},{"start":{"row":0,"column":605},"end":{"row":0,"column":612},"action":"remove","lines":["s(n?n:e"]},{"start":{"row":0,"column":605},"end":{"row":0,"column":612},"action":"insert","lines":["i(r?r:t"]},{"start":{"row":0,"column":627},"end":{"row":0,"column":629},"action":"remove","lines":["e,"]},{"start":{"row":0,"column":629},"end":{"row":0,"column":630},"action":"remove","lines":["n"]},{"start":{"row":0,"column":629},"end":{"row":0,"column":630},"action":"insert","lines":["e"]},{"start":{"row":0,"column":632},"end":{"row":0,"column":634},"action":"insert","lines":[",n"]},{"start":{"row":0,"column":643},"end":{"row":0,"column":644},"action":"remove","lines":["n"]},{"start":{"row":0,"column":643},"end":{"row":0,"column":644},"action":"insert","lines":["r"]},{"start":{"row":0,"column":656},"end":{"row":0,"column":706},"action":"remove","lines":["var i=typeof require==\"function\"&&require;for(var "]},{"start":{"row":0,"column":656},"end":{"row":0,"column":702},"action":"insert","lines":["for(var s=\"function\"==typeof require&&require,"]},{"start":{"row":0,"column":708},"end":{"row":0,"column":709},"action":"remove","lines":["r"]},{"start":{"row":0,"column":708},"end":{"row":0,"column":709},"action":"insert","lines":["n"]},{"start":{"row":0,"column":721},"end":{"row":0,"column":724},"action":"remove","lines":["s(r"]},{"start":{"row":0,"column":721},"end":{"row":0,"column":724},"action":"insert","lines":["i(n"]},{"start":{"row":0,"column":736},"end":{"row":0,"column":739},"action":"remove","lines":["s})"]},{"start":{"row":0,"column":736},"end":{"row":0,"column":738},"action":"insert","lines":["i}"]},{"start":{"row":0,"column":752},"end":{"row":11,"column":4},"action":"remove","lines":["require,module,exports){","'use strict';","","if (typeof Map === 'function') {"," module.exports = Map;","} else {"," module.exports = Similar;","}","","function Similar() {"," this.list = [];"," "]},{"start":{"row":0,"column":752},"end":{"row":0,"column":805},"action":"insert","lines":["t,e,r){\"use strict\";function n(){return this.list=[],"]},{"start":{"row":0,"column":817},"end":{"row":0,"column":820},"action":"remove","lines":[" = "]},{"start":{"row":0,"column":817},"end":{"row":0,"column":818},"action":"insert","lines":["="]},{"start":{"row":0,"column":822},"end":{"row":1,"column":4},"action":"remove","lines":[";"," "]},{"start":{"row":0,"column":822},"end":{"row":0,"column":823},"action":"insert","lines":[","]},{"start":{"row":0,"column":832},"end":{"row":5,"column":7},"action":"remove","lines":[" = 0;",""," return this;","}","","Similar"]},{"start":{"row":0,"column":832},"end":{"row":0,"column":898},"action":"insert","lines":["=0,this}e.exports=function(){return\"function\"==typeof Map?Map:n},n"]},{"start":{"row":0,"column":912},"end":{"row":0,"column":915},"action":"remove","lines":[" = "]},{"start":{"row":0,"column":912},"end":{"row":0,"column":913},"action":"insert","lines":["="]},{"start":{"row":0,"column":921},"end":{"row":4,"column":4},"action":"remove","lines":[" (key) {"," var len = this.list.length,"," i;",""," "]},{"start":{"row":0,"column":921},"end":{"row":0,"column":950},"action":"insert","lines":["(t){var e,r=this.list.length;"]},{"start":{"row":0,"column":952},"end":{"row":0,"column":953},"action":"remove","lines":[" "]},{"start":{"row":0,"column":965},"end":{"row":0,"column":966},"action":"remove","lines":[" "]},{"start":{"row":0,"column":967},"end":{"row":0,"column":968},"action":"remove","lines":[" "]},{"start":{"row":0,"column":983},"end":{"row":0,"column":984},"action":"remove","lines":[" "]},{"start":{"row":0,"column":986},"end":{"row":1,"column":8},"action":"remove","lines":[" key) {"," "]},{"start":{"row":0,"column":986},"end":{"row":0,"column":988},"action":"insert","lines":["t)"]},{"start":{"row":0,"column":1012},"end":{"row":4,"column":8},"action":"remove","lines":[""," }",""," for (i = 0; i < len; i++) {"," "]},{"start":{"row":0,"column":1012},"end":{"row":0,"column":1028},"action":"insert","lines":["for(e=0;r>e;e++)"]},{"start":{"row":0,"column":1030},"end":{"row":0,"column":1031},"action":"remove","lines":[" "]},{"start":{"row":0,"column":1041},"end":{"row":0,"column":1042},"action":"remove","lines":["i"]},{"start":{"row":0,"column":1041},"end":{"row":0,"column":1042},"action":"insert","lines":["e"]},{"start":{"row":0,"column":1047},"end":{"row":0,"column":1048},"action":"remove","lines":[" "]},{"start":{"row":0,"column":1050},"end":{"row":1,"column":11},"action":"remove","lines":[" key) {"," "]},{"start":{"row":0,"column":1050},"end":{"row":0,"column":1058},"action":"insert","lines":["t)return"]},{"start":{"row":0,"column":1071},"end":{"row":0,"column":1074},"action":"remove","lines":[" = "]},{"start":{"row":0,"column":1071},"end":{"row":0,"column":1072},"action":"insert","lines":["="]},{"start":{"row":0,"column":1082},"end":{"row":1,"column":19},"action":"remove","lines":["i];"," return "]},{"start":{"row":0,"column":1082},"end":{"row":0,"column":1085},"action":"insert","lines":["e],"]},{"start":{"row":0,"column":1095},"end":{"row":0,"column":1096},"action":"remove","lines":["i"]},{"start":{"row":0,"column":1095},"end":{"row":0,"column":1096},"action":"insert","lines":["e"]},{"start":{"row":0,"column":1098},"end":{"row":7,"column":7},"action":"remove","lines":[""," }"," }",""," return null;","};","","Similar"]},{"start":{"row":0,"column":1098},"end":{"row":0,"column":1112},"action":"insert","lines":["return null},n"]},{"start":{"row":0,"column":1126},"end":{"row":0,"column":1129},"action":"remove","lines":[" = "]},{"start":{"row":0,"column":1126},"end":{"row":0,"column":1127},"action":"insert","lines":["="]},{"start":{"row":0,"column":1135},"end":{"row":1,"column":3},"action":"remove","lines":[" (key, val) {"," "]},{"start":{"row":0,"column":1135},"end":{"row":0,"column":1147},"action":"insert","lines":["(t,e){return"]},{"start":{"row":0,"column":1164},"end":{"row":0,"column":1165},"action":"remove","lines":[" "]},{"start":{"row":0,"column":1168},"end":{"row":5,"column":7},"action":"remove","lines":[" key, val: val });"," this.size++;"," return this;","};","","Similar"]},{"start":{"row":0,"column":1168},"end":{"row":0,"column":1197},"action":"insert","lines":["t,val:e}),this.size++,this},n"]},{"start":{"row":0,"column":1207},"end":{"row":0,"column":1208},"action":"remove","lines":["."]},{"start":{"row":0,"column":1207},"end":{"row":0,"column":1209},"action":"insert","lines":["[\""]},{"start":{"row":0,"column":1215},"end":{"row":0,"column":1218},"action":"remove","lines":[" = "]},{"start":{"row":0,"column":1215},"end":{"row":0,"column":1218},"action":"insert","lines":["\"]="]},{"start":{"row":0,"column":1226},"end":{"row":4,"column":12},"action":"remove","lines":[" (key) {"," var len = this.list.length,"," i;"," for (i = 0; i < len; i++) {"," if ("]},{"start":{"row":0,"column":1226},"end":{"row":0,"column":1268},"action":"insert","lines":["(t){var e,r=this.list.length;for(e=0;r>e&&"]},{"start":{"row":0,"column":1278},"end":{"row":0,"column":1279},"action":"remove","lines":["i"]},{"start":{"row":0,"column":1278},"end":{"row":0,"column":1279},"action":"insert","lines":["e"]},{"start":{"row":0,"column":1284},"end":{"row":0,"column":1285},"action":"remove","lines":[" "]},{"start":{"row":0,"column":1284},"end":{"row":0,"column":1285},"action":"insert","lines":["!"]},{"start":{"row":0,"column":1287},"end":{"row":5,"column":8},"action":"remove","lines":["= key) {"," break;"," }"," }",""," if ("]},{"start":{"row":0,"column":1287},"end":{"row":0,"column":1301},"action":"insert","lines":["t;e++);return "]},{"start":{"row":0,"column":1318},"end":{"row":0,"column":1321},"action":"remove","lines":["i, "]},{"start":{"row":0,"column":1318},"end":{"row":0,"column":1320},"action":"insert","lines":["e,"]},{"start":{"row":0,"column":1329},"end":{"row":7,"column":7},"action":"remove","lines":[") {"," this.size--;"," }",""," return this;","};","","Similar"]},{"start":{"row":0,"column":1329},"end":{"row":0,"column":1350},"action":"insert","lines":["&&this.size--,this},n"]},{"start":{"row":0,"column":1364},"end":{"row":0,"column":1374},"action":"remove","lines":[" = Similar"]},{"start":{"row":0,"column":1364},"end":{"row":0,"column":1366},"action":"insert","lines":["=n"]},{"start":{"row":0,"column":1380},"end":{"row":2,"column":0},"action":"remove","lines":[";","",""]},{"start":{"row":0,"column":1398},"end":{"row":3,"column":28},"action":"remove","lines":["require,module,exports){","'use strict';","","var MapOrSimilar = require('"]},{"start":{"row":0,"column":1398},"end":{"row":0,"column":1753},"action":"insert","lines":["t,e,r){\"use strict\";function n(t,e){var r,n,i,s=t.length,o=e.length;for(n=0;s>n;n++){for(r=!0,i=0;o>i;i++)if(t[n][i].arg!==e[i].arg){r=!1;break}if(r)break}t.push(t.splice(n,1)[0])}function i(t){var e,r,n=t.length,i=t[n-1];for(i.cacheItem[\"delete\"](i.arg),r=n-2;r>=0&&(i=t[r],e=i.cacheItem.get(i.arg),!e||!e.size);r--)i.cacheItem[\"delete\"](i.arg)}var s=t(\""]},{"start":{"row":0,"column":1767},"end":{"row":0,"column":1768},"action":"remove","lines":["'"]},{"start":{"row":0,"column":1767},"end":{"row":0,"column":1768},"action":"insert","lines":["\""]},{"start":{"row":0,"column":1770},"end":{"row":2,"column":5},"action":"remove","lines":["","","modul"]},{"start":{"row":0,"column":1779},"end":{"row":0,"column":1782},"action":"remove","lines":[" = "]},{"start":{"row":0,"column":1779},"end":{"row":0,"column":1780},"action":"insert","lines":["="]},{"start":{"row":0,"column":1788},"end":{"row":16,"column":56},"action":"remove","lines":[" (limit) {"," var cache = new MapOrSimilar(),"," lru = [];",""," return function (fn) {"," var memoizerific = function memoizerific() {"," var currentCache = cache,"," newMap,"," fnResult,"," argsLength = arguments.length,"," lruPath = Array(argsLength),"," isMemoized = true,"," i;",""," // loop through each argument to traverse the map tree"," for (i = 0; i < argsLength - 1; i++) {"," lruPath[i] = { cacheItem: currentCache, "]},{"start":{"row":0,"column":1788},"end":{"row":0,"column":1930},"action":"insert","lines":["(t){var e=new s,r=[];return function(s){var o=function(){var o,u,a,f=e,l=arguments.length,h=Array(l),c=!0;for(a=0;l-1>a;a++)h[a]={cacheItem:f,"]},{"start":{"row":0,"column":1934},"end":{"row":0,"column":1935},"action":"remove","lines":[" "]},{"start":{"row":0,"column":1944},"end":{"row":3,"column":32},"action":"remove","lines":["i] };",""," // if all arguments exist in map tree, the memoized result will be last value to be retrieved"," if (currentCache"]},{"start":{"row":0,"column":1944},"end":{"row":0,"column":1949},"action":"insert","lines":["a]},f"]},{"start":{"row":0,"column":1964},"end":{"row":0,"column":1965},"action":"remove","lines":["i"]},{"start":{"row":0,"column":1964},"end":{"row":0,"column":1965},"action":"insert","lines":["a"]},{"start":{"row":0,"column":1967},"end":{"row":1,"column":47},"action":"remove","lines":[") {"," currentCache = currentCache"]},{"start":{"row":0,"column":1967},"end":{"row":0,"column":1971},"action":"insert","lines":["?f=f"]},{"start":{"row":0,"column":1986},"end":{"row":0,"column":1987},"action":"remove","lines":["i"]},{"start":{"row":0,"column":1986},"end":{"row":0,"column":1987},"action":"insert","lines":["a"]},{"start":{"row":0,"column":1989},"end":{"row":8,"column":28},"action":"remove","lines":[";"," continue;"," }",""," isMemoized = false;",""," // make maps until last value"," newMap = new Map();"," currentCache"]},{"start":{"row":0,"column":1989},"end":{"row":0,"column":2007},"action":"insert","lines":[":(c=!1,o=new Map,f"]},{"start":{"row":0,"column":2022},"end":{"row":0,"column":2023},"action":"remove","lines":["i"]},{"start":{"row":0,"column":2022},"end":{"row":0,"column":2023},"action":"insert","lines":["a"]},{"start":{"row":0,"column":2025},"end":{"row":15,"column":29},"action":"remove","lines":[" newMap);"," currentCache = newMap;"," }",""," // we are at the last arg, check if memoized"," if (isMemoized) {"," if (currentCache.has(arguments[argsLength - 1])) {"," fnResult = currentCache.get(arguments[argsLength - 1]);"," } else {"," isMemoized = false;"," }"," }",""," if (!isMemoized) {"," //memoizerific.memoizeMisses++;\t\t\t "," fnResult = fn"]},{"start":{"row":0,"column":2025},"end":{"row":0,"column":2103},"action":"insert","lines":["o),f=o);return c&&(f.has(arguments[l-1])?u=f.get(arguments[l-1]):c=!1),c||(u=s"]},{"start":{"row":0,"column":2110},"end":{"row":0,"column":2114},"action":"remove","lines":["fn, "]},{"start":{"row":0,"column":2110},"end":{"row":0,"column":2112},"action":"insert","lines":["s,"]},{"start":{"row":0,"column":2122},"end":{"row":7,"column":69},"action":"remove","lines":[";"," currentCache.set(arguments[argsLength - 1], fnResult);"," } else {"," //memoizerific.memoizeHits++;"," }",""," if (limit && limit > 0) {"," lruPath[argsLength - 1] = { cacheItem: currentCache, "]},{"start":{"row":0,"column":2122},"end":{"row":0,"column":2177},"action":"insert","lines":[",f.set(arguments[l-1],u)),t&&t>0&&(h[l-1]={cacheItem:f,"]},{"start":{"row":0,"column":2181},"end":{"row":0,"column":2182},"action":"remove","lines":[" "]},{"start":{"row":0,"column":2191},"end":{"row":74,"column":0},"action":"remove","lines":["argsLength - 1] };",""," if (isMemoized) {"," moveToMostRecentLru(lru, lruPath);"," } else {"," lru.push(lruPath);"," }",""," if (lru.length > limit) {"," removeCachedResult(lru.shift());"," }"," }",""," // at this point this variable is mis-named, and actually holding the fnResult or memoized fnResult, but for most of its life it was holding the current cache map, and only the at the very end does it turn into the result"," return fnResult;"," };",""," /*"," memoizerific.memoizeHits = 0;"," memoizerific.memoizeMisses = 0;"," memoizerific.lru = lru;"," memoizerific.cache = cache;"," */",""," return memoizerific;"," };","};","","// move current args to most recent position","function moveToMostRecentLru(lru, lruPath) {"," var lruLen = lru.length,"," lruPathLen = lruPath.length,"," isMatch,"," i,"," ii;",""," for (i = 0; i < lruLen; i++) {"," isMatch = true;"," for (ii = 0; ii < lruPathLen; ii++) {"," if (lru[i][ii].arg !== lruPath[ii].arg) {"," isMatch = false;"," break;"," }"," }"," if (isMatch) {"," break;"," }"," }",""," lru.push(lru.splice(i, 1)[0]);","}","","// remove least recently used cache item and all dead branches","function removeCachedResult(removedLru) {"," var removedLruLen = removedLru.length,"," currentLru = removedLru[removedLruLen - 1],"," tmp,"," i;",""," currentLru.cacheItem.delete(currentLru.arg);",""," // walk down the tree removing dead branches (size 0) along the way"," for (i = removedLruLen - 2; i >= 0; i--) {"," currentLru = removedLru[i];"," tmp = currentLru.cacheItem.get(currentLru.arg);",""," if (!tmp || !tmp.size) {"," currentLru.cacheItem.delete(currentLru.arg);"," } else {"," break;"," }"," }","}","",""]},{"start":{"row":0,"column":2191},"end":{"row":0,"column":2255},"action":"insert","lines":["l-1]},c?n(r,h):r.push(h),r.length>t&&i(r.shift())),u};return o}}"]},{"start":{"row":0,"column":2290},"end":{"row":1,"column":0},"action":"remove","lines":["",""]}],[{"start":{"row":0,"column":0},"end":{"row":0,"column":1},"action":"remove","lines":["!"],"id":3,"ignore":true},{"start":{"row":0,"column":0},"end":{"row":0,"column":1},"action":"insert","lines":["("]},{"start":{"row":0,"column":10},"end":{"row":0,"column":11},"action":"remove","lines":["t"]},{"start":{"row":0,"column":10},"end":{"row":0,"column":11},"action":"insert","lines":["f"]},{"start":{"row":0,"column":16},"end":{"row":0,"column":26},"action":"remove","lines":["\"object\"=="]},{"start":{"row":0,"column":30},"end":{"row":0,"column":59},"action":"remove","lines":["&&\"undefined\"!=typeof module)"]},{"start":{"row":0,"column":30},"end":{"row":0,"column":72},"action":"insert","lines":["===\"object\"&&typeof module!==\"undefined\"){"]},{"start":{"row":0,"column":87},"end":{"row":0,"column":88},"action":"remove","lines":["t"]},{"start":{"row":0,"column":87},"end":{"row":0,"column":88},"action":"insert","lines":["f"]},{"start":{"row":0,"column":90},"end":{"row":0,"column":91},"action":"remove","lines":[";"]},{"start":{"row":0,"column":90},"end":{"row":0,"column":91},"action":"insert","lines":["}"]},{"start":{"row":0,"column":99},"end":{"row":0,"column":111},"action":"remove","lines":["\"function\"=="]},{"start":{"row":0,"column":112},"end":{"row":0,"column":125},"action":"insert","lines":["===\"function\""]},{"start":{"row":0,"column":138},"end":{"row":0,"column":139},"action":"insert","lines":["{"]},{"start":{"row":0,"column":149},"end":{"row":0,"column":152},"action":"remove","lines":["t);"]},{"start":{"row":0,"column":149},"end":{"row":0,"column":152},"action":"insert","lines":["f)}"]},{"start":{"row":0,"column":161},"end":{"row":0,"column":178},"action":"remove","lines":["e;e=\"undefined\"!="]},{"start":{"row":0,"column":161},"end":{"row":0,"column":166},"action":"insert","lines":["g;if("]},{"start":{"row":0,"column":179},"end":{"row":0,"column":187},"action":"remove","lines":["?window:"]},{"start":{"row":0,"column":179},"end":{"row":0,"column":182},"action":"insert","lines":["!=="]},{"start":{"row":0,"column":193},"end":{"row":0,"column":195},"action":"remove","lines":["!="]},{"start":{"row":0,"column":193},"end":{"row":0,"column":212},"action":"insert","lines":["){g=window}else if("]},{"start":{"row":0,"column":225},"end":{"row":0,"column":233},"action":"remove","lines":["?global:"]},{"start":{"row":0,"column":225},"end":{"row":0,"column":228},"action":"insert","lines":["!=="]},{"start":{"row":0,"column":239},"end":{"row":0,"column":258},"action":"remove","lines":["!=typeof self?self:"]},{"start":{"row":0,"column":239},"end":{"row":0,"column":299},"action":"insert","lines":["){g=global}else if(typeof self!==\"undefined\"){g=self}else{g="]},{"start":{"row":0,"column":303},"end":{"row":0,"column":305},"action":"remove","lines":[",e"]},{"start":{"row":0,"column":303},"end":{"row":0,"column":305},"action":"insert","lines":["}g"]},{"start":{"row":0,"column":318},"end":{"row":0,"column":320},"action":"remove","lines":["=t"]},{"start":{"row":0,"column":318},"end":{"row":0,"column":322},"action":"insert","lines":[" = f"]},{"start":{"row":0,"column":326},"end":{"row":0,"column":327},"action":"insert","lines":[")"]},{"start":{"row":0,"column":339},"end":{"row":0,"column":365},"action":"insert","lines":["var define,module,exports;"]},{"start":{"row":0,"column":372},"end":{"row":0,"column":373},"action":"insert","lines":["("]},{"start":{"row":0,"column":382},"end":{"row":0,"column":389},"action":"remove","lines":["t(e,r,n"]},{"start":{"row":0,"column":382},"end":{"row":0,"column":389},"action":"insert","lines":["e(t,n,r"]},{"start":{"row":0,"column":400},"end":{"row":0,"column":401},"action":"remove","lines":["i"]},{"start":{"row":0,"column":400},"end":{"row":0,"column":401},"action":"insert","lines":["s"]},{"start":{"row":0,"column":411},"end":{"row":0,"column":412},"action":"remove","lines":["r"]},{"start":{"row":0,"column":411},"end":{"row":0,"column":412},"action":"insert","lines":["n"]},{"start":{"row":0,"column":421},"end":{"row":0,"column":422},"action":"remove","lines":["e"]},{"start":{"row":0,"column":421},"end":{"row":0,"column":422},"action":"insert","lines":["t"]},{"start":{"row":0,"column":433},"end":{"row":0,"column":445},"action":"remove","lines":["\"function\"=="]},{"start":{"row":0,"column":447},"end":{"row":0,"column":459},"action":"insert","lines":["==\"function\""]},{"start":{"row":0,"column":496},"end":{"row":0,"column":497},"action":"remove","lines":["s"]},{"start":{"row":0,"column":496},"end":{"row":0,"column":497},"action":"insert","lines":["i"]},{"start":{"row":0,"column":505},"end":{"row":0,"column":506},"action":"remove","lines":["s"]},{"start":{"row":0,"column":505},"end":{"row":0,"column":506},"action":"insert","lines":["i"]},{"start":{"row":0,"column":599},"end":{"row":0,"column":600},"action":"remove","lines":["r"]},{"start":{"row":0,"column":599},"end":{"row":0,"column":600},"action":"insert","lines":["n"]},{"start":{"row":0,"column":617},"end":{"row":0,"column":618},"action":"remove","lines":["e"]},{"start":{"row":0,"column":617},"end":{"row":0,"column":618},"action":"insert","lines":["t"]},{"start":{"row":0,"column":649},"end":{"row":0,"column":650},"action":"remove","lines":["t"]},{"start":{"row":0,"column":649},"end":{"row":0,"column":650},"action":"insert","lines":["e"]},{"start":{"row":0,"column":656},"end":{"row":0,"column":659},"action":"remove","lines":["r=e"]},{"start":{"row":0,"column":656},"end":{"row":0,"column":659},"action":"insert","lines":["n=t"]},{"start":{"row":0,"column":666},"end":{"row":0,"column":667},"action":"remove","lines":["t"]},{"start":{"row":0,"column":666},"end":{"row":0,"column":667},"action":"insert","lines":["e"]},{"start":{"row":0,"column":676},"end":{"row":0,"column":683},"action":"remove","lines":["i(r?r:t"]},{"start":{"row":0,"column":676},"end":{"row":0,"column":683},"action":"insert","lines":["s(n?n:e"]},{"start":{"row":0,"column":698},"end":{"row":0,"column":700},"action":"remove","lines":["t,"]},{"start":{"row":0,"column":700},"end":{"row":0,"column":701},"action":"remove","lines":["r"]},{"start":{"row":0,"column":700},"end":{"row":0,"column":701},"action":"insert","lines":["t"]},{"start":{"row":0,"column":703},"end":{"row":0,"column":705},"action":"insert","lines":[",r"]},{"start":{"row":0,"column":714},"end":{"row":0,"column":715},"action":"remove","lines":["r"]},{"start":{"row":0,"column":714},"end":{"row":0,"column":715},"action":"insert","lines":["n"]},{"start":{"row":0,"column":727},"end":{"row":0,"column":773},"action":"remove","lines":["for(var s=\"function\"==typeof require&&require,"]},{"start":{"row":0,"column":727},"end":{"row":0,"column":777},"action":"insert","lines":["var i=typeof require==\"function\"&&require;for(var "]},{"start":{"row":0,"column":783},"end":{"row":0,"column":784},"action":"remove","lines":["n"]},{"start":{"row":0,"column":783},"end":{"row":0,"column":784},"action":"insert","lines":["r"]},{"start":{"row":0,"column":796},"end":{"row":0,"column":799},"action":"remove","lines":["i(n"]},{"start":{"row":0,"column":796},"end":{"row":0,"column":799},"action":"insert","lines":["s(r"]},{"start":{"row":0,"column":811},"end":{"row":0,"column":813},"action":"remove","lines":["i}"]},{"start":{"row":0,"column":811},"end":{"row":0,"column":814},"action":"insert","lines":["s})"]},{"start":{"row":0,"column":828},"end":{"row":0,"column":848},"action":"remove","lines":["t,e,r){\"use strict\";"]},{"start":{"row":0,"column":828},"end":{"row":3,"column":17},"action":"insert","lines":["require,module,exports){","'use strict';","","module.exports = "]},{"start":{"row":3,"column":26},"end":{"row":3,"column":27},"action":"remove","lines":["n"]},{"start":{"row":3,"column":28},"end":{"row":3,"column":49},"action":"remove","lines":["{return this.list=[],"]},{"start":{"row":3,"column":28},"end":{"row":13,"column":4},"action":"insert","lines":[" {"," if (typeof Map === 'function') {"," return Map;"," } else {"," return Similar;"," }","};","","function Similar() {"," this.list = [];"," "]},{"start":{"row":13,"column":16},"end":{"row":13,"column":17},"action":"remove","lines":["="]},{"start":{"row":13,"column":16},"end":{"row":13,"column":19},"action":"insert","lines":[" = "]},{"start":{"row":13,"column":23},"end":{"row":13,"column":24},"action":"remove","lines":[","]},{"start":{"row":13,"column":23},"end":{"row":14,"column":4},"action":"insert","lines":[";"," "]},{"start":{"row":14,"column":13},"end":{"row":14,"column":79},"action":"remove","lines":["=0,this}e.exports=function(){return\"function\"==typeof Map?Map:n},n"]},{"start":{"row":14,"column":13},"end":{"row":19,"column":7},"action":"insert","lines":[" = 0;",""," return this;","}","","Similar"]},{"start":{"row":19,"column":21},"end":{"row":19,"column":22},"action":"remove","lines":["="]},{"start":{"row":19,"column":21},"end":{"row":19,"column":24},"action":"insert","lines":[" = "]},{"start":{"row":19,"column":32},"end":{"row":19,"column":61},"action":"remove","lines":["(t){var e,r=this.list.length;"]},{"start":{"row":19,"column":32},"end":{"row":23,"column":4},"action":"insert","lines":[" (key) {"," var len = this.list.length,"," i;",""," "]},{"start":{"row":23,"column":6},"end":{"row":23,"column":7},"action":"insert","lines":[" "]},{"start":{"row":23,"column":20},"end":{"row":23,"column":21},"action":"insert","lines":[" "]},{"start":{"row":23,"column":23},"end":{"row":23,"column":24},"action":"insert","lines":[" "]},{"start":{"row":23,"column":40},"end":{"row":23,"column":41},"action":"insert","lines":[" "]},{"start":{"row":23,"column":44},"end":{"row":23,"column":46},"action":"remove","lines":["t)"]},{"start":{"row":23,"column":44},"end":{"row":24,"column":8},"action":"insert","lines":[" key) {"," "]},{"start":{"row":24,"column":32},"end":{"row":24,"column":48},"action":"remove","lines":["for(e=0;r>e;e++)"]},{"start":{"row":24,"column":32},"end":{"row":28,"column":8},"action":"insert","lines":[""," }",""," for (i = 0; i < len; i++) {"," "]},{"start":{"row":28,"column":10},"end":{"row":28,"column":11},"action":"insert","lines":[" "]},{"start":{"row":28,"column":22},"end":{"row":28,"column":23},"action":"remove","lines":["e"]},{"start":{"row":28,"column":22},"end":{"row":28,"column":23},"action":"insert","lines":["i"]},{"start":{"row":28,"column":28},"end":{"row":28,"column":29},"action":"insert","lines":[" "]},{"start":{"row":28,"column":32},"end":{"row":28,"column":40},"action":"remove","lines":["t)return"]},{"start":{"row":28,"column":32},"end":{"row":29,"column":11},"action":"insert","lines":[" key) {"," "]},{"start":{"row":29,"column":24},"end":{"row":29,"column":25},"action":"remove","lines":["="]},{"start":{"row":29,"column":24},"end":{"row":29,"column":27},"action":"insert","lines":[" = "]},{"start":{"row":29,"column":37},"end":{"row":29,"column":40},"action":"remove","lines":["e],"]},{"start":{"row":29,"column":37},"end":{"row":30,"column":19},"action":"insert","lines":["i];"," return "]},{"start":{"row":30,"column":29},"end":{"row":30,"column":30},"action":"remove","lines":["e"]},{"start":{"row":30,"column":29},"end":{"row":30,"column":30},"action":"insert","lines":["i"]},{"start":{"row":30,"column":32},"end":{"row":30,"column":46},"action":"remove","lines":["return null},n"]},{"start":{"row":30,"column":32},"end":{"row":37,"column":7},"action":"insert","lines":[""," }"," }",""," return null;","};","","Similar"]},{"start":{"row":37,"column":21},"end":{"row":37,"column":22},"action":"remove","lines":["="]},{"start":{"row":37,"column":21},"end":{"row":37,"column":24},"action":"insert","lines":[" = "]},{"start":{"row":37,"column":32},"end":{"row":37,"column":44},"action":"remove","lines":["(t,e){return"]},{"start":{"row":37,"column":32},"end":{"row":38,"column":3},"action":"insert","lines":[" (key, val) {"," "]},{"start":{"row":38,"column":20},"end":{"row":38,"column":21},"action":"insert","lines":[" "]},{"start":{"row":38,"column":25},"end":{"row":38,"column":54},"action":"remove","lines":["t,val:e}),this.size++,this},n"]},{"start":{"row":38,"column":25},"end":{"row":43,"column":7},"action":"insert","lines":[" key, val: val });"," this.size++;"," return this;","};","","Similar"]},{"start":{"row":43,"column":17},"end":{"row":43,"column":19},"action":"remove","lines":["[\""]},{"start":{"row":43,"column":17},"end":{"row":43,"column":18},"action":"insert","lines":["."]},{"start":{"row":43,"column":24},"end":{"row":43,"column":27},"action":"remove","lines":["\"]="]},{"start":{"row":43,"column":24},"end":{"row":43,"column":27},"action":"insert","lines":[" = "]},{"start":{"row":43,"column":35},"end":{"row":43,"column":77},"action":"remove","lines":["(t){var e,r=this.list.length;for(e=0;r>e&&"]},{"start":{"row":43,"column":35},"end":{"row":47,"column":12},"action":"insert","lines":[" (key) {"," var len = this.list.length,"," i;"," for (i = 0; i < len; i++) {"," if ("]},{"start":{"row":47,"column":22},"end":{"row":47,"column":23},"action":"remove","lines":["e"]},{"start":{"row":47,"column":22},"end":{"row":47,"column":23},"action":"insert","lines":["i"]},{"start":{"row":47,"column":28},"end":{"row":47,"column":45},"action":"remove","lines":["!==t;e++);return "]},{"start":{"row":47,"column":28},"end":{"row":52,"column":8},"action":"insert","lines":[" === key) {"," break;"," }"," }",""," if ("]},{"start":{"row":52,"column":25},"end":{"row":52,"column":27},"action":"remove","lines":["e,"]},{"start":{"row":52,"column":25},"end":{"row":52,"column":28},"action":"insert","lines":["i, "]},{"start":{"row":52,"column":37},"end":{"row":52,"column":58},"action":"remove","lines":["&&this.size--,this},n"]},{"start":{"row":52,"column":37},"end":{"row":59,"column":7},"action":"insert","lines":[") {"," this.size--;"," }",""," return this;","};","","Similar"]},{"start":{"row":59,"column":21},"end":{"row":59,"column":23},"action":"remove","lines":["=n"]},{"start":{"row":59,"column":21},"end":{"row":59,"column":31},"action":"insert","lines":[" = Similar"]},{"start":{"row":59,"column":45},"end":{"row":61,"column":0},"action":"insert","lines":[";","",""]},{"start":{"row":61,"column":18},"end":{"row":61,"column":373},"action":"remove","lines":["t,e,r){\"use strict\";function n(t,e){var r,n,i,s=t.length,o=e.length;for(n=0;s>n;n++){for(r=!0,i=0;o>i;i++)if(t[n][i].arg!==e[i].arg){r=!1;break}if(r)break}t.push(t.splice(n,1)[0])}function i(t){var e,r,n=t.length,i=t[n-1];for(i.cacheItem[\"delete\"](i.arg),r=n-2;r>=0&&(i=t[r],e=i.cacheItem.get(i.arg),!e||!e.size);r--)i.cacheItem[\"delete\"](i.arg)}var s=t(\""]},{"start":{"row":61,"column":18},"end":{"row":64,"column":28},"action":"insert","lines":["require,module,exports){","'use strict';","","var MapOrSimilar = require('"]},{"start":{"row":64,"column":42},"end":{"row":64,"column":43},"action":"remove","lines":["\""]},{"start":{"row":64,"column":42},"end":{"row":64,"column":43},"action":"insert","lines":["'"]},{"start":{"row":64,"column":45},"end":{"row":66,"column":5},"action":"insert","lines":["","","modul"]},{"start":{"row":66,"column":14},"end":{"row":66,"column":15},"action":"remove","lines":["="]},{"start":{"row":66,"column":14},"end":{"row":66,"column":17},"action":"insert","lines":[" = "]},{"start":{"row":66,"column":25},"end":{"row":66,"column":167},"action":"remove","lines":["(t){var e=new s,r=[];return function(s){var o=function(){var o,u,a,f=e,l=arguments.length,h=Array(l),c=!0;for(a=0;l-1>a;a++)h[a]={cacheItem:f,"]},{"start":{"row":66,"column":25},"end":{"row":82,"column":56},"action":"insert","lines":[" (limit) {"," var cache = new MapOrSimilar(),"," lru = [];",""," return function (fn) {"," var memoizerific = function memoizerific() {"," var currentCache = cache,"," newMap,"," fnResult,"," argsLength = arguments.length,"," lruPath = Array(argsLength),"," isMemoized = true,"," i;",""," // loop through each argument to traverse the map tree"," for (i = 0; i < argsLength - 1; i++) {"," lruPath[i] = { cacheItem: currentCache, "]},{"start":{"row":82,"column":60},"end":{"row":82,"column":61},"action":"insert","lines":[" "]},{"start":{"row":82,"column":71},"end":{"row":82,"column":76},"action":"remove","lines":["a]},f"]},{"start":{"row":82,"column":71},"end":{"row":85,"column":32},"action":"insert","lines":["i] };",""," // if all arguments exist in map tree, the memoized result will be last value to be retrieved"," if (currentCache"]},{"start":{"row":85,"column":47},"end":{"row":85,"column":48},"action":"remove","lines":["a"]},{"start":{"row":85,"column":47},"end":{"row":85,"column":48},"action":"insert","lines":["i"]},{"start":{"row":85,"column":50},"end":{"row":85,"column":54},"action":"remove","lines":["?f=f"]},{"start":{"row":85,"column":50},"end":{"row":86,"column":47},"action":"insert","lines":[") {"," currentCache = currentCache"]},{"start":{"row":86,"column":62},"end":{"row":86,"column":63},"action":"remove","lines":["a"]},{"start":{"row":86,"column":62},"end":{"row":86,"column":63},"action":"insert","lines":["i"]},{"start":{"row":86,"column":65},"end":{"row":86,"column":83},"action":"remove","lines":[":(c=!1,o=new Map,f"]},{"start":{"row":86,"column":65},"end":{"row":94,"column":28},"action":"insert","lines":[";"," continue;"," }",""," isMemoized = false;",""," // make maps until last value"," newMap = new Map();"," currentCache"]},{"start":{"row":94,"column":43},"end":{"row":94,"column":44},"action":"remove","lines":["a"]},{"start":{"row":94,"column":43},"end":{"row":94,"column":44},"action":"insert","lines":["i"]},{"start":{"row":94,"column":46},"end":{"row":94,"column":124},"action":"remove","lines":["o),f=o);return c&&(f.has(arguments[l-1])?u=f.get(arguments[l-1]):c=!1),c||(u=s"]},{"start":{"row":94,"column":46},"end":{"row":109,"column":29},"action":"insert","lines":[" newMap);"," currentCache = newMap;"," }",""," // we are at the last arg, check if memoized"," if (isMemoized) {"," if (currentCache.has(arguments[argsLength - 1])) {"," fnResult = currentCache.get(arguments[argsLength - 1]);"," } else {"," isMemoized = false;"," }"," }",""," if (!isMemoized) {"," //memoizerific.memoizeMisses++;\t\t\t "," fnResult = fn"]},{"start":{"row":109,"column":36},"end":{"row":109,"column":38},"action":"remove","lines":["s,"]},{"start":{"row":109,"column":36},"end":{"row":109,"column":40},"action":"insert","lines":["fn, "]},{"start":{"row":109,"column":50},"end":{"row":109,"column":105},"action":"remove","lines":[",f.set(arguments[l-1],u)),t&&t>0&&(h[l-1]={cacheItem:f,"]},{"start":{"row":109,"column":50},"end":{"row":116,"column":69},"action":"insert","lines":[";"," currentCache.set(arguments[argsLength - 1], fnResult);"," } else {"," //memoizerific.memoizeHits++;"," }",""," if (limit && limit > 0) {"," lruPath[argsLength - 1] = { cacheItem: currentCache, "]},{"start":{"row":116,"column":73},"end":{"row":116,"column":74},"action":"insert","lines":[" "]},{"start":{"row":116,"column":84},"end":{"row":116,"column":148},"action":"remove","lines":["l-1]},c?n(r,h):r.push(h),r.length>t&&i(r.shift())),u};return o}}"]},{"start":{"row":116,"column":84},"end":{"row":190,"column":0},"action":"insert","lines":["argsLength - 1] };",""," if (isMemoized) {"," moveToMostRecentLru(lru, lruPath);"," } else {"," lru.push(lruPath);"," }",""," if (lru.length > limit) {"," removeCachedResult(lru.shift());"," }"," }",""," // at this point this variable is mis-named, and actually holding the fnResult or memoized fnResult, but for most of its life it was holding the current cache map, and only the at the very end does it turn into the result"," return fnResult;"," };",""," /*"," memoizerific.memoizeHits = 0;"," memoizerific.memoizeMisses = 0;"," memoizerific.lru = lru;"," memoizerific.cache = cache;"," */",""," return memoizerific;"," };","};","","// move current args to most recent position","function moveToMostRecentLru(lru, lruPath) {"," var lruLen = lru.length,"," lruPathLen = lruPath.length,"," isMatch,"," i,"," ii;",""," for (i = 0; i < lruLen; i++) {"," isMatch = true;"," for (ii = 0; ii < lruPathLen; ii++) {"," if (lru[i][ii].arg !== lruPath[ii].arg) {"," isMatch = false;"," break;"," }"," }"," if (isMatch) {"," break;"," }"," }",""," lru.push(lru.splice(i, 1)[0]);","}","","// remove least recently used cache item and all dead branches","function removeCachedResult(removedLru) {"," var removedLruLen = removedLru.length,"," currentLru = removedLru[removedLruLen - 1],"," tmp,"," i;",""," currentLru.cacheItem.delete(currentLru.arg);",""," // walk down the tree removing dead branches (size 0) along the way"," for (i = removedLruLen - 2; i >= 0; i--) {"," currentLru = removedLru[i];"," tmp = currentLru.cacheItem.get(currentLru.arg);",""," if (!tmp || !tmp.size) {"," currentLru.cacheItem.delete(currentLru.arg);"," } else {"," break;"," }"," }","}","",""]},{"start":{"row":190,"column":35},"end":{"row":191,"column":0},"action":"insert","lines":["",""]}],[{"start":{"row":0,"column":318},"end":{"row":0,"column":319},"action":"insert","lines":["2"],"id":4,"ignore":true}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":13,"column":24},"end":{"row":13,"column":24},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":11,"state":"start","mode":"ace/mode/javascript"}},"timestamp":1454287665562,"hash":"0f6254987595a98b9fc1b42ab5bbbc8ef5f5cbe5"}
{"filter":false,"title":"memoizerific.js","tooltip":"/memoizerific.js","undoManager":{"mark":-1,"position":-1,"stack":[]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":20,"column":0},"end":{"row":20,"column":0},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1454287665562,"hash":"477f25197c575656f1680c9f945f85189992f673"}

@@ -1,1 +0,1 @@

{"filter":false,"title":"package.json","tooltip":"/package.json","undoManager":{"mark":163,"position":163,"stack":[[{"start":{"row":1,"column":11},"end":{"row":1,"column":22},"action":"remove","lines":["memoize-lru"],"id":2},{"start":{"row":1,"column":11},"end":{"row":1,"column":23},"action":"insert","lines":["memoizerific"]}],[{"start":{"row":4,"column":11},"end":{"row":4,"column":22},"action":"remove","lines":["memoize-lru"],"id":3},{"start":{"row":4,"column":11},"end":{"row":4,"column":23},"action":"insert","lines":["memoizerific"]}],[{"start":{"row":10,"column":45},"end":{"row":10,"column":56},"action":"remove","lines":["memoize-lru"],"id":4},{"start":{"row":10,"column":45},"end":{"row":10,"column":57},"action":"insert","lines":["memoizerific"]}],[{"start":{"row":26,"column":41},"end":{"row":26,"column":52},"action":"remove","lines":["memoize-lru"],"id":5},{"start":{"row":26,"column":41},"end":{"row":26,"column":53},"action":"insert","lines":["memoizerific"]}],[{"start":{"row":28,"column":44},"end":{"row":28,"column":55},"action":"remove","lines":["memoize-lru"],"id":6},{"start":{"row":28,"column":44},"end":{"row":28,"column":56},"action":"insert","lines":["memoizerific"]}],[{"start":{"row":23,"column":0},"end":{"row":24,"column":19},"action":"remove","lines":[" \"author\": \"@thinkloop\","," \"license\": \"MIT\","],"id":7}],[{"start":{"row":3,"column":85},"end":{"row":4,"column":0},"action":"insert","lines":["",""],"id":8},{"start":{"row":4,"column":0},"end":{"row":4,"column":2},"action":"insert","lines":[" "]}],[{"start":{"row":4,"column":0},"end":{"row":5,"column":19},"action":"insert","lines":[" \"author\": \"@thinkloop\","," \"license\": \"MIT\","],"id":9}],[{"start":{"row":5,"column":19},"end":{"row":5,"column":21},"action":"remove","lines":[" "],"id":10},{"start":{"row":5,"column":19},"end":{"row":6,"column":0},"action":"insert","lines":["",""]},{"start":{"row":6,"column":0},"end":{"row":6,"column":2},"action":"insert","lines":[" "]}],[{"start":{"row":29,"column":3},"end":{"row":30,"column":64},"action":"remove","lines":[","," \"homepage\": \"https://github.com/thinkloop/memoizerific#readme\""],"id":11}],[{"start":{"row":5,"column":18},"end":{"row":6,"column":64},"action":"insert","lines":[","," \"homepage\": \"https://github.com/thinkloop/memoizerific#readme\""],"id":12}],[{"start":{"row":26,"column":3},"end":{"row":30,"column":3},"action":"remove","lines":[",",""," \"bugs\": {"," \"url\": \"https://github.com/thinkloop/memoizerific/issues\""," }"],"id":13}],[{"start":{"row":6,"column":64},"end":{"row":10,"column":3},"action":"insert","lines":[",",""," \"bugs\": {"," \"url\": \"https://github.com/thinkloop/memoizerific/issues\""," }"],"id":14}],[{"start":{"row":7,"column":0},"end":{"row":8,"column":0},"action":"remove","lines":["",""],"id":15}],[{"start":{"row":8,"column":61},"end":{"row":9,"column":2},"action":"remove","lines":[""," "],"id":16},{"start":{"row":8,"column":61},"end":{"row":8,"column":62},"action":"insert","lines":[" "]}],[{"start":{"row":7,"column":11},"end":{"row":8,"column":4},"action":"remove","lines":[""," "],"id":17},{"start":{"row":7,"column":11},"end":{"row":7,"column":12},"action":"insert","lines":[" "]}],[{"start":{"row":13,"column":0},"end":{"row":16,"column":4},"action":"remove","lines":[" \"repository\": {"," \"type\": \"git\","," \"url\": \"git+https://github.com/thinkloop/memoizerific.git\""," },"],"id":18}],[{"start":{"row":6,"column":65},"end":{"row":7,"column":0},"action":"insert","lines":["",""],"id":19},{"start":{"row":7,"column":0},"end":{"row":7,"column":2},"action":"insert","lines":[" "]}],[{"start":{"row":7,"column":0},"end":{"row":10,"column":4},"action":"insert","lines":[" \"repository\": {"," \"type\": \"git\","," \"url\": \"git+https://github.com/thinkloop/memoizerific.git\""," },"],"id":20}],[{"start":{"row":9,"column":62},"end":{"row":10,"column":2},"action":"remove","lines":[""," "],"id":21},{"start":{"row":9,"column":62},"end":{"row":9,"column":63},"action":"insert","lines":[" "]}],[{"start":{"row":8,"column":18},"end":{"row":9,"column":4},"action":"remove","lines":[""," "],"id":22},{"start":{"row":8,"column":18},"end":{"row":8,"column":19},"action":"insert","lines":[" "]}],[{"start":{"row":7,"column":17},"end":{"row":8,"column":4},"action":"remove","lines":[""," "],"id":23},{"start":{"row":7,"column":17},"end":{"row":7,"column":18},"action":"insert","lines":[" "]}],[{"start":{"row":22,"column":5},"end":{"row":22,"column":10},"action":"remove","lines":["least"],"id":24},{"start":{"row":22,"column":5},"end":{"row":22,"column":6},"action":"insert","lines":["c"]}],[{"start":{"row":22,"column":6},"end":{"row":22,"column":7},"action":"insert","lines":["a"],"id":25}],[{"start":{"row":22,"column":7},"end":{"row":22,"column":8},"action":"insert","lines":["c"],"id":26}],[{"start":{"row":22,"column":8},"end":{"row":22,"column":9},"action":"insert","lines":["h"],"id":27}],[{"start":{"row":22,"column":9},"end":{"row":22,"column":10},"action":"insert","lines":["e"],"id":28}],[{"start":{"row":22,"column":12},"end":{"row":24,"column":10},"action":"remove","lines":[""," \"recently\","," \"used\""],"id":29}],[{"start":{"row":22,"column":11},"end":{"row":22,"column":12},"action":"remove","lines":[","],"id":30}],[{"start":{"row":22,"column":11},"end":{"row":23,"column":2},"action":"remove","lines":[""," "],"id":31},{"start":{"row":22,"column":11},"end":{"row":22,"column":12},"action":"insert","lines":[" "]}],[{"start":{"row":21,"column":10},"end":{"row":22,"column":4},"action":"remove","lines":[""," "],"id":32},{"start":{"row":21,"column":10},"end":{"row":21,"column":11},"action":"insert","lines":[" "]}],[{"start":{"row":20,"column":9},"end":{"row":21,"column":4},"action":"remove","lines":[""," "],"id":33},{"start":{"row":20,"column":9},"end":{"row":20,"column":10},"action":"insert","lines":[" "]}],[{"start":{"row":19,"column":17},"end":{"row":20,"column":4},"action":"remove","lines":[""," "],"id":34},{"start":{"row":19,"column":17},"end":{"row":19,"column":18},"action":"insert","lines":[" "]}],[{"start":{"row":18,"column":18},"end":{"row":19,"column":4},"action":"remove","lines":[""," "],"id":35},{"start":{"row":18,"column":18},"end":{"row":18,"column":19},"action":"insert","lines":[" "]}],[{"start":{"row":17,"column":15},"end":{"row":18,"column":4},"action":"remove","lines":[""," "],"id":36},{"start":{"row":17,"column":15},"end":{"row":17,"column":16},"action":"insert","lines":[" "]}],[{"start":{"row":16,"column":14},"end":{"row":17,"column":4},"action":"remove","lines":[""," "],"id":37},{"start":{"row":16,"column":14},"end":{"row":16,"column":15},"action":"insert","lines":[" "]}],[{"start":{"row":15,"column":15},"end":{"row":16,"column":4},"action":"remove","lines":[""," "],"id":38},{"start":{"row":15,"column":15},"end":{"row":15,"column":16},"action":"insert","lines":[" "]}],[{"start":{"row":15,"column":15},"end":{"row":15,"column":16},"action":"remove","lines":[" "],"id":39}],[{"start":{"row":15,"column":87},"end":{"row":15,"column":88},"action":"remove","lines":[" "],"id":40}],[{"start":{"row":15,"column":2},"end":{"row":15,"column":88},"action":"remove","lines":["\"keywords\": [\"memoize\", \"memoizer\", \"memoization\", \"javascript\", \"js\", \"lru\", \"cache\"]"],"id":41}],[{"start":{"row":15,"column":0},"end":{"row":15,"column":2},"action":"remove","lines":[" "],"id":42}],[{"start":{"row":14,"column":0},"end":{"row":15,"column":0},"action":"remove","lines":["",""],"id":43}],[{"start":{"row":13,"column":4},"end":{"row":14,"column":0},"action":"remove","lines":["",""],"id":44}],[{"start":{"row":13,"column":3},"end":{"row":13,"column":4},"action":"remove","lines":[","],"id":45}],[{"start":{"row":13,"column":3},"end":{"row":13,"column":4},"action":"insert","lines":[","],"id":48}],[{"start":{"row":13,"column":4},"end":{"row":14,"column":0},"action":"insert","lines":["",""],"id":49},{"start":{"row":14,"column":0},"end":{"row":14,"column":2},"action":"insert","lines":[" "]}],[{"start":{"row":14,"column":2},"end":{"row":15,"column":0},"action":"insert","lines":["",""],"id":50},{"start":{"row":15,"column":0},"end":{"row":15,"column":2},"action":"insert","lines":[" "]}],[{"start":{"row":15,"column":2},"end":{"row":15,"column":88},"action":"insert","lines":["\"keywords\": [\"memoize\", \"memoizer\", \"memoization\", \"javascript\", \"js\", \"lru\", \"cache\"]"],"id":51}],[{"start":{"row":10,"column":23},"end":{"row":10,"column":24},"action":"insert","lines":["."],"id":52}],[{"start":{"row":10,"column":24},"end":{"row":10,"column":25},"action":"insert","lines":["m"],"id":53}],[{"start":{"row":10,"column":25},"end":{"row":10,"column":26},"action":"insert","lines":["i"],"id":54}],[{"start":{"row":10,"column":26},"end":{"row":10,"column":27},"action":"insert","lines":["n"],"id":55}],[{"start":{"row":7,"column":17},"end":{"row":8,"column":3},"action":"insert","lines":[""," "],"id":56,"ignore":true},{"start":{"row":8,"column":18},"end":{"row":9,"column":3},"action":"insert","lines":[""," "]},{"start":{"row":9,"column":62},"end":{"row":10,"column":1},"action":"insert","lines":[""," "]},{"start":{"row":10,"column":4},"end":{"row":10,"column":6},"action":"remove","lines":[" "]},{"start":{"row":11,"column":11},"end":{"row":12,"column":3},"action":"insert","lines":[""," "]},{"start":{"row":12,"column":61},"end":{"row":12,"column":64},"action":"remove","lines":[" },"]},{"start":{"row":13,"column":2},"end":{"row":13,"column":4},"action":"insert","lines":["},"]},{"start":{"row":18,"column":0},"end":{"row":19,"column":0},"action":"remove","lines":[" ",""]},{"start":{"row":18,"column":15},"end":{"row":19,"column":4},"action":"insert","lines":[""," "]},{"start":{"row":19,"column":14},"end":{"row":20,"column":3},"action":"insert","lines":[""," "]},{"start":{"row":20,"column":15},"end":{"row":21,"column":3},"action":"insert","lines":[""," "]},{"start":{"row":21,"column":18},"end":{"row":22,"column":3},"action":"insert","lines":[""," "]},{"start":{"row":22,"column":17},"end":{"row":23,"column":3},"action":"insert","lines":[""," "]},{"start":{"row":23,"column":9},"end":{"row":24,"column":3},"action":"insert","lines":[""," "]},{"start":{"row":24,"column":10},"end":{"row":25,"column":3},"action":"insert","lines":[""," "]},{"start":{"row":25,"column":11},"end":{"row":25,"column":12},"action":"remove","lines":["]"]},{"start":{"row":25,"column":11},"end":{"row":29,"column":3},"action":"insert","lines":[""," ],"," \"dependencies\": {"," \"pseudomap\": \"^1.0.2\""," }"]}],[{"start":{"row":27,"column":19},"end":{"row":29,"column":2},"action":"remove","lines":[""," \"pseudomap\": \"^1.0.2\""," "],"id":57,"ignore":true}],[{"start":{"row":27,"column":20},"end":{"row":30,"column":3},"action":"insert","lines":[","," \"devDependencies\": {"," \"gulp\": \"^3.9.0\""," }"],"id":58,"ignore":true}],[{"start":{"row":29,"column":20},"end":{"row":30,"column":25},"action":"insert","lines":[","," \"gulp-util\": \"^3.0.7\""],"id":59,"ignore":true}],[{"start":{"row":30,"column":25},"end":{"row":31,"column":35},"action":"insert","lines":[","," \"vinyl-source-stream\": \"^1.1.0\""],"id":60,"ignore":true}],[{"start":{"row":31,"column":0},"end":{"row":32,"column":0},"action":"insert","lines":[" \"vinyl-buffer\": \"^1.0.0\",",""],"id":61,"ignore":true}],[{"start":{"row":31,"column":0},"end":{"row":32,"column":0},"action":"insert","lines":[" \"run-sequence\": \"^1.1.5\",",""],"id":62,"ignore":true}],[{"start":{"row":29,"column":0},"end":{"row":30,"column":0},"action":"insert","lines":[" \"browserify\": \"^13.0.0\",",""],"id":63,"ignore":true}],[{"start":{"row":31,"column":0},"end":{"row":32,"column":0},"action":"insert","lines":[" \"gulp-uglify\": \"^1.5.1\",",""],"id":64,"ignore":true}],[{"start":{"row":31,"column":0},"end":{"row":32,"column":0},"action":"insert","lines":[" \"gulp-streamify\": \"^1.0.2\",",""],"id":65,"ignore":true}],[{"start":{"row":29,"column":0},"end":{"row":30,"column":0},"action":"insert","lines":[" \"babelify\": \"^7.2.0\",",""],"id":66,"ignore":true}],[{"start":{"row":29,"column":0},"end":{"row":30,"column":0},"action":"insert","lines":[" \"babel-preset-es2015\": \"^6.3.13\",",""],"id":67,"ignore":true}],[{"start":{"row":29,"column":0},"end":{"row":30,"column":0},"action":"remove","lines":[" \"babel-preset-es2015\": \"^6.3.13\",",""],"id":68,"ignore":true}],[{"start":{"row":29,"column":0},"end":{"row":30,"column":0},"action":"remove","lines":[" \"babelify\": \"^7.2.0\",",""],"id":69,"ignore":true}],[{"start":{"row":29,"column":0},"end":{"row":30,"column":0},"action":"insert","lines":[" \"babelify\": \"^7.2.0\",",""],"id":70,"ignore":true}],[{"start":{"row":29,"column":0},"end":{"row":30,"column":0},"action":"insert","lines":[" \"babel-preset-es2015\": \"^6.3.13\",",""],"id":71,"ignore":true}],[{"start":{"row":32,"column":0},"end":{"row":33,"column":0},"action":"insert","lines":[" \"browserify-umdify\": \"^1.0.3\",",""],"id":72,"ignore":true}],[{"start":{"row":32,"column":0},"end":{"row":33,"column":0},"action":"remove","lines":[" \"browserify-umdify\": \"^1.0.3\",",""],"id":73,"ignore":true}],[{"start":{"row":37,"column":0},"end":{"row":38,"column":0},"action":"insert","lines":[" \"umdify\": \"^0.1.0\",",""],"id":74,"ignore":true}],[{"start":{"row":39,"column":35},"end":{"row":40,"column":28},"action":"insert","lines":[","," \"webpack\": \"^2.0.6-beta\""],"id":75,"ignore":true}],[{"start":{"row":39,"column":35},"end":{"row":40,"column":28},"action":"remove","lines":[","," \"webpack\": \"^2.0.6-beta\""],"id":76,"ignore":true}],[{"start":{"row":20,"column":4},"end":{"row":20,"column":15},"action":"remove","lines":["\"memoizer\","],"id":77},{"start":{"row":20,"column":4},"end":{"row":20,"column":15},"action":"insert","lines":["\"memoizer\","]}],[{"start":{"row":21,"column":18},"end":{"row":22,"column":0},"action":"insert","lines":["",""],"id":78},{"start":{"row":22,"column":0},"end":{"row":22,"column":4},"action":"insert","lines":[" "]}],[{"start":{"row":22,"column":4},"end":{"row":22,"column":15},"action":"insert","lines":["\"memoizer\","],"id":79}],[{"start":{"row":22,"column":12},"end":{"row":22,"column":13},"action":"remove","lines":["r"],"id":80}],[{"start":{"row":22,"column":12},"end":{"row":22,"column":13},"action":"insert","lines":["d"],"id":81}],[{"start":{"row":14,"column":11},"end":{"row":14,"column":12},"action":"insert","lines":["s"],"id":82}],[{"start":{"row":14,"column":12},"end":{"row":14,"column":13},"action":"insert","lines":["r"],"id":83}],[{"start":{"row":14,"column":13},"end":{"row":14,"column":14},"action":"insert","lines":["c"],"id":84}],[{"start":{"row":14,"column":14},"end":{"row":14,"column":15},"action":"insert","lines":["/"],"id":85}],[{"start":{"row":14,"column":27},"end":{"row":14,"column":31},"action":"remove","lines":[".min"],"id":86}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["0"],"id":87,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["1"]}],[{"start":{"row":1,"column":11},"end":{"row":1,"column":12},"action":"remove","lines":["m"],"id":88}],[{"start":{"row":1,"column":11},"end":{"row":1,"column":12},"action":"insert","lines":["M"],"id":89}],[{"start":{"row":1,"column":11},"end":{"row":1,"column":12},"action":"remove","lines":["M"],"id":90}],[{"start":{"row":1,"column":11},"end":{"row":1,"column":12},"action":"insert","lines":["m"],"id":91}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["1"],"id":92,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["2"]}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["2"],"id":93,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["3"]}],[{"start":{"row":3,"column":68},"end":{"row":3,"column":79},"action":"remove","lines":["memoization"],"id":94}],[{"start":{"row":3,"column":67},"end":{"row":3,"column":68},"action":"remove","lines":[" "],"id":95}],[{"start":{"row":3,"column":71},"end":{"row":3,"column":72},"action":"insert","lines":[" "],"id":96}],[{"start":{"row":3,"column":72},"end":{"row":3,"column":73},"action":"insert","lines":["t"],"id":97}],[{"start":{"row":3,"column":73},"end":{"row":3,"column":74},"action":"insert","lines":["o"],"id":98}],[{"start":{"row":3,"column":74},"end":{"row":3,"column":75},"action":"insert","lines":[" "],"id":99}],[{"start":{"row":3,"column":75},"end":{"row":3,"column":76},"action":"insert","lines":["m"],"id":100}],[{"start":{"row":3,"column":76},"end":{"row":3,"column":77},"action":"insert","lines":["e"],"id":101}],[{"start":{"row":3,"column":77},"end":{"row":3,"column":78},"action":"insert","lines":["m"],"id":102}],[{"start":{"row":3,"column":78},"end":{"row":3,"column":79},"action":"insert","lines":["o"],"id":103}],[{"start":{"row":3,"column":79},"end":{"row":3,"column":80},"action":"insert","lines":["i"],"id":104}],[{"start":{"row":3,"column":80},"end":{"row":3,"column":81},"action":"insert","lines":["z"],"id":105}],[{"start":{"row":3,"column":81},"end":{"row":3,"column":82},"action":"insert","lines":["e"],"id":106}],[{"start":{"row":3,"column":82},"end":{"row":3,"column":83},"action":"insert","lines":[" "],"id":107}],[{"start":{"row":3,"column":83},"end":{"row":3,"column":84},"action":"insert","lines":["f"],"id":108}],[{"start":{"row":3,"column":84},"end":{"row":3,"column":85},"action":"insert","lines":["u"],"id":109}],[{"start":{"row":3,"column":85},"end":{"row":3,"column":86},"action":"insert","lines":["n"],"id":110}],[{"start":{"row":3,"column":86},"end":{"row":3,"column":87},"action":"insert","lines":["c"],"id":111}],[{"start":{"row":3,"column":87},"end":{"row":3,"column":88},"action":"insert","lines":["t"],"id":112}],[{"start":{"row":3,"column":88},"end":{"row":3,"column":89},"action":"insert","lines":["i"],"id":113}],[{"start":{"row":3,"column":89},"end":{"row":3,"column":90},"action":"insert","lines":["o"],"id":114}],[{"start":{"row":3,"column":90},"end":{"row":3,"column":91},"action":"insert","lines":["n"],"id":115}],[{"start":{"row":3,"column":91},"end":{"row":3,"column":92},"action":"insert","lines":["s"],"id":116}],[{"start":{"row":3,"column":75},"end":{"row":3,"column":82},"action":"remove","lines":["memoize"],"id":117}],[{"start":{"row":3,"column":68},"end":{"row":3,"column":75},"action":"insert","lines":["memoize"],"id":118}],[{"start":{"row":3,"column":75},"end":{"row":3,"column":76},"action":"insert","lines":[" "],"id":119}],[{"start":{"row":3,"column":80},"end":{"row":3,"column":93},"action":"remove","lines":["to functions"],"id":120}],[{"start":{"row":3,"column":79},"end":{"row":3,"column":80},"action":"remove","lines":[" "],"id":121}],[{"start":{"row":3,"column":68},"end":{"row":3,"column":75},"action":"remove","lines":["memoize"],"id":122},{"start":{"row":3,"column":68},"end":{"row":3,"column":69},"action":"insert","lines":["m"]}],[{"start":{"row":3,"column":69},"end":{"row":3,"column":70},"action":"insert","lines":["e"],"id":123}],[{"start":{"row":3,"column":70},"end":{"row":3,"column":71},"action":"insert","lines":["m"],"id":124}],[{"start":{"row":3,"column":71},"end":{"row":3,"column":72},"action":"insert","lines":["o"],"id":125}],[{"start":{"row":3,"column":72},"end":{"row":3,"column":73},"action":"insert","lines":["i"],"id":126}],[{"start":{"row":3,"column":73},"end":{"row":3,"column":74},"action":"insert","lines":["z"],"id":127}],[{"start":{"row":3,"column":74},"end":{"row":3,"column":75},"action":"insert","lines":["a"],"id":128}],[{"start":{"row":3,"column":75},"end":{"row":3,"column":76},"action":"insert","lines":["t"],"id":129}],[{"start":{"row":3,"column":76},"end":{"row":3,"column":77},"action":"insert","lines":["i"],"id":130}],[{"start":{"row":3,"column":77},"end":{"row":3,"column":78},"action":"insert","lines":["o"],"id":131}],[{"start":{"row":3,"column":78},"end":{"row":3,"column":79},"action":"insert","lines":["n"],"id":132}],[{"start":{"row":3,"column":83},"end":{"row":3,"column":84},"action":"insert","lines":[" "],"id":133}],[{"start":{"row":3,"column":84},"end":{"row":3,"column":85},"action":"insert","lines":["f"],"id":134}],[{"start":{"row":3,"column":85},"end":{"row":3,"column":86},"action":"insert","lines":["o"],"id":135}],[{"start":{"row":3,"column":86},"end":{"row":3,"column":87},"action":"insert","lines":["r"],"id":136}],[{"start":{"row":3,"column":87},"end":{"row":3,"column":88},"action":"insert","lines":[" "],"id":137}],[{"start":{"row":3,"column":88},"end":{"row":3,"column":89},"action":"insert","lines":["m"],"id":138}],[{"start":{"row":3,"column":89},"end":{"row":3,"column":90},"action":"insert","lines":["e"],"id":139}],[{"start":{"row":3,"column":90},"end":{"row":3,"column":91},"action":"insert","lines":["m"],"id":140}],[{"start":{"row":3,"column":91},"end":{"row":3,"column":92},"action":"insert","lines":["o"],"id":141}],[{"start":{"row":3,"column":92},"end":{"row":3,"column":93},"action":"insert","lines":["i"],"id":142}],[{"start":{"row":3,"column":93},"end":{"row":3,"column":94},"action":"insert","lines":["z"],"id":143}],[{"start":{"row":3,"column":94},"end":{"row":3,"column":95},"action":"insert","lines":["e"],"id":144}],[{"start":{"row":3,"column":95},"end":{"row":3,"column":96},"action":"insert","lines":["'"],"id":145}],[{"start":{"row":3,"column":96},"end":{"row":3,"column":97},"action":"insert","lines":["i"],"id":146}],[{"start":{"row":3,"column":97},"end":{"row":3,"column":98},"action":"insert","lines":["n"],"id":147}],[{"start":{"row":3,"column":98},"end":{"row":3,"column":99},"action":"insert","lines":["g"],"id":148}],[{"start":{"row":3,"column":99},"end":{"row":3,"column":100},"action":"insert","lines":[" "],"id":149}],[{"start":{"row":3,"column":100},"end":{"row":3,"column":101},"action":"insert","lines":["f"],"id":150}],[{"start":{"row":3,"column":101},"end":{"row":3,"column":102},"action":"insert","lines":["u"],"id":151}],[{"start":{"row":3,"column":102},"end":{"row":3,"column":103},"action":"insert","lines":["n"],"id":152}],[{"start":{"row":3,"column":103},"end":{"row":3,"column":104},"action":"insert","lines":["c"],"id":153}],[{"start":{"row":3,"column":104},"end":{"row":3,"column":105},"action":"insert","lines":["t"],"id":154}],[{"start":{"row":3,"column":105},"end":{"row":3,"column":106},"action":"insert","lines":["i"],"id":155}],[{"start":{"row":3,"column":106},"end":{"row":3,"column":107},"action":"insert","lines":["o"],"id":156}],[{"start":{"row":3,"column":107},"end":{"row":3,"column":108},"action":"insert","lines":["n"],"id":157}],[{"start":{"row":3,"column":108},"end":{"row":3,"column":109},"action":"insert","lines":["s"],"id":158}],[{"start":{"row":3,"column":84},"end":{"row":3,"column":87},"action":"remove","lines":["for"],"id":159},{"start":{"row":3,"column":84},"end":{"row":3,"column":85},"action":"insert","lines":["t"]}],[{"start":{"row":3,"column":85},"end":{"row":3,"column":86},"action":"insert","lines":["o"],"id":160}],[{"start":{"row":3,"column":86},"end":{"row":3,"column":87},"action":"insert","lines":[" "],"id":161}],[{"start":{"row":3,"column":87},"end":{"row":3,"column":88},"action":"remove","lines":[" "],"id":162}],[{"start":{"row":3,"column":63},"end":{"row":3,"column":68},"action":"remove","lines":["(JS) "],"id":163}],[{"start":{"row":3,"column":89},"end":{"row":3,"column":93},"action":"remove","lines":["'ing"],"id":164},{"start":{"row":3,"column":89},"end":{"row":3,"column":90},"action":"insert","lines":[" "]}],[{"start":{"row":3,"column":90},"end":{"row":3,"column":91},"action":"insert","lines":["J"],"id":165}],[{"start":{"row":3,"column":91},"end":{"row":3,"column":92},"action":"insert","lines":["S"],"id":166}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["3"],"id":167,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["4"]}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":3,"column":18},"end":{"row":3,"column":102},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1454358091000,"hash":"af540c51caf39a5c1c13ae8a59f3b50a0c696480"}
{"filter":false,"title":"package.json","tooltip":"/package.json","undoManager":{"mark":175,"position":175,"stack":[[{"start":{"row":1,"column":11},"end":{"row":1,"column":22},"action":"remove","lines":["memoize-lru"],"id":2},{"start":{"row":1,"column":11},"end":{"row":1,"column":23},"action":"insert","lines":["memoizerific"]}],[{"start":{"row":4,"column":11},"end":{"row":4,"column":22},"action":"remove","lines":["memoize-lru"],"id":3},{"start":{"row":4,"column":11},"end":{"row":4,"column":23},"action":"insert","lines":["memoizerific"]}],[{"start":{"row":10,"column":45},"end":{"row":10,"column":56},"action":"remove","lines":["memoize-lru"],"id":4},{"start":{"row":10,"column":45},"end":{"row":10,"column":57},"action":"insert","lines":["memoizerific"]}],[{"start":{"row":26,"column":41},"end":{"row":26,"column":52},"action":"remove","lines":["memoize-lru"],"id":5},{"start":{"row":26,"column":41},"end":{"row":26,"column":53},"action":"insert","lines":["memoizerific"]}],[{"start":{"row":28,"column":44},"end":{"row":28,"column":55},"action":"remove","lines":["memoize-lru"],"id":6},{"start":{"row":28,"column":44},"end":{"row":28,"column":56},"action":"insert","lines":["memoizerific"]}],[{"start":{"row":23,"column":0},"end":{"row":24,"column":19},"action":"remove","lines":[" \"author\": \"@thinkloop\","," \"license\": \"MIT\","],"id":7}],[{"start":{"row":3,"column":85},"end":{"row":4,"column":0},"action":"insert","lines":["",""],"id":8},{"start":{"row":4,"column":0},"end":{"row":4,"column":2},"action":"insert","lines":[" "]}],[{"start":{"row":4,"column":0},"end":{"row":5,"column":19},"action":"insert","lines":[" \"author\": \"@thinkloop\","," \"license\": \"MIT\","],"id":9}],[{"start":{"row":5,"column":19},"end":{"row":5,"column":21},"action":"remove","lines":[" "],"id":10},{"start":{"row":5,"column":19},"end":{"row":6,"column":0},"action":"insert","lines":["",""]},{"start":{"row":6,"column":0},"end":{"row":6,"column":2},"action":"insert","lines":[" "]}],[{"start":{"row":29,"column":3},"end":{"row":30,"column":64},"action":"remove","lines":[","," \"homepage\": \"https://github.com/thinkloop/memoizerific#readme\""],"id":11}],[{"start":{"row":5,"column":18},"end":{"row":6,"column":64},"action":"insert","lines":[","," \"homepage\": \"https://github.com/thinkloop/memoizerific#readme\""],"id":12}],[{"start":{"row":26,"column":3},"end":{"row":30,"column":3},"action":"remove","lines":[",",""," \"bugs\": {"," \"url\": \"https://github.com/thinkloop/memoizerific/issues\""," }"],"id":13}],[{"start":{"row":6,"column":64},"end":{"row":10,"column":3},"action":"insert","lines":[",",""," \"bugs\": {"," \"url\": \"https://github.com/thinkloop/memoizerific/issues\""," }"],"id":14}],[{"start":{"row":7,"column":0},"end":{"row":8,"column":0},"action":"remove","lines":["",""],"id":15}],[{"start":{"row":8,"column":61},"end":{"row":9,"column":2},"action":"remove","lines":[""," "],"id":16},{"start":{"row":8,"column":61},"end":{"row":8,"column":62},"action":"insert","lines":[" "]}],[{"start":{"row":7,"column":11},"end":{"row":8,"column":4},"action":"remove","lines":[""," "],"id":17},{"start":{"row":7,"column":11},"end":{"row":7,"column":12},"action":"insert","lines":[" "]}],[{"start":{"row":13,"column":0},"end":{"row":16,"column":4},"action":"remove","lines":[" \"repository\": {"," \"type\": \"git\","," \"url\": \"git+https://github.com/thinkloop/memoizerific.git\""," },"],"id":18}],[{"start":{"row":6,"column":65},"end":{"row":7,"column":0},"action":"insert","lines":["",""],"id":19},{"start":{"row":7,"column":0},"end":{"row":7,"column":2},"action":"insert","lines":[" "]}],[{"start":{"row":7,"column":0},"end":{"row":10,"column":4},"action":"insert","lines":[" \"repository\": {"," \"type\": \"git\","," \"url\": \"git+https://github.com/thinkloop/memoizerific.git\""," },"],"id":20}],[{"start":{"row":9,"column":62},"end":{"row":10,"column":2},"action":"remove","lines":[""," "],"id":21},{"start":{"row":9,"column":62},"end":{"row":9,"column":63},"action":"insert","lines":[" "]}],[{"start":{"row":8,"column":18},"end":{"row":9,"column":4},"action":"remove","lines":[""," "],"id":22},{"start":{"row":8,"column":18},"end":{"row":8,"column":19},"action":"insert","lines":[" "]}],[{"start":{"row":7,"column":17},"end":{"row":8,"column":4},"action":"remove","lines":[""," "],"id":23},{"start":{"row":7,"column":17},"end":{"row":7,"column":18},"action":"insert","lines":[" "]}],[{"start":{"row":22,"column":5},"end":{"row":22,"column":10},"action":"remove","lines":["least"],"id":24},{"start":{"row":22,"column":5},"end":{"row":22,"column":6},"action":"insert","lines":["c"]}],[{"start":{"row":22,"column":6},"end":{"row":22,"column":7},"action":"insert","lines":["a"],"id":25}],[{"start":{"row":22,"column":7},"end":{"row":22,"column":8},"action":"insert","lines":["c"],"id":26}],[{"start":{"row":22,"column":8},"end":{"row":22,"column":9},"action":"insert","lines":["h"],"id":27}],[{"start":{"row":22,"column":9},"end":{"row":22,"column":10},"action":"insert","lines":["e"],"id":28}],[{"start":{"row":22,"column":12},"end":{"row":24,"column":10},"action":"remove","lines":[""," \"recently\","," \"used\""],"id":29}],[{"start":{"row":22,"column":11},"end":{"row":22,"column":12},"action":"remove","lines":[","],"id":30}],[{"start":{"row":22,"column":11},"end":{"row":23,"column":2},"action":"remove","lines":[""," "],"id":31},{"start":{"row":22,"column":11},"end":{"row":22,"column":12},"action":"insert","lines":[" "]}],[{"start":{"row":21,"column":10},"end":{"row":22,"column":4},"action":"remove","lines":[""," "],"id":32},{"start":{"row":21,"column":10},"end":{"row":21,"column":11},"action":"insert","lines":[" "]}],[{"start":{"row":20,"column":9},"end":{"row":21,"column":4},"action":"remove","lines":[""," "],"id":33},{"start":{"row":20,"column":9},"end":{"row":20,"column":10},"action":"insert","lines":[" "]}],[{"start":{"row":19,"column":17},"end":{"row":20,"column":4},"action":"remove","lines":[""," "],"id":34},{"start":{"row":19,"column":17},"end":{"row":19,"column":18},"action":"insert","lines":[" "]}],[{"start":{"row":18,"column":18},"end":{"row":19,"column":4},"action":"remove","lines":[""," "],"id":35},{"start":{"row":18,"column":18},"end":{"row":18,"column":19},"action":"insert","lines":[" "]}],[{"start":{"row":17,"column":15},"end":{"row":18,"column":4},"action":"remove","lines":[""," "],"id":36},{"start":{"row":17,"column":15},"end":{"row":17,"column":16},"action":"insert","lines":[" "]}],[{"start":{"row":16,"column":14},"end":{"row":17,"column":4},"action":"remove","lines":[""," "],"id":37},{"start":{"row":16,"column":14},"end":{"row":16,"column":15},"action":"insert","lines":[" "]}],[{"start":{"row":15,"column":15},"end":{"row":16,"column":4},"action":"remove","lines":[""," "],"id":38},{"start":{"row":15,"column":15},"end":{"row":15,"column":16},"action":"insert","lines":[" "]}],[{"start":{"row":15,"column":15},"end":{"row":15,"column":16},"action":"remove","lines":[" "],"id":39}],[{"start":{"row":15,"column":87},"end":{"row":15,"column":88},"action":"remove","lines":[" "],"id":40}],[{"start":{"row":15,"column":2},"end":{"row":15,"column":88},"action":"remove","lines":["\"keywords\": [\"memoize\", \"memoizer\", \"memoization\", \"javascript\", \"js\", \"lru\", \"cache\"]"],"id":41}],[{"start":{"row":15,"column":0},"end":{"row":15,"column":2},"action":"remove","lines":[" "],"id":42}],[{"start":{"row":14,"column":0},"end":{"row":15,"column":0},"action":"remove","lines":["",""],"id":43}],[{"start":{"row":13,"column":4},"end":{"row":14,"column":0},"action":"remove","lines":["",""],"id":44}],[{"start":{"row":13,"column":3},"end":{"row":13,"column":4},"action":"remove","lines":[","],"id":45}],[{"start":{"row":13,"column":3},"end":{"row":13,"column":4},"action":"insert","lines":[","],"id":48}],[{"start":{"row":13,"column":4},"end":{"row":14,"column":0},"action":"insert","lines":["",""],"id":49},{"start":{"row":14,"column":0},"end":{"row":14,"column":2},"action":"insert","lines":[" "]}],[{"start":{"row":14,"column":2},"end":{"row":15,"column":0},"action":"insert","lines":["",""],"id":50},{"start":{"row":15,"column":0},"end":{"row":15,"column":2},"action":"insert","lines":[" "]}],[{"start":{"row":15,"column":2},"end":{"row":15,"column":88},"action":"insert","lines":["\"keywords\": [\"memoize\", \"memoizer\", \"memoization\", \"javascript\", \"js\", \"lru\", \"cache\"]"],"id":51}],[{"start":{"row":10,"column":23},"end":{"row":10,"column":24},"action":"insert","lines":["."],"id":52}],[{"start":{"row":10,"column":24},"end":{"row":10,"column":25},"action":"insert","lines":["m"],"id":53}],[{"start":{"row":10,"column":25},"end":{"row":10,"column":26},"action":"insert","lines":["i"],"id":54}],[{"start":{"row":10,"column":26},"end":{"row":10,"column":27},"action":"insert","lines":["n"],"id":55}],[{"start":{"row":7,"column":17},"end":{"row":8,"column":3},"action":"insert","lines":[""," "],"id":56,"ignore":true},{"start":{"row":8,"column":18},"end":{"row":9,"column":3},"action":"insert","lines":[""," "]},{"start":{"row":9,"column":62},"end":{"row":10,"column":1},"action":"insert","lines":[""," "]},{"start":{"row":10,"column":4},"end":{"row":10,"column":6},"action":"remove","lines":[" "]},{"start":{"row":11,"column":11},"end":{"row":12,"column":3},"action":"insert","lines":[""," "]},{"start":{"row":12,"column":61},"end":{"row":12,"column":64},"action":"remove","lines":[" },"]},{"start":{"row":13,"column":2},"end":{"row":13,"column":4},"action":"insert","lines":["},"]},{"start":{"row":18,"column":0},"end":{"row":19,"column":0},"action":"remove","lines":[" ",""]},{"start":{"row":18,"column":15},"end":{"row":19,"column":4},"action":"insert","lines":[""," "]},{"start":{"row":19,"column":14},"end":{"row":20,"column":3},"action":"insert","lines":[""," "]},{"start":{"row":20,"column":15},"end":{"row":21,"column":3},"action":"insert","lines":[""," "]},{"start":{"row":21,"column":18},"end":{"row":22,"column":3},"action":"insert","lines":[""," "]},{"start":{"row":22,"column":17},"end":{"row":23,"column":3},"action":"insert","lines":[""," "]},{"start":{"row":23,"column":9},"end":{"row":24,"column":3},"action":"insert","lines":[""," "]},{"start":{"row":24,"column":10},"end":{"row":25,"column":3},"action":"insert","lines":[""," "]},{"start":{"row":25,"column":11},"end":{"row":25,"column":12},"action":"remove","lines":["]"]},{"start":{"row":25,"column":11},"end":{"row":29,"column":3},"action":"insert","lines":[""," ],"," \"dependencies\": {"," \"pseudomap\": \"^1.0.2\""," }"]}],[{"start":{"row":27,"column":19},"end":{"row":29,"column":2},"action":"remove","lines":[""," \"pseudomap\": \"^1.0.2\""," "],"id":57,"ignore":true}],[{"start":{"row":27,"column":20},"end":{"row":30,"column":3},"action":"insert","lines":[","," \"devDependencies\": {"," \"gulp\": \"^3.9.0\""," }"],"id":58,"ignore":true}],[{"start":{"row":29,"column":20},"end":{"row":30,"column":25},"action":"insert","lines":[","," \"gulp-util\": \"^3.0.7\""],"id":59,"ignore":true}],[{"start":{"row":30,"column":25},"end":{"row":31,"column":35},"action":"insert","lines":[","," \"vinyl-source-stream\": \"^1.1.0\""],"id":60,"ignore":true}],[{"start":{"row":31,"column":0},"end":{"row":32,"column":0},"action":"insert","lines":[" \"vinyl-buffer\": \"^1.0.0\",",""],"id":61,"ignore":true}],[{"start":{"row":31,"column":0},"end":{"row":32,"column":0},"action":"insert","lines":[" \"run-sequence\": \"^1.1.5\",",""],"id":62,"ignore":true}],[{"start":{"row":29,"column":0},"end":{"row":30,"column":0},"action":"insert","lines":[" \"browserify\": \"^13.0.0\",",""],"id":63,"ignore":true}],[{"start":{"row":31,"column":0},"end":{"row":32,"column":0},"action":"insert","lines":[" \"gulp-uglify\": \"^1.5.1\",",""],"id":64,"ignore":true}],[{"start":{"row":31,"column":0},"end":{"row":32,"column":0},"action":"insert","lines":[" \"gulp-streamify\": \"^1.0.2\",",""],"id":65,"ignore":true}],[{"start":{"row":29,"column":0},"end":{"row":30,"column":0},"action":"insert","lines":[" \"babelify\": \"^7.2.0\",",""],"id":66,"ignore":true}],[{"start":{"row":29,"column":0},"end":{"row":30,"column":0},"action":"insert","lines":[" \"babel-preset-es2015\": \"^6.3.13\",",""],"id":67,"ignore":true}],[{"start":{"row":29,"column":0},"end":{"row":30,"column":0},"action":"remove","lines":[" \"babel-preset-es2015\": \"^6.3.13\",",""],"id":68,"ignore":true}],[{"start":{"row":29,"column":0},"end":{"row":30,"column":0},"action":"remove","lines":[" \"babelify\": \"^7.2.0\",",""],"id":69,"ignore":true}],[{"start":{"row":29,"column":0},"end":{"row":30,"column":0},"action":"insert","lines":[" \"babelify\": \"^7.2.0\",",""],"id":70,"ignore":true}],[{"start":{"row":29,"column":0},"end":{"row":30,"column":0},"action":"insert","lines":[" \"babel-preset-es2015\": \"^6.3.13\",",""],"id":71,"ignore":true}],[{"start":{"row":32,"column":0},"end":{"row":33,"column":0},"action":"insert","lines":[" \"browserify-umdify\": \"^1.0.3\",",""],"id":72,"ignore":true}],[{"start":{"row":32,"column":0},"end":{"row":33,"column":0},"action":"remove","lines":[" \"browserify-umdify\": \"^1.0.3\",",""],"id":73,"ignore":true}],[{"start":{"row":37,"column":0},"end":{"row":38,"column":0},"action":"insert","lines":[" \"umdify\": \"^0.1.0\",",""],"id":74,"ignore":true}],[{"start":{"row":39,"column":35},"end":{"row":40,"column":28},"action":"insert","lines":[","," \"webpack\": \"^2.0.6-beta\""],"id":75,"ignore":true}],[{"start":{"row":39,"column":35},"end":{"row":40,"column":28},"action":"remove","lines":[","," \"webpack\": \"^2.0.6-beta\""],"id":76,"ignore":true}],[{"start":{"row":20,"column":4},"end":{"row":20,"column":15},"action":"remove","lines":["\"memoizer\","],"id":77},{"start":{"row":20,"column":4},"end":{"row":20,"column":15},"action":"insert","lines":["\"memoizer\","]}],[{"start":{"row":21,"column":18},"end":{"row":22,"column":0},"action":"insert","lines":["",""],"id":78},{"start":{"row":22,"column":0},"end":{"row":22,"column":4},"action":"insert","lines":[" "]}],[{"start":{"row":22,"column":4},"end":{"row":22,"column":15},"action":"insert","lines":["\"memoizer\","],"id":79}],[{"start":{"row":22,"column":12},"end":{"row":22,"column":13},"action":"remove","lines":["r"],"id":80}],[{"start":{"row":22,"column":12},"end":{"row":22,"column":13},"action":"insert","lines":["d"],"id":81}],[{"start":{"row":14,"column":11},"end":{"row":14,"column":12},"action":"insert","lines":["s"],"id":82}],[{"start":{"row":14,"column":12},"end":{"row":14,"column":13},"action":"insert","lines":["r"],"id":83}],[{"start":{"row":14,"column":13},"end":{"row":14,"column":14},"action":"insert","lines":["c"],"id":84}],[{"start":{"row":14,"column":14},"end":{"row":14,"column":15},"action":"insert","lines":["/"],"id":85}],[{"start":{"row":14,"column":27},"end":{"row":14,"column":31},"action":"remove","lines":[".min"],"id":86}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["0"],"id":87,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["1"]}],[{"start":{"row":1,"column":11},"end":{"row":1,"column":12},"action":"remove","lines":["m"],"id":88}],[{"start":{"row":1,"column":11},"end":{"row":1,"column":12},"action":"insert","lines":["M"],"id":89}],[{"start":{"row":1,"column":11},"end":{"row":1,"column":12},"action":"remove","lines":["M"],"id":90}],[{"start":{"row":1,"column":11},"end":{"row":1,"column":12},"action":"insert","lines":["m"],"id":91}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["1"],"id":92,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["2"]}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["2"],"id":93,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["3"]}],[{"start":{"row":3,"column":68},"end":{"row":3,"column":79},"action":"remove","lines":["memoization"],"id":94}],[{"start":{"row":3,"column":67},"end":{"row":3,"column":68},"action":"remove","lines":[" "],"id":95}],[{"start":{"row":3,"column":71},"end":{"row":3,"column":72},"action":"insert","lines":[" "],"id":96}],[{"start":{"row":3,"column":72},"end":{"row":3,"column":73},"action":"insert","lines":["t"],"id":97}],[{"start":{"row":3,"column":73},"end":{"row":3,"column":74},"action":"insert","lines":["o"],"id":98}],[{"start":{"row":3,"column":74},"end":{"row":3,"column":75},"action":"insert","lines":[" "],"id":99}],[{"start":{"row":3,"column":75},"end":{"row":3,"column":76},"action":"insert","lines":["m"],"id":100}],[{"start":{"row":3,"column":76},"end":{"row":3,"column":77},"action":"insert","lines":["e"],"id":101}],[{"start":{"row":3,"column":77},"end":{"row":3,"column":78},"action":"insert","lines":["m"],"id":102}],[{"start":{"row":3,"column":78},"end":{"row":3,"column":79},"action":"insert","lines":["o"],"id":103}],[{"start":{"row":3,"column":79},"end":{"row":3,"column":80},"action":"insert","lines":["i"],"id":104}],[{"start":{"row":3,"column":80},"end":{"row":3,"column":81},"action":"insert","lines":["z"],"id":105}],[{"start":{"row":3,"column":81},"end":{"row":3,"column":82},"action":"insert","lines":["e"],"id":106}],[{"start":{"row":3,"column":82},"end":{"row":3,"column":83},"action":"insert","lines":[" "],"id":107}],[{"start":{"row":3,"column":83},"end":{"row":3,"column":84},"action":"insert","lines":["f"],"id":108}],[{"start":{"row":3,"column":84},"end":{"row":3,"column":85},"action":"insert","lines":["u"],"id":109}],[{"start":{"row":3,"column":85},"end":{"row":3,"column":86},"action":"insert","lines":["n"],"id":110}],[{"start":{"row":3,"column":86},"end":{"row":3,"column":87},"action":"insert","lines":["c"],"id":111}],[{"start":{"row":3,"column":87},"end":{"row":3,"column":88},"action":"insert","lines":["t"],"id":112}],[{"start":{"row":3,"column":88},"end":{"row":3,"column":89},"action":"insert","lines":["i"],"id":113}],[{"start":{"row":3,"column":89},"end":{"row":3,"column":90},"action":"insert","lines":["o"],"id":114}],[{"start":{"row":3,"column":90},"end":{"row":3,"column":91},"action":"insert","lines":["n"],"id":115}],[{"start":{"row":3,"column":91},"end":{"row":3,"column":92},"action":"insert","lines":["s"],"id":116}],[{"start":{"row":3,"column":75},"end":{"row":3,"column":82},"action":"remove","lines":["memoize"],"id":117}],[{"start":{"row":3,"column":68},"end":{"row":3,"column":75},"action":"insert","lines":["memoize"],"id":118}],[{"start":{"row":3,"column":75},"end":{"row":3,"column":76},"action":"insert","lines":[" "],"id":119}],[{"start":{"row":3,"column":80},"end":{"row":3,"column":93},"action":"remove","lines":["to functions"],"id":120}],[{"start":{"row":3,"column":79},"end":{"row":3,"column":80},"action":"remove","lines":[" "],"id":121}],[{"start":{"row":3,"column":68},"end":{"row":3,"column":75},"action":"remove","lines":["memoize"],"id":122},{"start":{"row":3,"column":68},"end":{"row":3,"column":69},"action":"insert","lines":["m"]}],[{"start":{"row":3,"column":69},"end":{"row":3,"column":70},"action":"insert","lines":["e"],"id":123}],[{"start":{"row":3,"column":70},"end":{"row":3,"column":71},"action":"insert","lines":["m"],"id":124}],[{"start":{"row":3,"column":71},"end":{"row":3,"column":72},"action":"insert","lines":["o"],"id":125}],[{"start":{"row":3,"column":72},"end":{"row":3,"column":73},"action":"insert","lines":["i"],"id":126}],[{"start":{"row":3,"column":73},"end":{"row":3,"column":74},"action":"insert","lines":["z"],"id":127}],[{"start":{"row":3,"column":74},"end":{"row":3,"column":75},"action":"insert","lines":["a"],"id":128}],[{"start":{"row":3,"column":75},"end":{"row":3,"column":76},"action":"insert","lines":["t"],"id":129}],[{"start":{"row":3,"column":76},"end":{"row":3,"column":77},"action":"insert","lines":["i"],"id":130}],[{"start":{"row":3,"column":77},"end":{"row":3,"column":78},"action":"insert","lines":["o"],"id":131}],[{"start":{"row":3,"column":78},"end":{"row":3,"column":79},"action":"insert","lines":["n"],"id":132}],[{"start":{"row":3,"column":83},"end":{"row":3,"column":84},"action":"insert","lines":[" "],"id":133}],[{"start":{"row":3,"column":84},"end":{"row":3,"column":85},"action":"insert","lines":["f"],"id":134}],[{"start":{"row":3,"column":85},"end":{"row":3,"column":86},"action":"insert","lines":["o"],"id":135}],[{"start":{"row":3,"column":86},"end":{"row":3,"column":87},"action":"insert","lines":["r"],"id":136}],[{"start":{"row":3,"column":87},"end":{"row":3,"column":88},"action":"insert","lines":[" "],"id":137}],[{"start":{"row":3,"column":88},"end":{"row":3,"column":89},"action":"insert","lines":["m"],"id":138}],[{"start":{"row":3,"column":89},"end":{"row":3,"column":90},"action":"insert","lines":["e"],"id":139}],[{"start":{"row":3,"column":90},"end":{"row":3,"column":91},"action":"insert","lines":["m"],"id":140}],[{"start":{"row":3,"column":91},"end":{"row":3,"column":92},"action":"insert","lines":["o"],"id":141}],[{"start":{"row":3,"column":92},"end":{"row":3,"column":93},"action":"insert","lines":["i"],"id":142}],[{"start":{"row":3,"column":93},"end":{"row":3,"column":94},"action":"insert","lines":["z"],"id":143}],[{"start":{"row":3,"column":94},"end":{"row":3,"column":95},"action":"insert","lines":["e"],"id":144}],[{"start":{"row":3,"column":95},"end":{"row":3,"column":96},"action":"insert","lines":["'"],"id":145}],[{"start":{"row":3,"column":96},"end":{"row":3,"column":97},"action":"insert","lines":["i"],"id":146}],[{"start":{"row":3,"column":97},"end":{"row":3,"column":98},"action":"insert","lines":["n"],"id":147}],[{"start":{"row":3,"column":98},"end":{"row":3,"column":99},"action":"insert","lines":["g"],"id":148}],[{"start":{"row":3,"column":99},"end":{"row":3,"column":100},"action":"insert","lines":[" "],"id":149}],[{"start":{"row":3,"column":100},"end":{"row":3,"column":101},"action":"insert","lines":["f"],"id":150}],[{"start":{"row":3,"column":101},"end":{"row":3,"column":102},"action":"insert","lines":["u"],"id":151}],[{"start":{"row":3,"column":102},"end":{"row":3,"column":103},"action":"insert","lines":["n"],"id":152}],[{"start":{"row":3,"column":103},"end":{"row":3,"column":104},"action":"insert","lines":["c"],"id":153}],[{"start":{"row":3,"column":104},"end":{"row":3,"column":105},"action":"insert","lines":["t"],"id":154}],[{"start":{"row":3,"column":105},"end":{"row":3,"column":106},"action":"insert","lines":["i"],"id":155}],[{"start":{"row":3,"column":106},"end":{"row":3,"column":107},"action":"insert","lines":["o"],"id":156}],[{"start":{"row":3,"column":107},"end":{"row":3,"column":108},"action":"insert","lines":["n"],"id":157}],[{"start":{"row":3,"column":108},"end":{"row":3,"column":109},"action":"insert","lines":["s"],"id":158}],[{"start":{"row":3,"column":84},"end":{"row":3,"column":87},"action":"remove","lines":["for"],"id":159},{"start":{"row":3,"column":84},"end":{"row":3,"column":85},"action":"insert","lines":["t"]}],[{"start":{"row":3,"column":85},"end":{"row":3,"column":86},"action":"insert","lines":["o"],"id":160}],[{"start":{"row":3,"column":86},"end":{"row":3,"column":87},"action":"insert","lines":[" "],"id":161}],[{"start":{"row":3,"column":87},"end":{"row":3,"column":88},"action":"remove","lines":[" "],"id":162}],[{"start":{"row":3,"column":63},"end":{"row":3,"column":68},"action":"remove","lines":["(JS) "],"id":163}],[{"start":{"row":3,"column":89},"end":{"row":3,"column":93},"action":"remove","lines":["'ing"],"id":164},{"start":{"row":3,"column":89},"end":{"row":3,"column":90},"action":"insert","lines":[" "]}],[{"start":{"row":3,"column":90},"end":{"row":3,"column":91},"action":"insert","lines":["J"],"id":165}],[{"start":{"row":3,"column":91},"end":{"row":3,"column":92},"action":"insert","lines":["S"],"id":166}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["3"],"id":167,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["4"]}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["4"],"id":168,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["5"]}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["5"],"id":169,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["6"]}],[{"start":{"row":2,"column":16},"end":{"row":2,"column":19},"action":"remove","lines":["0.6"],"id":170,"ignore":true},{"start":{"row":2,"column":16},"end":{"row":2,"column":19},"action":"insert","lines":["1.0"]}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["0"],"id":171,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["1"]}],[{"start":{"row":34,"column":0},"end":{"row":35,"column":0},"action":"insert","lines":[" \"gulp-derequire\": \"^2.1.0\",",""],"id":172,"ignore":true}],[{"start":{"row":39,"column":0},"end":{"row":40,"column":0},"action":"remove","lines":[" \"umdify\": \"^0.1.0\",",""],"id":173,"ignore":true}],[{"start":{"row":35,"column":0},"end":{"row":36,"column":0},"action":"insert","lines":[" \"gulp-rename\": \"^1.2.2\",",""],"id":174,"ignore":true}],[{"start":{"row":14,"column":11},"end":{"row":14,"column":15},"action":"remove","lines":["src/"],"id":175}],[{"start":{"row":14,"column":23},"end":{"row":14,"column":24},"action":"insert","lines":["."],"id":176}],[{"start":{"row":14,"column":24},"end":{"row":14,"column":25},"action":"insert","lines":["m"],"id":177}],[{"start":{"row":14,"column":25},"end":{"row":14,"column":26},"action":"insert","lines":["i"],"id":178}],[{"start":{"row":14,"column":26},"end":{"row":14,"column":27},"action":"insert","lines":["n"],"id":179}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":14,"column":27},"end":{"row":14,"column":27},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1454399585738,"hash":"d1fa1904b49a17658781b1edb0039e3caa15f31c"}

@@ -6,9 +6,9 @@ var packageJSON = require('./package.json'),

vinylbuffer = require('vinyl-buffer'),
runSequence = require('run-sequence'),
browserify = require('browserify'),
babelify = require('babelify'),
derequire = require('gulp-derequire'),
rename = require('gulp-rename'),
streamify = require('gulp-streamify'),
umdify = require('umdify'),
uglify = require('gulp-uglify'),
gzip = require('gulp-gzip'),

@@ -27,14 +27,8 @@ path = {

process.env.NODE_ENV = 'production';
return runSequence('processJS', function() { gutil.log('done!'); });
});
gulp.task('processJS', function() {
return browserify({
entries : [path.ENTRY_POINT],
standalone: 'memoizerific2',
standalone: 'memoizerific',
debug : false,
cache : {}, packageCache : {}, fullPaths : false
})
.transform("babelify", { presets: ["es2015"] })
.bundle()

@@ -44,3 +38,9 @@ .on("error", handleError)

.pipe(vinylbuffer())
//.pipe(streamify(uglify()))
.pipe(derequire())
.pipe(gulp.dest(path.DEST))
.pipe(rename(path.OUT_MIN))
.pipe(streamify(uglify()))
.pipe(gulp.dest(path.DEST))
.pipe(rename(path.OUT_GZIP))
.pipe(gzip({ append: false, gzipOptions: { level: 9 }}))
.pipe(gulp.dest(path.DEST));

@@ -47,0 +47,0 @@ });

{
"name": "memoizerific",
"version": "1.1.1",
"version": "1.2.0",
"description": "Fastest, smallest, most-efficient JavaScript memoization lib to memoize JS functions",

@@ -15,3 +15,3 @@ "author": "@thinkloop",

},
"main": "src/memoizerific",
"main": "memoizerific.min",
"scripts": {

@@ -36,2 +36,5 @@ "test": "echo \"Error: no test specified\" && exit 1"

"gulp": "^3.9.0",
"gulp-derequire": "^2.1.0",
"gulp-gzip": "^1.2.0",
"gulp-rename": "^1.2.2",
"gulp-streamify": "^1.0.2",

@@ -41,3 +44,2 @@ "gulp-uglify": "^1.5.1",

"run-sequence": "^1.1.5",
"umdify": "^0.1.0",
"vinyl-buffer": "^1.0.0",

@@ -44,0 +46,0 @@ "vinyl-source-stream": "^1.1.0"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc