Ryan Chandler 4 жил өмнө
parent
commit
28663af942
1 өөрчлөгдсөн 0 нэмэгдсэн , 10 устгасан
  1. 0 10
      src/utils.js

+ 0 - 10
src/utils.js

@@ -8,16 +8,6 @@ export const domReady = () => {
     })
 }
 
-export const buildInitExpression = el => {
-    let expression = "$store = Spruce.subscribe($el)"
-
-    if (el.hasAttribute('x-init')) {
-        expression = `${expression}; ${el.getAttribute('x-init')}`
-    }
-
-    return expression
-}
-
 export const isNullOrUndefined = value => {
     return value === null || value === undefined
 }