Skip to content

E2e testing #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Jan 24, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .bowerrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"directory": "app/components",
"json": "bower.json"
}
{
"directory": "app/components",
"json": "bower.json"
}
8 changes: 4 additions & 4 deletions .browserstack.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"username": "",
"password": "",
"key": ""
{
"username": "",
"password": "",
"key": ""
}
34 changes: 17 additions & 17 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]

indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
170 changes: 85 additions & 85 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -1,85 +1,85 @@
{
// Settings
"maxerr": 100, // Maximum error before stopping.
"passfail": false, // Stop on first error.
"smarttabs": true, // Suppress warnings about mixed tabs and spaces when the latter are used for alignmnent only

// Predefined globals whom JSHint will ignore.
"browser": true, // Standard browser globals e.g. `window`, `document`.
"predef": [
// Grunt
"__dirname",
// requireJS
"define",
// JASMINE
"describe",
"it",
"xit",
"beforeEach",
"afterEach",
"expect",
"spyOn",
"runs",
"waits",
"waitsFor"
],
"globals": {
"require": true,
"module": true,
"sinon": true,
"S": true,
"steal": true,
"test": true,
"equal": true,
"ok": true
},

// Development
"debug": false, // Allow debugger statements e.g. browser breakpoints.
"devel": false, // Allow developments statements e.g. `console.log();`.

// EcmaScript 5
"es5": true, // Allow EcmaScript 5 syntax.
"esnext": true, // Allow ECMAScript 6 specific syntax
"strict": true, // Require `use strict` pragma in every file.
"globalstrict": true, // Allow global "use strict" (also enables 'strict').

// Bug prevention
"asi": false, // Tolerate Automatic Semicolon Insertion (no semicolons).
"laxbreak": false, // Tolerate unsafe line breaks e.g. `return [\n] x` without semicolons.
"laxcomma": true, // Tolerate comma first
"bitwise": true, // Prohibit bitwise operators (&, |, ^, etc.).
"boss": false, // Tolerate assignments inside if, for & while. Usually conditions & loops are for comparison, not assignments.
"curly": true, // Require {} for every new block or scope.
"eqeqeq": true, // Require triple equals i.e. `===`.
"eqnull": false, // Tolerate use of `== null`.
"evil": false, // Tolerate use of `eval`.
"expr": true, // Tolerate `ExpressionStatement` as Programs.
"forin": false, // Tolerate `for in` loops without `hasOwnPrototype`.
"immed": true, // Require immediate invocations to be wrapped in parens e.g. `( function(){}() );`
"latedef": true, // Prohibit variable use before definition.
"loopfunc": false, // Allow functions to be defined within loops.
"maxdepth": 3, // Max number of block nesting levels
"maxparams": false, // Max number of formal parameters allowed per function
"multistr": false, // Suppress warnings about multi-line strings
"noarg": true, // Prohibit use of `arguments.caller` and `arguments.callee`.
"regexp": true, // Prohibit `.` and `[^...]` in regular expressions.
"shadow": false, // Allows re-define variables later in code e.g. `var x=1; x=2;`.
"supernew": false, // Tolerate `new function () { ... };` and `new Object;`.
"undef": true, // Require all non-global variables be declared before they are used.
"unused": true, // Warn when variable is defined but never used

// Styling prefrences.
"quotmark": "single", // Enforce the consistency of quotation marks
"camelcase": true, // Force all variable names to use either camelCase style or UPPER_CASE with underscores
"indent": 2, // Enforce specific tab width
"newcap": true, // Require capitalization of all constructor functions e.g. `new F()`.
"noempty": false, // Prohibit use of empty blocks.
"nonew": true, // Prohibit use of constructors for side-effects.
"nomen": false, // Prohibit use of initial or trailing underscores in names.
"onevar": false, // Allow only one `var` statement per function.
"plusplus": false, // Prohibit use of `++` & `--`.
"sub": false, // Tolerate all forms of subscript notation besides dot notation e.g. `dict['key']` instead of `dict.key`.
"trailing": true, // Prohibit trailing whitespaces.
"white": false // Enforce Douglas Crockford's JavaScript coding style for white space
}
{
// Settings
"maxerr": 100, // Maximum error before stopping.
"passfail": false, // Stop on first error.
"smarttabs": true, // Suppress warnings about mixed tabs and spaces when the latter are used for alignmnent only
// Predefined globals whom JSHint will ignore.
"browser": true, // Standard browser globals e.g. `window`, `document`.
"predef": [
// Grunt
"__dirname",
// requireJS
"define",
// JASMINE
"describe",
"it",
"xit",
"beforeEach",
"afterEach",
"expect",
"spyOn",
"runs",
"waits",
"waitsFor"
],
"globals": {
"require": true,
"module": true,
"sinon": true,
"S": true,
"steal": true,
"test": true,
"equal": true,
"ok": true
},
// Development
"debug": false, // Allow debugger statements e.g. browser breakpoints.
"devel": false, // Allow developments statements e.g. `console.log();`.
// EcmaScript 5
"es5": true, // Allow EcmaScript 5 syntax.
"esnext": true, // Allow ECMAScript 6 specific syntax
"strict": true, // Require `use strict` pragma in every file.
"globalstrict": true, // Allow global "use strict" (also enables 'strict').
// Bug prevention
"asi": false, // Tolerate Automatic Semicolon Insertion (no semicolons).
"laxbreak": false, // Tolerate unsafe line breaks e.g. `return [\n] x` without semicolons.
"laxcomma": true, // Tolerate comma first
"bitwise": true, // Prohibit bitwise operators (&, |, ^, etc.).
"boss": false, // Tolerate assignments inside if, for & while. Usually conditions & loops are for comparison, not assignments.
"curly": true, // Require {} for every new block or scope.
"eqeqeq": true, // Require triple equals i.e. `===`.
"eqnull": false, // Tolerate use of `== null`.
"evil": false, // Tolerate use of `eval`.
"expr": true, // Tolerate `ExpressionStatement` as Programs.
"forin": false, // Tolerate `for in` loops without `hasOwnPrototype`.
"immed": true, // Require immediate invocations to be wrapped in parens e.g. `( function(){}() );`
"latedef": true, // Prohibit variable use before definition.
"loopfunc": false, // Allow functions to be defined within loops.
"maxdepth": 3, // Max number of block nesting levels
"maxparams": false, // Max number of formal parameters allowed per function
"multistr": false, // Suppress warnings about multi-line strings
"noarg": true, // Prohibit use of `arguments.caller` and `arguments.callee`.
"regexp": true, // Prohibit `.` and `[^...]` in regular expressions.
"shadow": false, // Allows re-define variables later in code e.g. `var x=1; x=2;`.
"supernew": false, // Tolerate `new function () { ... };` and `new Object;`.
"undef": true, // Require all non-global variables be declared before they are used.
"unused": true, // Warn when variable is defined but never used
// Styling prefrences.
"quotmark": "single", // Enforce the consistency of quotation marks
"camelcase": true, // Force all variable names to use either camelCase style or UPPER_CASE with underscores
"indent": 2, // Enforce specific tab width
"newcap": true, // Require capitalization of all constructor functions e.g. `new F()`.
"noempty": false, // Prohibit use of empty blocks.
"nonew": true, // Prohibit use of constructors for side-effects.
"nomen": false, // Prohibit use of initial or trailing underscores in names.
"onevar": false, // Allow only one `var` statement per function.
"plusplus": false, // Prohibit use of `++` & `--`.
"sub": false, // Tolerate all forms of subscript notation besides dot notation e.g. `dict['key']` instead of `dict.key`.
"trailing": true, // Prohibit trailing whitespaces.
"white": false // Enforce Douglas Crockford's JavaScript coding style for white space
}
17 changes: 8 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
language: node_js
node_js:
- '0.8'
- '0.10'
before_install:
- 'npm install -g grunt-cli'
before_script:
- 'npm install -g bower'
- 'bower install'
language: node_js
node_js:
- '0.10'
before_install:
- 'npm install -g grunt-cli'
before_script:
- 'npm install -g bower'
- 'bower install'
Loading