Created
October 10, 2017 06:08
-
-
Save goofmint/ebce7e7c4a01dd8cc1b107a03779bba9 to your computer and use it in GitHub Desktop.
This file contains 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
var mixin = h5.mixin.createMixin({ | |
set: function(p, v) { | |
this[p] = v; | |
}, | |
get: function(p) { | |
return this[p]; | |
}, | |
times: function(p, i) { | |
return this[p] * i; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment