ffffng/app/scripts/libs.js

19 lines
324 B
JavaScript
Raw Normal View History

2014-05-12 20:08:19 +02:00
'use strict';
(function () {
var module = angular.module('ffffng');
function lib(name, windowField) {
if (!windowField) {
windowField = name;
}
module.factory(name, function () {
return window[windowField];
});
}
lib('_');
lib('geolib');
})();