Use polyfill to support node >0.10

This commit is contained in:
Jia Hao 2016-03-12 01:36:18 +08:00
parent 7783f99e12
commit 136c599f92
3 changed files with 5 additions and 2 deletions

View File

@ -11,6 +11,7 @@ node_js:
- "node"
- "4.2"
- "0.12"
- "0.10"
- "iojs"
install:
- npm run dev-up

View File

@ -38,14 +38,15 @@
"dependencies": {
"async": "^1.5.2",
"axios": "^0.9.1",
"babel-polyfill": "^6.7.2",
"cheerio": "^0.19.0",
"commander": "^2.9.0",
"electron-packager": "^5.2.1",
"gitcloud": "0.0.1",
"gitcloud": "^0.1.0",
"hasbin": "^1.2.0",
"lodash": "^4.0.0",
"ncp": "^2.0.0",
"page-icon": "^0.1.0",
"page-icon": "^0.2.0",
"request": "^2.67.0",
"sanitize-filename": "^1.5.3",
"shelljs": "^0.5.3",

View File

@ -1,4 +1,5 @@
import 'source-map-support/register';
import "babel-polyfill";
import buildApp from './build/buildMain';