Created
August 29, 2012 22:15
-
-
Save michaeldeol/3519588 to your computer and use it in GitHub Desktop.
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
define(function ( require ) { | |
var $ = require( 'jquery' ), | |
_ = require( 'underscore' ), | |
Backbone = require( 'backbone' ), | |
lib = require( './lib' ), | |
controller = require( './controller/c1' ), | |
model = require( './model/m1' ); | |
//A fabricated API to show interaction of | |
//common and specific pieces. | |
controller.setModel(model); | |
$(function () { | |
// controller.render(lib.getBody()); | |
controller.render( $('body') ); | |
console.log( 'main1.js loaded' ); | |
console.log( Backbone.VERSION ); | |
console.log( _.VERSION ); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment