Skip to content
This repository was archived by the owner on Apr 7, 2020. It is now read-only.

Commit 4098e25

Browse files
committed
Build dist for ng-strict-di changes
1 parent 210a60e commit 4098e25

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

dist/ui-leaflet-draw.js

+13-11
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* @version: 0.0.5
55
* @author: Nicholas McCready
6-
* @date: Thu Mar 30 2017 23:52:35 GMT+0800 (SGT)
6+
* @date: Fri Jun 30 2017 20:28:47 GMT+0800 (+08)
77
* @license: MIT
88
*/
99

@@ -67,16 +67,18 @@
6767
restrict: 'A',
6868
scope: false,
6969
replace: false,
70-
require: ['^leaflet'],
71-
controller: function($scope) {
72-
this._deferredDrawTool = $q.defer();
73-
this.getDrawTool = function() {
74-
return this._deferredDrawTool.promise;
75-
};
76-
return this.getScope = function() {
77-
return $scope;
78-
};
79-
},
70+
require: ['leaflet'],
71+
controller: [
72+
'$scope', function($scope) {
73+
this._deferredDrawTool = $q.defer();
74+
this.getDrawTool = function() {
75+
return this._deferredDrawTool.promise;
76+
};
77+
return this.getScope = function() {
78+
return $scope;
79+
};
80+
}
81+
],
8082
link: function(scope, element, attrs, controller) {
8183
var _deferred, _featureGroup, _optionsEditedInDirective, leafletScope, mapController;
8284
mapController = controller[0];

0 commit comments

Comments
 (0)