mirror of
https://github.com/fergalmoran/dss.git
synced 2026-01-06 08:54:12 +00:00
Moved import of typeahead (hopefully fix load errors)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
define ['jquery', 'underscore', 'marionette', 'vent',
|
||||
'text!/tpl/SearchView', 'text!/tpl/SearchResultView',
|
||||
'libs/bootstrap/bootstrap-typeahead'],
|
||||
'typeahead'],
|
||||
($, _, Marionette, vent, Template, SearchResultView) ->
|
||||
class SearchView extends Marionette.CompositeView
|
||||
template: _.template(Template)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
var __hasProp = {}.hasOwnProperty,
|
||||
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
|
||||
|
||||
define(['jquery', 'underscore', 'marionette', 'vent', 'text!/tpl/SearchView', 'text!/tpl/SearchResultView', 'libs/bootstrap/bootstrap-typeahead'], function($, _, Marionette, vent, Template, SearchResultView) {
|
||||
define(['jquery', 'underscore', 'marionette', 'vent', 'text!/tpl/SearchView', 'text!/tpl/SearchResultView', 'typeahead'], function($, _, Marionette, vent, Template, SearchResultView) {
|
||||
var SearchView, _ref;
|
||||
|
||||
SearchView = (function(_super) {
|
||||
|
||||
Reference in New Issue
Block a user