Permalink
Browse files

code cleanup

  • Loading branch information...
1 parent fe314f2 commit 746fc38a2ae9751c3e6645abb66bfdade6aef73b @zlorfi committed Apr 4, 2013
Showing with 329 additions and 15,320 deletions.
  1. +1 −1 Gemfile.lock
  2. +2 −1 README.md
  3. BIN public/font/gallery_font-webfont.eot
  4. +243 −0 public/font/gallery_font-webfont.svg
  5. BIN public/font/gallery_font-webfont.ttf
  6. BIN public/font/gallery_font-webfont.woff
  7. +0 −50 public/javascripts/foundation/foundation.alerts.js
  8. +0 −480 public/javascripts/foundation/foundation.clearing.js
  9. +0 −74 public/javascripts/foundation/foundation.cookie.js
  10. +0 −122 public/javascripts/foundation/foundation.dropdown.js
  11. +0 −395 public/javascripts/foundation/foundation.forms.js
  12. +0 −612 public/javascripts/foundation/foundation.joyride.js
  13. +0 −357 public/javascripts/foundation/foundation.js
  14. +0 −130 public/javascripts/foundation/foundation.magellan.js
  15. +0 −365 public/javascripts/foundation/foundation.orbit.js
  16. +0 −159 public/javascripts/foundation/foundation.placeholder.js
  17. +0 −276 public/javascripts/foundation/foundation.reveal.js
  18. +0 −252 public/javascripts/foundation/foundation.section.js
  19. +0 −195 public/javascripts/foundation/foundation.tooltips.js
  20. +0 −225 public/javascripts/foundation/foundation.topbar.js
  21. 0 public/javascripts/{vendor → }/jPages.min.js
  22. 0 public/javascripts/{vendor → }/jquery.fancybox.pack.js
  23. 0 public/javascripts/{vendor → }/jquery.fileupload.js
  24. 0 public/javascripts/{vendor → }/jquery.iframe-transport.js
  25. 0 public/javascripts/{vendor → }/jquery.lazyload.min.js
  26. 0 public/javascripts/{vendor → }/jquery.min.js
  27. 0 public/javascripts/{vendor → }/jquery.ui.widget.js
  28. 0 public/javascripts/{vendor → }/modernizr.custom.js
  29. +0 −9,597 public/javascripts/vendor/jquery.js
  30. +0 −117 public/javascripts/vendor/jquery.mousewheel.js
  31. +0 −1,884 public/javascripts/vendor/zepto.js
  32. +45 −10 views/index.haml
  33. +2 −5 views/layout.haml
  34. +29 −6 views/sass/app.scss
  35. +4 −4 views/top_nav.haml
  36. +3 −3 views/upload.haml
View
@@ -57,7 +57,7 @@ GEM
slop (3.4.4)
tilt (1.3.5)
tzinfo (0.3.36)
- zurb-foundation (4.0.7)
+ zurb-foundation (4.0.9)
sass (>= 3.2.0)
PLATFORMS
View
@@ -8,6 +8,7 @@
- [Mongoid](https://github.com/mongoid/mongoid)
- [jQuery-File-Upload](https://github.com/blueimp/jQuery-File-Upload)
- [fancyBox](https://github.com/fancyapps/fancyBox)
+- [lazyload](https://github.com/tuupola/jquery_lazyload)
## !!WORK STILL IN PROGRESS!!
@@ -24,8 +25,8 @@
## TODO
- image handler exception
- store already loaded images in session
-- fix a whimsical doubling bug when showing images
- huge multiupload of images causes failed images to load in gallery overview
+- add images per page option to paging
## Copyright
(The MIT license)
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.
Binary file not shown.
Binary file not shown.
@@ -1,50 +0,0 @@
-/*jslint unparam: true, browser: true, indent: 2 */
-
-;(function ($, window, document, undefined) {
- 'use strict';
-
- Foundation.libs.alerts = {
- name : 'alerts',
-
- version : '4.0.0',
-
- settings : {
- speed: 300, // fade out speed
- callback: function (){}
- },
-
- init : function (scope, method, options) {
- this.scope = scope || this.scope;
-
- if (typeof method === 'object') {
- $.extend(true, this.settings, method);
- }
-
- if (typeof method != 'string') {
- if (!this.settings.init) this.events();
-
- return this.settings.init;
- } else {
- return this[method].call(this, options);
- }
- },
-
- events : function () {
- var self = this;
-
- $(this.scope).on('click.fndtn.alerts', '[data-alert] a.close', function (e) {
- e.preventDefault();
- $(this).closest("[data-alert]").fadeOut(self.speed, function () {
- $(this).remove();
- self.settings.callback();
- });
- });
-
- this.settings.init = true;
- },
-
- off : function () {
- $(this.scope).off('.fndtn.alerts');
- }
- };
-}(Foundation.zj, this, this.document));
Oops, something went wrong.

0 comments on commit 746fc38

Please sign in to comment.