Comments (1)
不应该放这么多东西到LS里,现在有写异常回调,可以在回调里面调用清理机制:
//写本地存储异常回调,将脚本内容写入本地存储
//出现异常的时候调用,用来提供给业务清理本地存储
//,storekey表示写如的key
'storeExFunc':function(storeKey){
console.log('set store item '+storeKey+' exception');
},
from mt.
Related Issues (16)
- 可以新增读取文本的插件?类似requirejs的text插件 HOT 16
- 看了试过了 感觉还不错 就是不知道 他如何和zepto 这样的框架 配合使用 有详细的例子之类吗 HOT 19
- 现在还有维护? HOT 1
- 和webpack集成有考虑过么 HOT 2
- 好像不能对css、html等文件进行模块化管理? HOT 1
- 请问有和seajs的集成案例么? HOT 4
- 新的增量版本号从哪里来,需要请求接口吗 ? HOT 2
- diff 两个内容基本完全不同的文件,一个200多k,一个300多k,就会出现内存溢出? HOT 1
- 不支持commonJs规范吗
- 关于此库的情况
- 压缩代码时变量名替换对增量更新的影响 HOT 5
- 你好 请问视频中的 pm.js 模块文件在哪里? HOT 1
- mt2.0的规划 HOT 1
- 现有的diff的建议 HOT 1
- MT与angularjs集成有没有解决方案呢? HOT 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mt.