Sha256: e8d7f1b74346b560dbc50f82b36e1245f523ceaab64fe8701ce827b7ca291223

Contents?: true

Size: 280 Bytes

Versions: 1

Compression:

Stored size: 280 Bytes

Contents

CodeHeroes.Frontend = (function() {
  var bind = function() {
    $("body.frontend a").live("click", function(event) {
      alert("Doing something frontend specific!");
      event.preventDefault();
    });
  };

  return {
    init: function() {
      bind();
    }
  };
}());

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jzip-1.0.11 test/javascripts/assets/jzip/code_heroes/frontend.js