File tree 3 files changed +65
-0
lines changed
3 files changed +65
-0
lines changed Original file line number Diff line number Diff line change
1
+ function Foo ( )
2
+ {
3
+
4
+ }
5
+
6
+ //var foo = new Foo();
7
+ function foo ( element , a , b )
8
+ {
9
+ element . onclick = function ( ) { a -- , b -- } ;
10
+ }
11
+ function Show ( )
12
+ {
13
+ // return "{} instanceof Object: "+({} instanceof Object)
14
+ // +"<br/>foo instanceof Foo: "+(foo instanceof Foo)
15
+ // +"<br/>foo instanceof Object: "+(foo instanceof Object)
16
+ // +"<br/>foo instanceof Function: "+(foo instanceof Function)
17
+ // +"<br/>Foo instanceof Function: "+(Foo instanceof Function)
18
+ // +"<br/>Foo instanceof Object: "+(Foo instanceof Object)
19
+ // +"<br/>Object instanceof Function: "+(Object instanceof Function)
20
+ // +"<br/>Function instanceof Object: "+(Function instanceof Object)
21
+ // +"<br/>Function instanceof Function: "+(Function instanceof Function);
22
+
23
+ }
24
+
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html >
3
+ < head >
4
+ < title > Hello World!</ title >
5
+ </ head >
6
+ < body >
7
+ < script src = "javascript_style_rules.js "> </ script >
8
+ < script >
9
+ document . write ( Show ( ) ) ;
10
+ require ( 'nw.gui' ) . Window . get ( ) . showDevTools ( ) ;
11
+ var path = './' ;
12
+ var fs = require ( 'fs' ) ;
13
+
14
+ fs . watch ( path , function ( ) {
15
+ if ( location )
16
+ location . reload ( ) ;
17
+ } ) ;
18
+ </ script >
19
+ </ body >
20
+ </ html >
Original file line number Diff line number Diff line change
1
+ {
2
+ "main" : " main.html" ,
3
+ "name" : " PrivateWorkPlatform" ,
4
+ "description" : " 私募工作平台" ,
5
+ "version" : " 0.1.0" ,
6
+ "window" : {
7
+ "title" : " 私募工作平台" ,
8
+ //"icon": "ico/GGRemote.png",
9
+ "toolbar" : false ,
10
+ "frame" : false ,
11
+ "min_width" : 600 ,
12
+ "min_height" : 400 ,
13
+ /*"position": "center",*/
14
+ "resizable" : false//,
15
+ // "show": false
16
+ },
17
+ "webkit" :{
18
+ "plugin" : true
19
+ }//,
20
+ //"snapshot": "coderules.bin"
21
+ }
You can’t perform that action at this time.
0 commit comments