- Project Files
- Using Grunt
- Submitting A Bug
- Submitting A Pull Request
- Submit Your Theme to The Showcase
The following gives a brief description for each file's purpose.
Contains stylesheets for the demo page and intro theme.
Contains the compiled sequence.js
and its minified version sequence.min.js
. If you want to develop sequence.js
please do so in the version found in src
. Also contains the following third-party dependencies:
hammer.min.js
- Used for touch supportimagesloaded.pkgd.min.js
- Used for preloading imagessequence-theme.intro.js
- Options and inititation code to start Sequence.js on the Intro theme.
Contains the development version of sequence.js
. This is the file to change should you wish to work on the core Sequence.js library.
Contains a test file and test themes. Head to tests/index.html
.
Lists files/directory that Git should ignore.
Lists Sequence.js' Bower details and the dependencies it uses.
Contains history of all the changes made to Sequence.js.
The very file you are reading right now!
Describes the automated tasks used for developing Sequence.js.
The Intro theme for Sequence.js.
License information for Sequence.js.
Lists Sequence.js' NPM details and the dependencies it uses during development.
The intro to Sequence.js.
The Sequence.js project uses Grunt to automate useful tasks. With Grunt installed (see Grunt's Getting Started), use the following command to install Sequence.js' project dependencies:
npm install
Once Sequence.js dependencies have installed you can use the commands grunt
, grunt serve
, grunt test
, and grunt test-watch
.
This will manually run the tasks run via the grunt serve
command once.
This will start a development environment with the following automated tasks:
- Starts a livereload session that will reload your browser whenever a file is changed (be sure to install livereload)
- Opens your browser and navigates to
http://localhost:8000/
- Sets up a watch task to run the following sub-tasks:
- Update the version number in
sequence.js
andbower.json
when changed inpackage.json
- Copy
src/sequence.js
to thescripts
directory and create an uglify (minified) copy asscripts/sequence.min.js
- Process any
.scss
files found in thescss
directory then copy tocss
and minify
- Update the version number in
You only need to run grunt serve
per each development session as the watch task will continue to operate as you modify files.
Manually runs JSHint and Sequence.js tests via jasmine and karma.
Runs the same tests as the grunt test
command each time the files in tests/
are updated.
Please note that the issue tracker is for bugs only -- either relating to sequence.js, its dependencies, or official Sequence.js themes. For support on your own Sequence.js themes, please use StackOverflow with the tag sequencejs
.
- Search issue tracker for similar issues.
- Specify the version number of the sequence.js library where the bug occurred (you'll find it toward the top of
sequence.js
,sequence.min.js
, orpackage.json
). - Specify your browser version and operating system (for example, Chrome 35, Windows 8)
- Describe the problem in detail. Explain what happened, and what you expected would happen.
- Provide a reduced test-case via CodePen, JSBin, JSFiddle, or similar.
- If helpful, include a screenshot. Annotate the screenshot for clarity.