Skip to content

Instantly share code, notes, and snippets.

@hideki-a
Created December 29, 2012 13:15
Show Gist options
  • Save hideki-a/4406898 to your computer and use it in GitHub Desktop.
Save hideki-a/4406898 to your computer and use it in GitHub Desktop.
run.js by coffeescript
# MJL
MJL.event.add window, "load", ->
MJL.enable.heightEqualizer "equalize-col2"
groupBy: 2
collect: (parent) ->
MJL.getElementsByClassName parent, "content"
MJL.enable.rollover "roll",
disable: "unroll"
return;
# jQuery
window.jQuery && do ($ = jQuery) ->
$ ->
$(".foo").doSomething
option: true
$(".bar").click ->
$(@).toggleClass("open")
return
return
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment