Skip to content

Commit

Permalink
renamed all to lowercase, fixes #3
Browse files Browse the repository at this point in the history
  • Loading branch information
SkidX committed Dec 6, 2014
1 parent 0492725 commit 8fef836
Show file tree
Hide file tree
Showing 35 changed files with 130 additions and 141 deletions.
15 changes: 8 additions & 7 deletions README.md
@@ -1,4 +1,4 @@
# Tweene - JS Animation Proxy - ver. 0.5.2
# Tweene - JS Animation Proxy - v0.5.3

__Tweene__ is a JS library that helps to improve your favourite animation engine, allowing you to do more and better.

Expand All @@ -8,7 +8,7 @@ Each programmer and each project have their specific requirements, so sometimes
__Tweene__ is something different. It is an animation proxy: used as a wrapper of your chosen library, it may allow you to

- write animations easily, thanks to its versatile interface that adapts itself to your programming style
- gain extra features
- gain extra features (play, pause, reverse, resume, restart and speed control, Timelines)
- switch easily from one library to another any time you want.

Currently it can work together with [GSAP](http://www.greensock.com/gsap-js/), [Velocity.js](http://julian.com/research/velocity/),
Expand All @@ -24,25 +24,25 @@ To start using Tweene just include the script after your animation library of ch

// use Tweene with GSAP: default time unit is 's'
<script src="/your/path/TweenMax.min.js"></script>;
<script src="/your/path/Tweene-gsap.min.js"></script>
<script src="/your/path/tweene-gsap.min.js"></script>

// use Tweene with jQuery: default time unit is 'ms'
<script src="/your/path/jquery.min.js"></script>
<script src="/your/path/Tweene-jquery.min.js"></script>
<script src="/your/path/tweene-jquery.min.js"></script>

// use Tweene with Transit: default time unit is 'ms'
<script src="/your/path/jquery.transit.js"></script>
<script src="/your/path/Tweene-transit.min.js"></script>
<script src="/your/path/tweene-transit.min.js"></script>

// use Tweene with Velocity.js: default time unit is 'ms'
<script src="/your/path/velocity.min.js"></script>
<script src="/your/path/Tweene-velocity.min.js"></script>
<script src="/your/path/tweene-velocity.min.js"></script>

// use Tweene with more then one library
<script src="/your/path/TweenMax.min.js"></script>
<script src="/your/path/jquery.transit.js"></script>
<script src="/your/path/velocity.min.js"></script>
<script src="/your/path/Tweene-all.min.js"></script>
<script src="/your/path/tweene-all.min.js"></script>
<script>
// set your default time unit and driver
Tweene.defaultTimeUnit = 's';
Expand Down Expand Up @@ -74,6 +74,7 @@ Or with package managers:
require('tweene/velocity');

## History
- __0.5.3__ Renamed all files in lowercase. Fixed jQuery minimum version in package.json dependencies.
- __0.5.2__ Added support for npm and bower.
- __0.5.1__ Predefined transforms order: now transformations are applied always in the same order. Fixed some minor glitches with CSS transitions.
- __0.5.0__ First public release
Expand Down
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name": "tweene",
"version": "0.5.2",
"version": "0.5.3",
"description": "JavaScript Animation Proxy. It can work with GSAP, Velocity.js, Transit or jQuery.",
"keywords": [
"tweene",
Expand Down
16 changes: 7 additions & 9 deletions gsap.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gsap.js.map

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions gulpfile.js
Expand Up @@ -44,57 +44,57 @@ gulp.task('testing', function (done) {
var modulesPath = 'src/';

var commons = [
modulesPath + 'Tweene.js',
modulesPath + 'Common.js',
modulesPath + 'Label.js',
modulesPath + 'Callback.js',
modulesPath + 'TweenCommon.js',
modulesPath + 'TimelineCommon.js'
modulesPath + 'tweene.js',
modulesPath + 'common.js',
modulesPath + 'label.js',
modulesPath + 'callback.js',
modulesPath + 'tween-common.js',
modulesPath + 'timeline-common.js'
];

var pro = [
modulesPath + 'Ticker.js',
modulesPath + 'ControlsPro.js',
modulesPath + 'TweenPro.js',
modulesPath + 'TimelinePro.js',
modulesPath + 'TweeneDummy.js'
modulesPath + 'ticker.js',
modulesPath + 'controls-pro.js',
modulesPath + 'tween-pro.js',
modulesPath + 'timeline-pro.js',
modulesPath + 'tweene-dummy.js'
];

var drivers = {
tweene: {
files: commons.concat(pro, [
modulesPath + 'TweeneGsap.js',
modulesPath + 'TweeneVelocity.js',
modulesPath + 'TweeneTransit.js',
modulesPath + 'TweeneJquery.js'
modulesPath + 'tweene-gsap.js',
modulesPath + 'tweene-velocity.js',
modulesPath + 'tweene-transit.js',
modulesPath + 'tweene-jquery.js'
]),
deps: ['jquery', 'jquery.transit', 'velocity-animate', 'gsap']
},

jquery: {
files: commons.concat(pro, [
modulesPath + 'TweeneJquery.js'
modulesPath + 'tweene-jquery.js'
]),
deps: ['jquery']
},

transit: {
files: commons.concat(pro, [
modulesPath + 'TweeneTransit.js'
modulesPath + 'tweene-transit.js'
]),
deps: ['jquery', 'jquery.transit']
},

velocity: {
files: commons.concat(pro, [
modulesPath + 'TweeneVelocity.js'
modulesPath + 'tweene-velocity.js'
]),
deps: ['jquery', 'velocity-animate']
},

gsap: {
files: commons.concat([
modulesPath + 'TweeneGsap.js'
modulesPath + 'tweene-gsap.js'
]),
deps: ['gsap']
}
Expand Down Expand Up @@ -206,7 +206,7 @@ gulp.task('default', ['src'], function(){
suffix = driver == 'tweene'? 'all' : driver;
streams.push(
gulp.src(driver + '.js')
.pipe(uglify('Tweene-' + suffix + '.min.js'))
.pipe(uglify('tweene-' + suffix + '.min.js'))
.pipe(header(banner, {pkg: pkg}))
.pipe(size({gzip: true, title: driver + ': '}))
.pipe(gulp.dest('minified/'))
Expand Down
26 changes: 12 additions & 14 deletions jquery.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion jquery.js.map

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions karma.conf.js
Expand Up @@ -15,21 +15,21 @@ module.exports = function(config) {
files: [
'vendor/vendor.js',
'test/vendor.js',
'src/Tweene.js',
'src/Common.js',
'src/Label.js',
'src/Callback.js',
'src/Ticker.js',
'src/TweenCommon.js',
'src/TimelineCommon.js',
'src/ControlsPro.js',
'src/TweenPro.js',
'src/TimelinePro.js',
'src/TweeneDummy.js',
'src/TweeneGsap.js',
'src/TweeneVelocity.js',
'src/TweeneTransit.js',
'src/TweeneJquery.js',
'src/tweene.js',
'src/common.js',
'src/label.js',
'src/callback.js',
'src/ticker.js',
'src/tween-common.js',
'src/timeline-common.js',
'src/controls-pro.js',
'src/tween-pro.js',
'src/timeline-pro.js',
'src/tweene-dummy.js',
'src/tweene-gsap.js',
'src/tweene-velocity.js',
'src/tweene-transit.js',
'src/tweene-jquery.js',
'test/spec.js'
],

Expand Down
2 changes: 1 addition & 1 deletion minified/Tweene-all.min.js → minified/tweene-all.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8fef836

Please sign in to comment.