/*jslint laxbreak:true */ /*jslint laxcomma:true */ /*jslint loopfunc:true */ /*jslint strict:true */ /*jslint browser:true */ /*jslint devel:true */ define([ "jquery" , "backbone" , "bootstrap" ] , function ($, Backbone, Bootstrap) { "use strict"; var List = Backbone.View.extend({ el: $("table") , type: "playlist" , initialize: function (collection, options) { this.$el = $(options.el).find("table:first"); this.type = options.type || "playlist"; List.__super__.initialize.apply(this, arguments); this.$el.html("

" + this.type + "

"); return this; } , render: function () { return this.$el; } }); return List; });