Skip to content

Commit

Permalink
feat: make library strict mode compatiable
Browse files Browse the repository at this point in the history
Make librarty strict mode compatiable
  • Loading branch information
Victor Chaptsev authored and Victor Chaptsev committed Dec 13, 2017
2 parents 306dcac + c61fd3a commit 34401a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function install (Vue, options = {}) {
checkConfig() // Check if all required options are presented

loadScript().then(() => { // Load Metrika script
metrika = createMetrika(Vue) // Create Metrika
const metrika = createMetrika(Vue) // Create Metrika
startTracking(metrika) // Start autotracking
})
}

0 comments on commit 34401a5

Please sign in to comment.