This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// CanJS jQuery.fn.control | |
// | |
// http://canjs.com/docs/jQuery.fn.control.html | |
// | |
// The jQuery.fn.control method do not appear to work with string parameter | |
// | |
// | |
// Define Plugin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// HTML | |
// | |
<html> | |
<head></head> | |
<body class="loading"></body> | |
</html> | |
// | |
// Template (layout.hbr) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// doesn't work | |
App.ApplicationView = Ember.View.extend({ | |
didInsertElement: function() { | |
$(document).foundation(); | |
} | |
}); | |
// works | |
App.ApplicationView = Ember.View.extend({ | |
didInsertElement: function() { |
NewerOlder