-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates to Rekapi 0.15.10 and makes logic and name changes to be
consistent with toCSS's switch from "granularity" to "FPS." Squashed commit of the following: commit 39937f2bbe0ac5a02b762c6201b29ff2d636970c Author: Jeremy Kahn <[email protected]> Date: Tue Jul 30 20:34:04 2013 -0700 Updates version 0.1.8. commit 0100b36b804d0e58e867b76aa6647a61e04bc63d Author: Jeremy Kahn <[email protected]> Date: Tue Jul 30 20:32:45 2013 -0700 Variable renames to be consistent with granularity/FPS switch. commit b3d4e7d8d121bc7ce709ab1a76ee872270cb2947 Author: Jeremy Kahn <[email protected]> Date: Tue Jul 30 20:10:24 2013 -0700 Updates Rekapi to 0.15.10 and updates logic to work with FPS instead of granularity.
- Loading branch information
1 parent
9d3bbd9
commit 4b645f5
Showing
11 changed files
with
53 additions
and
58 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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,6 +1,6 @@ | ||
{ | ||
"name": "Stylie", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"homepage": "https://github.com/jeremyckahn/stylie", | ||
"author": "Jeremy Kahn <[email protected]>", | ||
"description": "A CSS3 keyframe generator", | ||
|
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
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,33 @@ | ||
define(['src/app', 'src/constants'], function (app, constant) { | ||
|
||
return Backbone.View.extend({ | ||
|
||
'FPS_RANGE': | ||
constant.MAXIMUM_CSS_OUTPUT_FPS - constant.MINIMUM_CSS_OUTPUT_FPS | ||
|
||
,'initialize': function (opts) { | ||
_.extend(this, opts); | ||
|
||
this.$el.dragonSlider({ | ||
'drag': _.bind(this.onSliderDrag, this) | ||
}); | ||
|
||
var val = | ||
(constant.DEFAULT_CSS_OUTPUT_FPS - constant.MINIMUM_CSS_OUTPUT_FPS) | ||
/ (this.FPS_RANGE - 1); | ||
|
||
this.$el.dragonSliderSet(val, false); | ||
} | ||
|
||
,'onSliderDrag': function (val) { | ||
app.view.cssOutput.renderCSS(); | ||
} | ||
|
||
,'getFPS': function () { | ||
var sliderVal = this.$el.dragonSliderGet(); | ||
return constant.MINIMUM_CSS_OUTPUT_FPS | ||
+ (sliderVal * this.FPS_RANGE); | ||
} | ||
}); | ||
|
||
}); |
This file was deleted.
Oops, something went wrong.