Moved import of typeahead (hopefully fix load errors)

This commit is contained in:
Fergal Moran
2013-08-12 15:34:26 +01:00
parent e813ad7777
commit e60a7423b3
2 changed files with 2 additions and 2 deletions

View File

@@ -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)

View File

@@ -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) {