File tree 2 files changed +11
-9
lines changed
2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"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 ." ,
5
5
"main" : " src/mobilebone.js" ,
6
6
"directories" : {
7
7
"test" : " test"
16
16
"keywords" : [
17
17
" Mobilebone" ,
18
18
" mobilebone.js" ,
19
- " javascript"
19
+ " javascript" ,
20
+ " router"
20
21
],
21
22
"author" : " zhangxinxu" ,
22
- "license" : [{
23
- "type" : " MIT" ,
24
- "url" : " https://github.com/zhangxinxu/mobilebone/blob/master/LICENSE-MIT"
25
- }],
23
+ "license" : " MIT" ,
26
24
"bugs" : {
27
25
"url" : " https://github.com/zhangxinxu/mobilebone/issues" ,
28
26
Original file line number Diff line number Diff line change 12
12
define ( "mobilebone" , function ( exports ) {
13
13
return factory ( root , exports ) ;
14
14
} ) ;
15
- // Finally, as a browser global.
15
+ } else if ( typeof module === "object" && typeof module . exports === "object" ) {
16
+ module . exports = factory ( root , { } ) ;
16
17
} else {
18
+ // Finally, as a browser global.
17
19
root . Mobilebone = factory ( root , { } ) ;
18
20
}
19
- } ) ( this , function ( root , Mobilebone ) {
21
+ } ) ( ( typeof global !== "undefined" ) ? global
22
+ : ( ( typeof window !== "undefined" ) ? window
23
+ : ( ( typeof self !== "undefined" ) ? self : this ) ) , function ( root , Mobilebone ) {
20
24
if ( document . MBLOADED ) {
21
25
return "Don\'t repeat load Mobilebone!" ;
22
26
}
You can’t perform that action at this time.
0 commit comments