forked from impress/impress.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
5 changed files
with
77 additions
and
25 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,4 +1,7 @@ | ||
{ | ||
"globals": { | ||
"module": true | ||
}, | ||
"boss": true, | ||
"curly": true, | ||
"eqeqeq": true, | ||
|
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,55 @@ | ||
module.exports = function( config ) { | ||
config.set( { | ||
|
||
// Base path, that will be used to resolve files and exclude | ||
basePath: "", | ||
|
||
// Frameworks to use | ||
frameworks: [ "qunit" ], | ||
|
||
// List of files / patterns to load in the browser | ||
files: [ | ||
"test/bootstrap.js", | ||
"js/impress.js", | ||
"test/core_tests.js" | ||
], | ||
|
||
// List of files to exclude | ||
exclude: [], | ||
|
||
// Test results reporter to use | ||
// possible values: 'dots', 'progress', 'junit', 'growl', 'coverage' | ||
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_DEBUG, | ||
|
||
// Enable / disable watching file and executing tests whenever any file changes | ||
autoWatch: true, | ||
|
||
// Start these browsers, currently available: | ||
// - Chrome | ||
// - ChromeCanary | ||
// - Firefox | ||
// - Opera (has to be installed with `npm install karma-opera-launcher`) | ||
// - Safari (only Mac; has to be installed with `npm install karma-safari-launcher`) | ||
// - PhantomJS | ||
// - IE (only Windows; has to be installed with `npm install karma-ie-launcher`) | ||
browsers: [ "Chrome" ], | ||
|
||
// If browser does not capture in given timeout [ms], kill it | ||
captureTimeout: 60000, | ||
|
||
// Continuous Integration mode | ||
// if true, it capture browsers, run tests and exit | ||
singleRun: 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,12 @@ | ||
/*jshint browser:true */ | ||
|
||
var root = document.createElement( "div" ); | ||
root.innerHTML = [ | ||
"<div id='impress'>", | ||
" <div class='step' data-x='-1000' data-y='0'>First slide</div>", | ||
" <div class='step' data-x='-800' data-y='0'>Second slide</div>", | ||
" <div class='step' data-x='-600' data-y='0'>Third slide</div>", | ||
" <div class='step' data-x='-400' data-y='0'>Fourth slide</div>", | ||
"</div>" | ||
].join( "" ); | ||
document.body.appendChild( root ); |
This file was deleted.
Oops, something went wrong.