kickstrap
Version:
Framework for advanced Bootstrap web development
17 lines (16 loc) • 495 B
text/coffeescript
#
# Standard App Template for Kickstrap
# Uses CommonJS, but can be AMD as well if you prefer
#
# Better than loading 'jquery', would be to have a kickstrap widget base class that
# bundles Angular, AngularFire and some widget helpers:
#
# var k$Widget = require('kickstrap-widget');
#
require "./sample-app.css!"
$ = require("jquery")
exports.attach = (element, options) ->
# dynamic stuff here
setTimeout (->
$(element).html "<p>Dynamic HTML changes</p>"
), options.timeout