Permalink
Browse files

updated jquery example

  • Loading branch information...
nickforddesign committed Apr 26, 2016
1 parent 31b4c4d commit 81c684eb8d1fd0a8db0ed21e7eccdfafd23c5bef
Showing with 2 additions and 41 deletions.
  1. +0 −13 build/js/freezeframe.js
  2. +0 −13 build/js/freezeframe.pkgd.js
  3. +2 −2 examples/index.html
  4. +0 −13 src/js/freezeframe.js
View
@@ -345,19 +345,6 @@ $.fn.freezeframe = function(_options) {
ff.setup().attach();
// $.extend(this, {
// trigger: function() {
// ff.trigger(this.selector);
// return this;
// },
// release: function() {
// ff.release(this.selector);
// return this;
// }
// });
// this could also be done with a loop... for instance
var self = this;
var methods = ['trigger', 'release'];
methods.forEach(function(method) {
@@ -10407,19 +10407,6 @@ $.fn.freezeframe = function(_options) {
ff.setup().attach();
// $.extend(this, {
// trigger: function() {
// ff.trigger(this.selector);
// return this;
// },
// release: function() {
// ff.release(this.selector);
// return this;
// }
// });
// this could also be done with a loop... for instance
var self = this;
var methods = ['trigger', 'release'];
methods.forEach(function(method) {
View
@@ -86,7 +86,7 @@
third.release();
});
window.frozen = $('.my_class_4').freezeframe();
$('.my_class_4').freezeframe();
})
</script>
@@ -108,7 +108,7 @@
<img class="my_class_3 freezeframe-responsive" src="http://static1.squarespace.com/static/51c748abe4b0c275d0aa86bf/56141631e4b0095d43132f02/5614164be4b0652b31fbd0a5/1444744817955/parislove9801.gif" />
<p>responsive,<br />jQuery plugin.</p>
<img class="my_class_4 freezeframe-responsive" src="http://static1.squarespace.com/static/51c748abe4b0c275d0aa86bf/56141631e4b0095d43132f02/5614164be4b0652b31fbd0a5/1444744817955/parislove9801.gif" />
<img class="my_class_4 freezeframe-responsive" src="http://static1.squarespace.com/static/51c748abe4b0c275d0aa86bf/56141f2be4b0a4afc2d17505/56141f47e4b00b973f0ec806/1444159323808/Ecco-Domani-Summer-Cinemagraph-980px.gif?format=1000w" />
<p>cinemagraphs by <a href="http://www.cinemagraphs.com/">cinemagraphs.com</a>
View
@@ -345,19 +345,6 @@ $.fn.freezeframe = function(_options) {
ff.setup().attach();
// $.extend(this, {
// trigger: function() {
// ff.trigger(this.selector);
// return this;
// },
// release: function() {
// ff.release(this.selector);
// return this;
// }
// });
// this could also be done with a loop... for instance
var self = this;
var methods = ['trigger', 'release'];
methods.forEach(function(method) {

0 comments on commit 81c684e

Please sign in to comment.