This repository has been archived by the owner on Apr 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 324
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
107 additions
and
3,327 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
language: node_js | ||
node_js: | ||
- 0.10 | ||
before_script: | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start | ||
notifications: | ||
email: false | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
// Karma configuration | ||
// Generated on Wed Mar 09 2016 13:20:18 GMT+0000 (GMT) | ||
|
||
module.exports = function(config) { | ||
config.set({ | ||
|
||
// base path that will be used to resolve all patterns (eg. files, exclude) | ||
basePath: '', | ||
|
||
|
||
// frameworks to use | ||
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter | ||
frameworks: ['jasmine'], | ||
|
||
|
||
// list of files / patterns to load in the browser | ||
files: [ | ||
'test/vendor/js/jquery.js', | ||
'test/vendor/js/underscore.js', | ||
'test/vendor/js/backbone.js', | ||
'test/vendor/js/backbone-pageable.js', | ||
'lib/backgrid.js', | ||
'test/preamble.js', | ||
'test/column.js', | ||
'test/formatter.js', | ||
'test/cell.js', | ||
'test/row.js', | ||
'test/body.js', | ||
'test/header.js', | ||
'test/grid.js' | ||
], | ||
|
||
|
||
// list of files to exclude | ||
exclude: [ | ||
], | ||
|
||
|
||
// preprocess matching files before serving them to the browser | ||
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor | ||
preprocessors: { | ||
|
||
}, | ||
|
||
|
||
// test results reporter to use | ||
// possible values: 'dots', 'progress' | ||
// available reporters: https://npmjs.org/browse/keyword/karma-reporter | ||
reporters: ['progress'], | ||
|
||
|
||
// web server port | ||
port: 9876, | ||
|
||
|
||
// enable / disable colors in the output (reporters and logs) | ||
colors: true, | ||
|
||
|
||
// level of logging | ||
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG | ||
logLevel: config.LOG_INFO, | ||
|
||
|
||
// enable / disable watching file and executing tests whenever any file changes | ||
autoWatch: false, | ||
|
||
|
||
// start these browsers | ||
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher | ||
browsers: ['Chrome', 'Firefox', 'Safari'], | ||
|
||
|
||
// Continuous Integration mode | ||
// if true, Karma captures browsers, runs the tests and exits | ||
singleRun: false, | ||
|
||
// Concurrency level | ||
// how many browser should be started simultaneous | ||
concurrency: Infinity, | ||
|
||
browserNoActivityTimeout: 30000 | ||
}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/*! | ||
backgrid 0.3.5 | ||
backgrid 0.3.6 | ||
http://github.com/wyuenho/backgrid | ||
Copyright (c) 2016 Jimmy Yuen Ho Wong and contributors <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "backgrid", | ||
"version": "0.3.5", | ||
"version": "0.3.6", | ||
"author": "Jimmy Yuen Ho Wong and contributors <[email protected]>", | ||
"description": "Backgrid.js is a set of components for building semantic and easily stylable data grid widgets with Backbone.", | ||
"homepage": "http://backgridjs.com/", | ||
|
@@ -10,7 +10,7 @@ | |
], | ||
"main": "./lib/backgrid.js", | ||
"scripts": { | ||
"test": "grunt test", | ||
"test": "karma start --single-run --browsers Chrome,Firefox", | ||
"prepublish": "grunt dist" | ||
}, | ||
"repository": { | ||
|
@@ -27,17 +27,21 @@ | |
"grunt-contrib-uglify": "~1.0.0", | ||
"grunt-contrib-watch": "~0.6.1", | ||
"grunt-jsduck": "~1.0.1", | ||
"grunt-karma": "^0.12.1", | ||
"grunt-recess": "~1.0.1", | ||
"grunt-template-jasmine-istanbul": "~0.4.0" | ||
"grunt-template-jasmine-istanbul": "~0.4.0", | ||
"karma": "^0.13.22", | ||
"karma-chrome-launcher": "^0.2.2", | ||
"karma-firefox-launcher": "^0.1.7", | ||
"karma-jasmine": "^0.1.6", | ||
"karma-safari-launcher": "^0.1.1" | ||
}, | ||
"license": "MIT", | ||
"engines": { | ||
"node": ">=0.10" | ||
}, | ||
"private": true, | ||
"dependencies": { | ||
"backbone": "~1.1.2", | ||
"jquery": ">= 1.7.0", | ||
"underscore": "~1.8.3" | ||
} | ||
} |
Oops, something went wrong.