Skip to content

Commit

Permalink
Add travis and editorconfig file
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceK33z committed Feb 7, 2016
1 parent a381520 commit 284f26d
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# editorconfig.org
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false

[package.json]
indent_size = 2
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
sudo: false
language: node_js

node_js:
- stable

install:
- npm install

script:
- npm test
2 changes: 1 addition & 1 deletion test/test.legend.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var chartDataPie = {
function click(el){
var ev = document.createEvent('MouseEvent');
ev.initMouseEvent(
"click",
'click',
true, true,
window, null,
0, 0, 0, 0,
Expand Down

0 comments on commit 284f26d

Please sign in to comment.