|
|
|
@ -1,10 +1,10 @@ |
|
|
|
|
(function() { |
|
|
|
|
'use strict'; |
|
|
|
|
|
|
|
|
|
var weechat = angular.module('weechat', ['ngRoute', 'localStorage', 'weechatModels', 'plugins', 'IrcUtils', 'ngSanitize', 'ngWebsockets', 'ngTouch'], function($compileProvider) { |
|
|
|
|
var weechat = angular.module('weechat', ['ngRoute', 'localStorage', 'weechatModels', 'plugins', 'IrcUtils', 'ngSanitize', 'ngWebsockets', 'ngTouch'], ['$compileProvider', function($compileProvider) { |
|
|
|
|
// hacky way to be able to find out if we're in debug mode
|
|
|
|
|
weechat.compileProvider = $compileProvider; |
|
|
|
|
}); |
|
|
|
|
}]); |
|
|
|
|
weechat.config(['$compileProvider', function ($compileProvider) { |
|
|
|
|
// hack to determine whether we're executing the tests
|
|
|
|
|
if (typeof(it) === "undefined" && typeof(describe) === "undefined") { |
|
|
|
|