Created
June 27, 2014 08:11
-
-
Save thomasguillory/cbdef870851e80647c3d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mock modules | |
bs = angular.module 'ui.bootstrap', [] | |
xed = angular.module 'xeditable', [] | |
pp = angular.module 'pascalprecht.translate', [] | |
routeModule = angular.module 'ngRoute', [] | |
angular.module '$strap.directives', [] | |
angular.module 'ui.calendar', [] | |
angular.module 'ui.sortable', [] | |
angular.module 'colorpicker.module', [] | |
angular.module 'ngSanitize', [] | |
angular.module 'ui.utils', [] | |
# fake google icon | |
google = | |
maps: | |
SymbolPath: | |
CIRCLE = {} | |
MapTypeId: | |
ROADMAP = {} | |
# Mock service that could be inject | |
bs.factory '$dialog', -> | |
bs.provider '$modal', -> | |
$get: -> | |
$modal = | |
open: -> | |
pp.provider '$translate', -> | |
preferredLanguage: -> | |
$get: -> | |
-> '' | |
xed.factory 'editableOptions', -> | |
{} | |
routeModule.provider '$route', -> | |
$get: -> | |
reload: -> | |
when: -> @ | |
otherwise: -> @ | |
printStackTrace = null | |
# Other | |
I18n = {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment