Sha256: 2e3be82cfef216f8ba299d14eafad37e5fba92748f9b27283581263b344eb6d0
Contents?: true
Size: 789 Bytes
Versions: 2
Compression:
Stored size: 789 Bytes
Contents
# dashing.js is located in the dashing framework # It includes jquery & batman for you. #= require dashing.js #= require_directory . #= require_tree ../../widgets console.log("Yeah! The dashboard has started!") Dashing.on 'ready', -> Dashing.widget_margins ||= [5, 5] Dashing.widget_base_dimensions ||= [300, 360] Dashing.numColumns ||= 4 contentWidth = (Dashing.widget_base_dimensions[0] + Dashing.widget_margins[0] * 2) * Dashing.numColumns Batman.setImmediate -> $('.gridster').width(contentWidth) $('.gridster ul:first').gridster widget_margins: Dashing.widget_margins widget_base_dimensions: Dashing.widget_base_dimensions avoid_overlapped_widgets: !Dashing.customGridsterLayout draggable: stop: Dashing.showGridsterInstructions
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dashing-1.0 | templates/project/assets/javascripts/application.coffee |
dashing-0.1.2 | templates/project/assets/javascripts/application.coffee |