File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed
Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " mobilebone" ,
3- "version" : " 2.7.4 " ,
4- "description" : " Bone main for mobile web APP with a sigle page mode." ,
3+ "version" : " 2.7.8 " ,
4+ "description" : " Bone main for mobile web APP with a sigle page mode by using HTML5 history API router ." ,
55 "main" : " src/mobilebone.js" ,
66 "directories" : {
77 "test" : " test"
1616 "keywords" : [
1717 " Mobilebone" ,
1818 " mobilebone.js" ,
19- " javascript"
19+ " javascript" ,
20+ " router"
2021 ],
2122 "author" : " zhangxinxu" ,
22- "license" : [{
23- "type" : " MIT" ,
24- "url" : " https://github.com/zhangxinxu/mobilebone/blob/master/LICENSE-MIT"
25- }],
23+ "license" : " MIT" ,
2624 "bugs" : {
2725 "url" : " https://github.com/zhangxinxu/mobilebone/issues" ,
2826
Original file line number Diff line number Diff line change 1212 define ( "mobilebone" , function ( exports ) {
1313 return factory ( root , exports ) ;
1414 } ) ;
15- // Finally, as a browser global.
15+ } else if ( typeof module === "object" && typeof module . exports === "object" ) {
16+ module . exports = factory ( root , { } ) ;
1617 } else {
18+ // Finally, as a browser global.
1719 root . Mobilebone = factory ( root , { } ) ;
1820 }
19- } ) ( this , function ( root , Mobilebone ) {
21+ } ) ( ( typeof global !== "undefined" ) ? global
22+ : ( ( typeof window !== "undefined" ) ? window
23+ : ( ( typeof self !== "undefined" ) ? self : this ) ) , function ( root , Mobilebone ) {
2024 if ( document . MBLOADED ) {
2125 return "Don\'t repeat load Mobilebone!" ;
2226 }
You can’t perform that action at this time.
0 commit comments