File tree Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 1
- /site /js / * function-plot.js
2
- /site /js / * function-plot.js.map
1
+ /site /* function-plot.js
2
+ /site /* function-plot.js.map
3
3
/dist
4
4
/site /partials /examples.html
5
5
/site /partials /recipes.html
Original file line number Diff line number Diff line change 25
25
"build" : " npx rimraf dist && npm run html && npm run docs && npm run build:typescript && npm run build:webpack && npm run build:site" ,
26
26
"build:webpack" : " NODE_ENV=production webpack" ,
27
27
"build:typescript" : " tsc && mkdir -p dist/samplers && cp src/samplers/*.mjs dist/samplers/" ,
28
- "build:site" : " cp dist/*function-plot.js site/js && cp dist/*function-plot.js.map site/js " ,
28
+ "build:site" : " cp dist/*function-plot.js* site/" ,
29
29
"start" : " webpack-dev-server" ,
30
30
"docs" : " typedoc --excludeExternals --externalPattern \" **/node_modules/**\" --out site/docs src/index.ts" ,
31
31
"test" : " npm run test:jest && npm run test:format" ,
Original file line number Diff line number Diff line change @@ -205,13 +205,7 @@ <h1><span class="logo">$f(x)$</span> - Function Plot<br /></h1>
205
205
< script src ="js/plugins.js "> </ script >
206
206
207
207
<!-- app -->
208
- < script >
209
- if ( window . location . origin . indexOf ( 'localhost' ) > - 1 ) {
210
- document . write ( '<script src="function-plot.js"><\/script>' )
211
- } else {
212
- document . write ( '<script src="js/function-plot.js"><\/script>' )
213
- }
214
- </ script >
208
+ < script src ="function-plot.js "> </ script >
215
209
< script src ="js/site.js "> </ script >
216
210
< script >
217
211
$ ( '#recipes' ) . load ( 'partials/recipes.html' )
You can’t perform that action at this time.
0 commit comments