0.0.22 • Published 7 years ago
bcore v0.0.22
bcore
浏览器基础库,提供 event, class, router 等等模块的封装
classes
class.js // 基类, 所有继承关系的class,都需要继承自这里 event.js // 来自node.js,提供基础事件支持 router.js // 提供路由支持,单页应用,或者url存储路径的情况,都可以使用这个包 cookie.js // cookie操作 util.js
incomming
cache.js -- localStorage, db etc.
usage
var class = require('bcore/class');
var event = require('bcore/event');
var router = require('bcore/router');
DOC
class
// 用法
function Constructor() {
// super class constructor
this._super.call(this, args....);
// super class functions
this._super.prototype.funcA();
}
Class.extend(Constructor, {
//properties
});
event
``
### router
0.0.22
7 years ago
0.0.21
9 years ago
0.0.20
9 years ago
0.0.19
9 years ago
0.0.18
9 years ago
0.0.17
9 years ago
0.0.16
9 years ago
0.0.15
9 years ago
0.0.14
9 years ago
0.0.13
9 years ago
0.0.12
9 years ago
0.0.9
10 years ago
0.0.8
10 years ago
0.0.7
10 years ago
0.0.11
10 years ago
0.0.6
10 years ago
0.0.5
10 years ago
0.0.4
10 years ago
0.0.3
10 years ago
0.0.1
10 years ago