- 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 theme and demo overlay.
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 imagesrespond.min.js
- Used to make a Sequence theme responsive in Internet Explorer 7 and 8sequence-theme.intro.js
- Options and inititate code to start Sequence on the demo theme
Contains the development version of sequence.js
. This is the file to change should you wish to work on the core Sequence library.
Contains a test file and test themes. Head to tests/index.html
.
Lists files/directory that Git should ignore.
Lists Sequence's Bower details and the dependencies it uses.
Contains history of all the changes made to Sequence.
The very file you are reading right now!
Contains everything you need to know about working with Sequence.
Describes the automated tasks used for developing Sequence.
The demo theme for Sequence.
License information for Sequence.
Lists Sequence's NPM details and the dependencies it uses during development.
The intro to Sequence.
The Sequence project uses Grunt to automate useful tasks. With Grunt installed (see Grunt's Getting Started), use the following command to install Sequence's project dependencies:
npm install
Once Sequence's project dependencies have installed you can use the commands grunt
, grunt run
, grunt jshint
.
This is the default command that 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, autoprefix them and then copy tocss
and minify
- Update the version number in
You only need to run grunt
per each development session as the watch task will continue to operate as you modify files.
The grunt run
command is a manual version of the watch sub tasks listed for the grunt
command.
The grunt jshint
command will run a command line version of JSHint that suggests improvements that can be made in src/sequence.js
.
Please note that the issue tracker is for bugs only -- either relating to sequence.js, its dependencies, or official Sequence themes. For support on your own Sequence themes, please use StackOverflow with the tags sequence
and/or sequencejs
.
- Search issue tracker for similar issues.
- Try the latest dev branch version of sequence.js.
- 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 small test-case via CodePen, JSBin, JSFiddle, or similar. If a test-case is not possible, provide a link to a live version of your application.
- If helpful, include a screenshot. Annotate the screenshot for clarity.
- Make sure you have a GitHub account.
- Fork the repository on GitHub.
- Make changes to your clone of the repository.
- Submit a pull request.
If you've created a Sequence theme you'd like the world to see, submit it to our showcase and it may get featured on the SequenceJS.com website!