Add editorconfig, resolve differences

This includes newlines, tabs, among other things.
This commit is contained in:
impinball 2016-06-18 02:59:42 -04:00
parent 80d0a69dab
commit b4fb21475c
90 changed files with 1707 additions and 1701 deletions

View file

@ -11,7 +11,7 @@
<script src="../../util/withAttr.js"></script>
<script src="test-prop.js"></script>
<script src="test-withAttr.js"></script>
<script>require("../../ospec/ospec").run()</script>
</body>
</html>
</html>

View file

@ -9,8 +9,8 @@ o.spec("prop", function() {
var initialValue = store()
store(2)
var newValue = store()
o(initialValue).equals(1)
o(newValue).equals(2)
})
})
})

View file

@ -10,7 +10,7 @@ o.spec("withAttr", function() {
handler: withAttr("value", spy)
}
context.handler({currentTarget: {value: 1}})
o(spy.args).deepEquals([1])
o(spy.this).equals(context)
})
@ -23,7 +23,7 @@ o.spec("withAttr", function() {
handler: withAttr("readonly", spy)
}
context.handler({currentTarget: target})
o(spy.args).deepEquals(["readonly"])
o(spy.this).equals(context)
})
@ -32,7 +32,7 @@ o.spec("withAttr", function() {
var context = {}
var handler = withAttr("value", spy, context)
handler({currentTarget: {value: 1}})
o(spy.this).equals(context)
})
})
})