Skip to content

Commit bae9434

Browse files
committed
General tidy up for beta release
1 parent e7d0f6f commit bae9434

File tree

12 files changed

+49
-287
lines changed

12 files changed

+49
-287
lines changed

CHANGELOG.md

Lines changed: 0 additions & 217 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ Contains the compiled `sequence.js` and its minified version `sequence.min.js`.
2020

2121
- `hammer.min.js` - Used for touch support
2222
- `imagesloaded.pkgd.min.js` - Used for preloading images
23-
- `respond.min.js` - Used to make a Sequence theme responsive in Internet Explorer 7 and 8
24-
- `sequence-theme.intro.js` - Options and inititate code to start Sequence on the demo theme
23+
- `sequence-theme.basic.js` - Options and inititation code to start Sequence on the demo theme
2524

2625
### `src`
2726

README.md

Lines changed: 1 addition & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Sequence [![Flattr this git repo](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=IanLunn&url=https://github.com/IanLunn/Sequence&title=Sequence&language=english&tags=github&category=software)
22
=====================
33

4-
> CSS animation framework for creating responsive sliders, presentations, banners, and other step-based applications.
4+
> JavaScript library that provides a simple CSS framework for creating unique, animated themes for sliders, presentations, banners, accordions, and other step-based applications.
55
66
See the [introduction](http://ianlunn.github.io/Sequence/) and [pre-made themes](http://sequencejs.com/).
77

@@ -28,22 +28,6 @@ See the [introduction](http://ianlunn.github.io/Sequence/) and [pre-made themes]
2828

2929
The key philosophy for Sequence is to aid you in creating your animated step-based application without getting in the way of how you or a web browser work. Create content and then animate it using the HTML and CSS you're used to. There's no special syntax to learn, no limitations on the elements you can use, and no heavy JavaScript implementations recreating what the browser is already capable of.
3030

31-
## Demo Themes
32-
33-
The following themes are packaged with the Sequence download package:
34-
35-
- [Intro](http://ianlunn.github.io/Sequence/themes/intro-theme/) - The theme used to introduce Sequence
36-
- [Modern Slide In](http://ianlunn.github.io/Sequence/themes/modern-slide-in/) - A minimalist theme for showcasing products
37-
- [Pop Slide](http://ianlunn.github.io/Sequence/themes/pop-slide/) - A colourful slider with highlighted pagination
38-
- [Cube](http://ianlunn.github.io/Sequence/themes/cube) - A basic 3D cube that spins on the Y axis
39-
- [Basic](http://ianlunn.github.io/Sequence/themes/basic/) - A basic slider that moves side to side
40-
- [Test Theme](http://ianlunn.github.io/Sequence/themes/test-theme/) - Used for Testing Sequence.js and its API
41-
- [Multiple Test Theme](http://ianlunn.github.io/Sequence/themes/mmultiple-test/) - A theme to test multiple instances of Sequence
42-
43-
Additional themes are made available on the [Sequence Theme Store](http://sequencejs.com/themes/)
44-
45-
Head to the [showcase](https://github.com/IanLunn/Sequence/wiki/Showcase) to see themes others have created.
46-
4731
## Getting Started
4832

4933
To get started [download](https://github.com/IanLunn/Sequence#download) Sequence and then head to the [documentation](https://github.com/IanLunn/Sequence/wiki/Documentation). If you'd like to contribute to Sequence's development, please see the [contributing](https://github.com/IanLunn/Sequence/blob/master/contributing.md) guidelines.
@@ -76,34 +60,6 @@ Sequence's browser testing environment is provided by <a href="http://browsersta
7660

7761
[![Browser Stack](http://www.sequencejs.com/wp-content/themes/sequence/images/browserstack-light.png)](http://browserstack.com/)
7862

79-
## History
80-
81-
Sequence v1 was first conceived in 2011 by [Ian Lunn](http://ianlunn.co.uk/) whilst he was recreating an animated effect used on the Apple iPhone 4 website. In creating the demo he realised the limited script had far more
82-
potential if its animations could be written via CSS instead of JavaScript. This would allow developers to easily create their own animations that were completely separate from the logic of the script itself.
83-
84-
CSS animations were still quite new at the time so after a lot of battling with browser support, Ian released the first version of Sequence in February 2012 under an open-source MIT License.
85-
86-
Sequence grew in popularity and was updated with bug fixes and minor features for the next 18 months.
87-
88-
In early 2014, Ian began working on Sequence 2.0.0. This addressed version 1's biggest limitations and issues; the requirement of having to animate all top-level elements, improved touch support, and so on.
89-
90-
Sequence 2.0.0 was released in July 2014.
91-
92-
For a complete list of changes, see the [CHANGELOG](https://github.com/IanLunn/Sequence/blob/master/CHANGELOG.md).
93-
94-
## Limitations
95-
96-
Sometimes when choosing a library, its better to know what it *doesn't* do to enable you to make the decision to use it in a project. Although we've made Sequence as good as it can possibly be, we've tried to keep its scope tight, as such, there are some limitations:
97-
98-
### AJAX Support
99-
100-
If you're planning on using AJAX in your project, know that Sequence can be initiated and destroyed whenever necessary, meaning it can be loaded on a page via AJAX after the page load event. However, at present Sequence doesn't allow for loading additional steps via AJAX.
101-
102-
### 3D Transform Support
103-
104-
At present, some browsers don't fully support CSS 3D transforms.
105-
Internet Explorer 10 and 11 don't support `preserve-3d` and as such, are forced into fallback mode when the use of CSS 3D transforms are detected.
106-
10763
## License
10864

10965
Sequence is made available under a [MIT License](https://github.com/IanLunn/Sequence/blob/master/LICENSE.md).

bower.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "sequencejs",
3-
"description": "CSS animation framework for creating responsive sliders, presentations, banners, and other step-based applications.",
4-
"version": "2.0.0-pre.1",
3+
"description": "JavaScript library that provides a simple CSS framework to create your own unique, animated themes for sliders, presentations, banners, accordions, and other step-based applications.",
4+
"version": "2.0.0-beta.2",
55
"main": "scripts/sequence.min.js",
66
"license": "MIT",
77
"homepage": "http://sequencejs.com/",

css/sequence-theme.basic.css

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
border-radius: 100%;
9999
}
100100
#sequence .seq-pagination > * {
101-
margin: 0 2px;
101+
margin: 0 4px;
102102
padding: 0;
103103
display: inline-block;
104104
*display: inline;
@@ -147,6 +147,11 @@
147147
white-space: normal;
148148
text-align: center;
149149
color: white;
150+
-webkit-transform: translateZ(0);
151+
-moz-transform: translateZ(0);
152+
-ms-transform: translateZ(0);
153+
-o-transform: translateZ(0);
154+
transform: translateZ(0);
150155
}
151156
#sequence .seq-canvas > li:before {
152157
content: "";
@@ -211,6 +216,16 @@
211216
color: #2bbf8e;
212217
}
213218
#sequence h2,
219+
#sequence h3,
220+
#sequence .button {
221+
-moz-osx-font-smoothing: grayscale;
222+
-webkit-transform: translateZ(0);
223+
-moz-transform: translateZ(0);
224+
-ms-transform: translateZ(0);
225+
-o-transform: translateZ(0);
226+
transform: translateZ(0);
227+
}
228+
#sequence h2,
214229
#sequence h3 {
215230
margin: 0 0 .5em 0;
216231
display: block;
@@ -315,8 +330,8 @@
315330
margin-top: -19px;
316331
}
317332
#sequence .seq-pagination > * {
318-
width: 14px;
319-
height: 14px;
333+
width: 20px;
334+
height: 20px;
320335
}
321336
#sequence h2,
322337
#sequence h3 {

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "sequencejs",
3-
"description": "CSS animation framework for creating responsive sliders, presentations, banners, and other step-based applications.",
4-
"version": "2.0.0-pre.1",
3+
"description": "JavaScript library that provides a simple CSS framework to create your own unique, animated themes for sliders, presentations, banners, accordions, and other step-based applications.",
4+
"version": "2.0.0-beta.2",
55
"main": "scripts/sequence.min.js",
66
"license": "MIT",
77
"author": "Ian Lunn",
@@ -14,6 +14,7 @@
1414
"keywords": [
1515
"sequence",
1616
"sequence.js",
17+
"seq",
1718
"slider",
1819
"css3",
1920
"slider",

scripts/sequence-theme.basic.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ var options = {
2828
phaseThreshold: 500,
2929
preloader: true,
3030
reverseWhenNavigatingBackwards: false,
31-
fadeStepWhenSkipped: false
31+
fadeStepWhenSkipped: false,
32+
keyNavigation: true
3233
}
3334

3435
// Launch Sequence on the element, and with the options we specified above

scripts/sequence.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* @link https://github.com/IanLunn/Sequence
88
* @author IanLunn
9-
* @version 2.0.0-alpha.8
9+
* @version 2.0.0-beta.2
1010
* @license https://github.com/IanLunn/Sequence/blob/master/LICENSE
1111
* @copyright Ian Lunn 2015
1212
*/
@@ -85,6 +85,9 @@ function defineSequence(imagesLoaded, Hammer) {
8585
// How long to wait between each step before navigation occurs again
8686
autoPlayDelay: 5000,
8787

88+
// Amount of time to wait until autoPlay starts again after being stopped
89+
autoPlayStartDelay: null,
90+
8891
// Direction of navigation when autoPlay is enabled
8992
autoPlayDirection: 1,
9093

@@ -93,9 +96,6 @@ function defineSequence(imagesLoaded, Hammer) {
9396
// class of "seq-autoplay"
9497
autoPlayButton: true,
9598

96-
// Amount of time to wait until autoPlay starts again after being stopped
97-
autoPlayStartDelay: null,
98-
9999
// Pause autoPlay when the Sequence element is hovered over
100100
autoPlayPauseOnHover: true,
101101

scripts/sequence.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/sequence.min.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)