@dcloudio/uni-template-compiler 2.0.1-alpha-33720220111002 → 2.0.1-alpha-33820220114001

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/util.js +6 -0
  2. package/package.json +2 -2
package/lib/util.js CHANGED
@@ -255,6 +255,12 @@ function hasEscapeQuote (path) {
255
255
  has = true
256
256
  path.stop()
257
257
  }
258
+ },
259
+ TemplateElement (path) {
260
+ if (path.node.value.cooked.includes('\'')) {
261
+ has = true
262
+ path.stop()
263
+ }
258
264
  }
259
265
  })
260
266
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-template-compiler",
3
- "version": "2.0.1-alpha-33720220111002",
3
+ "version": "2.0.1-alpha-33820220114001",
4
4
  "description": "uni-template-compiler",
5
5
  "main": "lib/index.js",
6
6
  "repository": {
@@ -22,5 +22,5 @@
22
22
  "@babel/types": "^7.3.3",
23
23
  "vue-template-compiler": "^2.6.10"
24
24
  },
25
- "gitHead": "6fcc582dd805b52cd3c8f7d828ca12c2e2f4cedd"
25
+ "gitHead": "20d5f695ce7acd61a5316e0ae6d77895c4c3a2f3"
26
26
  }