Detection whether position is within community borders.
This commit is contained in:
parent
cabc070b77
commit
43b4ad9178
31 changed files with 11960 additions and 16 deletions
app/scripts
|
@ -1,6 +1,18 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('ffffng')
|
||||
.factory('_', function () {
|
||||
return window._;
|
||||
});
|
||||
(function () {
|
||||
var module = angular.module('ffffng');
|
||||
|
||||
function lib(name, windowField) {
|
||||
if (!windowField) {
|
||||
windowField = name;
|
||||
}
|
||||
|
||||
module.factory(name, function () {
|
||||
return window[windowField];
|
||||
});
|
||||
}
|
||||
|
||||
lib('_');
|
||||
lib('geolib');
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue