Mercurial > hg > dml-open-vis
annotate src/DML/MainVisBundle/Resources/assets/marionette/App.15-methods-1.js @ 1:f38015048f48 tip
Added GPL
author | Daniel Wolff |
---|---|
date | Sat, 13 Feb 2016 20:43:38 +0100 |
parents | 493bcb69166c |
children |
rev | line source |
---|---|
Daniel@0 | 1 "use strict"; |
Daniel@0 | 2 |
Daniel@0 | 3 /* ========================================================================= |
Daniel@0 | 4 * Methods that should be initialized before modules |
Daniel@0 | 5 */ |
Daniel@0 | 6 App.addInitializer(function(options){ |
Daniel@0 | 7 |
Daniel@0 | 8 // assets |
Daniel@0 | 9 App.generateAssetURL = function(relativeAssetURL) { |
Daniel@0 | 10 return _.str.sprintf("$/%s", relativeAssetURL); |
Daniel@0 | 11 }; |
Daniel@0 | 12 |
Daniel@0 | 13 }); |