Skip to content

Instantly share code, notes, and snippets.

🍭
heyyyyy ya!

JSM jsm1003

🍭
heyyyyy ya!
  • beijing
Block or report user

Report or block jsm1003

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jsm1003
jsm1003 / Parser.js
Created Feb 13, 2017 — forked from Saul-Mirone/MVVM.js
A simple mvvm
View Parser.js
class Register {
constructor() {
this.routes = []
}
regist(obj, k, fn) {
const _i = this.routes.find(function(el) {
if((el.key === k || el.key.toString() === k.toString())
&& Object.is(el.obj, obj)) {
return el
You can’t perform that action at this time.