Create CONTRIBUTING.md

I added the following to it:

- Bug reporting
- Feature requests
- Contributing guide
- Style guide
This commit is contained in:
Isiah Meadows 2015-11-07 06:34:11 -05:00 committed by impinball
parent df114a4ee2
commit 9fab2b8371
18 changed files with 1209 additions and 352 deletions

View file

@ -15,7 +15,7 @@ describe("m.redraw()", function () {
m.mount(root, {
controller: function () { ctx = this }, // eslint-disable-line
view: function (ctrl) { return ctrl.value }
view: function (ctrl) { return ctrl.value },
})
mock.requestAnimationFrame.$resolve()
@ -38,7 +38,7 @@ describe("m.redraw()", function () {
m.mount(root, {
controller: function () {},
view: view
view: view,
})
mock.requestAnimationFrame.$resolve() // teardown
m.redraw()
@ -57,7 +57,7 @@ describe("m.redraw()", function () {
var view = sinon.spy()
m.mount(root, {
controller: function () {},
view: view
view: view,
})
mock.requestAnimationFrame.$resolve() // teardown
m.redraw(true)
@ -88,7 +88,7 @@ describe("m.redraw()", function () {
function pure(view) {
return {
controller: noop,
view: view
view: view,
}
}
@ -138,8 +138,8 @@ describe("m.redraw()", function () {
},
view: function () {
return m("div")
}
}
},
},
})
expect(strategy).to.equal("all")
@ -164,8 +164,8 @@ describe("m.redraw()", function () {
},
view: function () {
return m("div", {config: config})
}
}
},
},
})
route("/bar1")
@ -185,10 +185,10 @@ describe("m.redraw()", function () {
strategy = m.redraw.strategy()
ctrl.number++
m.redraw.strategy("none")
}
},
}, ctrl.number)
}
}
},
},
})
root.childNodes[0].onclick({})
mock.requestAnimationFrame.$resolve()
@ -211,9 +211,9 @@ describe("m.redraw()", function () {
config: config,
onclick: function () {
m.redraw.strategy("all")
}
},
})
})
}),
})
root.childNodes[0].onclick({})
mock.requestAnimationFrame.$resolve()