Sha256: 3e62163d9d9758060ef77a992a21678fb6ad03cb3f837c8ec5c006a990c2c81f
Contents?: true
Size: 594 Bytes
Versions: 11
Compression:
Stored size: 594 Bytes
Contents
/** * Gumby Init */ // test for touch event support Modernizr.load({ test: Modernizr.touch, // if present load custom jQuery mobile build and update Gumby.click yep: Gumby.path+'/jquery.mobile.custom.min.js', callback: function(url, result, key) { // check jQuery mobile has successfully loaded before using tap events if($.mobile) { window.Gumby.click += ' tap'; } }, // either way initialize Gumby complete: function() { window.Gumby.init(); // if AMD return Gumby object to define if(typeof define == "function" && define.amd) { define(window.Gumby); } } });
Version data entries
11 entries across 11 versions & 2 rubygems