Evan You 9 lat temu
rodzic
commit
0dd158fbaf
4 zmienionych plików z 262 dodań i 238 usunięć
  1. 5 0
      build/.eslintrc
  2. 3 3
      package.json
  3. 2 1
      src/platforms/weex/framework.js
  4. 252 234
      yarn.lock

+ 5 - 0
build/.eslintrc

@@ -0,0 +1,5 @@
+{
+  "rules": {
+    "camelcase": 0
+  }
+}

+ 3 - 3
package.json

@@ -63,7 +63,7 @@
     "babel-eslint": "^7.1.0",
     "babel-helper-vue-jsx-merge-props": "^2.0.2",
     "babel-loader": "^6.2.4",
-    "babel-plugin-istanbul": "^3.0.0",
+    "babel-plugin-istanbul": "^4.0.0",
     "babel-plugin-syntax-dynamic-import": "^6.18.0",
     "babel-plugin-syntax-jsx": "^6.18.0",
     "babel-plugin-transform-vue-jsx": "^3.2.0",
@@ -80,7 +80,7 @@
     "eslint-loader": "^1.3.0",
     "eslint-plugin-flowtype": "^2.16.0",
     "eslint-plugin-jasmine": "^2.1.0",
-    "eslint-plugin-vue": "^1.0.0",
+    "eslint-plugin-vue": "^2.0.0",
     "flow-bin": "^0.39.0",
     "he": "^1.1.0",
     "http-server": "^0.9.0",
@@ -110,7 +110,7 @@
     "rollup-plugin-replace": "^1.1.0",
     "rollup-watch": "^3.2.2",
     "selenium-server": "^2.53.1",
-    "typescript": "^2.0.9",
+    "typescript": "^2.1.6",
     "uglify-js": "^2.6.2",
     "vue-ssr-html-stream": "^2.1.0",
     "vue-ssr-webpack-plugin": "^1.0.0",

+ 2 - 1
src/platforms/weex/framework.js

@@ -100,7 +100,8 @@ export function createInstance (
   const instanceVars = Object.assign({
     Vue,
     weex: weexInstanceVar,
-    __weex_require_module__: weexInstanceVar.requireModule // deprecated
+    // deprecated
+    __weex_require_module__: weexInstanceVar.requireModule // eslint-disable-line
   }, timerAPIs)
   callFunction(instanceVars, appCode)
 

Plik diff jest za duży
+ 252 - 234
yarn.lock


Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików