Skip to content

Commit

Permalink
Added script to download and save all generative-design project examp…
Browse files Browse the repository at this point in the history
…les to p5-web-editor (#526)

* replaced () with {} to fix implicit return error

* added first version of fetching generative-design examples

* ignore local testing files

* formatting

* updated examples-gg-latest

* updated examples-gg-latest.js

- data files not served via rawgit - hallelujah!
- added jquery

* updated p5 version

* refactoring and code cleanup

* added comment

* comment out link to svgFiles - unused

* moved commented code

* fixed conflicts

* linted examples-gg-latest
  • Loading branch information
joeyklee authored and catarak committed Feb 8, 2018
1 parent 3307613 commit 6faf52f
Show file tree
Hide file tree
Showing 3 changed files with 582 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fetch-examples-gg.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
require('babel-register');
require('babel-polyfill');
require('dotenv').config();
require('./server/examples-gg-latest.js');
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"build": "cross-env NODE_ENV=production webpack --config webpack.config.prod.js --progress",
"test": "npm run lint",
"fetch-examples": "node fetch-examples.js",
"fetch-examples-gg": "node fetch-examples-gg.js",
"postinstall": "git submodule update --remote --recursive"
},
"main": "index.js",
Expand Down
Loading

0 comments on commit 6faf52f

Please sign in to comment.