File tree 4 files changed +161
-1
lines changed
4 files changed +161
-1
lines changed Original file line number Diff line number Diff line change
1
+
2
+ ( {
3
+ baseUrl : "js/" ,
4
+ mainConfigFile : 'js/main.js' ,
5
+ out : "js/main.built.js" ,
6
+ include : 'main' ,
7
+
8
+ optimize : "uglify" ,
9
+
10
+ uglify : {
11
+ toplevel : true ,
12
+ ascii_only : true ,
13
+ beautify : false ,
14
+ max_line_length : 1000
15
+ } ,
16
+
17
+ inlineText : true ,
18
+ useStrict : false ,
19
+
20
+ skipPragmas : false ,
21
+ skipModuleInsertion : false ,
22
+ stubModules : [ 'text' ] ,
23
+ optimizeAllPluginResources : false ,
24
+ findNestedDependencies : false ,
25
+ removeCombined : false ,
26
+
27
+ fileExclusionRegExp : / ^ \. / ,
28
+
29
+ preserveLicenseComments : true ,
30
+
31
+ logLevel : 0
32
+ } )
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html >
3
+ < head >
4
+ < title > JavaScript Particle System</ title >
5
+ < script src ="js/vendor/require.js " data-main ="js/main "> </ script >
6
+ < style >
7
+ body , html {
8
+ margin : 0 ;
9
+ padding : 0 ;
10
+ }
11
+ canvas {
12
+ background-color : black;
13
+ }
14
+ </ style >
15
+ </ head >
16
+ < body >
17
+ < a href ="https://github.com/jsoverson/JavaScript-Particle-System "> < img style ="position: absolute; top: 0; left: 0; border: 0; " src ="https://s3.amazonaws.com/github/ribbons/forkme_left_darkblue_121621.png " alt ="Fork me on GitHub "> </ a >
18
+ < canvas id ="canvas "> </ canvas >
19
+ </ body >
20
+ </ html >
Original file line number Diff line number Diff line change 2
2
< html >
3
3
< head >
4
4
< title > JavaScript Particle System</ title >
5
- < script src ="js/vendor/require.js " data-main ="js/main "> </ script >
5
+ < script src ="js/vendor/require.js " data-main ="js/main.built.js "> </ script >
6
6
< style >
7
7
body , html {
8
8
margin : 0 ;
You can’t perform that action at this time.
0 commit comments