Last active
September 1, 2016 15:16
-
-
Save jjcodes78/1e5f6824e83a6515024b51d3f1cba59f to your computer and use it in GitHub Desktop.
Import and create a non-ready-webpack/browserify Lib to use with VueJs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { entry as Foo } from 'bar' | |
function MyFoo (args..., someProp) { | |
this.someProp = Object.assign({}, Foo.prototype.prop, someProp) | |
return Foo.call(this, args...) | |
} | |
MyFoo.prototype = Foo.prototype |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment