Skip to content

Commit fec2909

Browse files
jasonalsjbdeboer
authored andcommitted
fix(ngMobile): Use bracket notation to fix minified version
Added aliases for minification
1 parent 4efda14 commit fec2909

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ngMobile/directive/ngClick.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
</doc:example>
2424
*/
2525

26-
ngMobile.config(function($provide) {
27-
$provide.decorator('ngClickDirective', function($delegate) {
26+
ngMobile.config(['$provide', function($provide) {
27+
$provide.decorator('ngClickDirective', ['$delegate', function($delegate) {
2828
// drop the default ngClick directive
2929
$delegate.shift();
3030
return $delegate;
31-
});
32-
});
31+
}]);
32+
}]);
3333

3434
ngMobile.directive('ngClick', ['$parse', '$timeout', '$rootElement',
3535
function($parse, $timeout, $rootElement) {

0 commit comments

Comments
 (0)