1.3.2 • Published 8 years ago

next-js-core2 v1.3.2

Weekly downloads
-
License
MIT
Repository
github
Last release
8 years ago

next-js-core2

A javascript OOP toolkit for mobile.

usage:

  • install
npm install --save afeiship/next-js-core2
  • use in node:
var nx = require('next-js-core2');
  • use in browser:
<script type="text/javascript" src="../libs/next-js-core2/dist/next-js-core2.js"></script>
<script type="text/javascript">
(function(nx, global) {
  nx.declare('myApp',{
    statics:{
      init:function(){
        alert('hello next!');
      }
    }
  });
}(nx, nx.GLOBAL));
</script>

todo:

  • split base to string,array,object module.
  • add mocha test for every module.
  • fix this.base issue
  • fix touch device(wechat) this.base() thrrow errors bug. Temp way: this.$base.init.call(this);
  • split base to a standalone project?(next-js-lang)
  • test case
  • optimzie 'pure_static'
  • nx.binds/nx.delegates nx.bind on old android condition.

size:

test

  • test base:mocha test/test_base.js
  • test oop:mocha test/test_oop.js

resources:

log:

1.3.2

8 years ago

1.3.1

8 years ago

1.3.0

8 years ago

1.0.15

9 years ago

1.0.13

9 years ago

1.0.12

9 years ago

1.0.11

9 years ago

1.0.10

9 years ago

1.0.9

9 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago