瀏覽代碼

remove unused

Evan You 11 年之前
父節點
當前提交
d01c3578e8
共有 2 個文件被更改,包括 0 次插入15 次删除
  1. 0 2
      src/directives/attr.js
  2. 0 13
      src/instance/compile.js

+ 0 - 2
src/directives/attr.js

@@ -1,5 +1,3 @@
-var _ = require('../util')
-
 // SVG xml namespaces
 var namespaces = {
   xlink: 'http://www.w3.org/1999/xlink',

+ 0 - 13
src/instance/compile.js

@@ -229,19 +229,6 @@ exports._bindAttr = function (node, attr) {
   )
 }
 
-/**
- * Helper to translate token value into expression parts.
- *
- * @param {Object} token
- * @return {String}
- */
-
-function expifyToken (token) {
-  return token.tag
-    ? token.value
-    : ("'" + token.value + "'")
-}
-
 /**
  * Check for priority directives that would potentially
  * skip other directives: