Slide 32
Slide 32 text
'use strict';
define([
'jquery',
'bootstrap/bootstrap-collapse',
'bootstrap/bootstrap-tooltip',
'bootstrap/bootstrap-transition'
],
function($) {
/* NAVBAR PUBLIC CLASS DEFINITION
* =============================== */
var Navbar = function(element, options) {
this.init('navbar', element, options);
};
Navbar.prototype = {
constructor: Navbar,
init: function(type, element, options) {
this.type = type;
this.$element = $(element);
JavaScript
JQuery
RequireJS
Knockout.js
Grunt
Node