Sha256: cf58931d2aca74239749bfd7661618c30d100d2055acfc0525107bb8b4dbe532

Contents?: true

Size: 977 Bytes

Versions: 10

Compression:

Stored size: 977 Bytes

Contents

// Avoid `console` errors in browsers that lack a console. (HTML5 Boilerplate)
(function() {
    var method;
    var noop = function () {};
    var methods = [
        'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error',
        'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log',
        'markTimeline', 'profile', 'profileEnd', 'table', 'time', 'timeEnd',
        'timeStamp', 'trace', 'warn'
    ];
    var length = methods.length;
    var console = (window.console = window.console || {});

    while (length--) {
        method = methods[length];

        // Only stub undefined methods.
        if (!console[method]) {
            console[method] = noop;
        }
    }
}());

$.noConflict();
jQuery(document).ready(function($) {
  
  $('.flickr').each(function(i){
    $(this).find('a.image').attr('rel','gallery'+i);
    $('.flickr a.image').colorbox({
      maxWidth:'95%', 
      maxHeight:'95%',
      scrolling: false
    });
  });

});


Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
jekyll-theme-perry-0.1.16 assets/scripts/src/main.js
jekyll-theme-perry-0.1.15 assets/scripts/src/main.js
jekyll-theme-perry-0.1.14 assets/scripts/src/main.js
jekyll-theme-perry-0.1.13 assets/scripts/src/main.js
jekyll-theme-perry-0.1.12 assets/scripts/src/main.js
jekyll-theme-perry-0.1.11 assets/scripts/src/main.js
jekyll-theme-perry-0.1.10 assets/scripts/src/main.js
jekyll-theme-perry-0.1.8 assets/scripts/src/main.js
jekyll-theme-perry-0.1.7 assets/scripts/src/main.js
jekyll-theme-perry-0.1.6 assets/scripts/src/main.js