Backbone.js Tutorial - 6 - Introduction to Views (ok)

C:\Users\Administrator\Desktop\gulp\app.js

var theView = Backbone.View.extend({
	defaults: {
		name: 'Website'
	},
	initialize: function() {
		console.log("Hehe");
	}
});
jQuery(document).ready(function($) {
	var page = new theView();
});

Last updated

Navigation

Lionel

@Copyright 2023