mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-09 07:14:44 +00:00
fix(ngMobile): Use bracket notation to fix minified version
Added aliases for minification
This commit is contained in:
parent
4efda14b49
commit
fec2909f3a
1 changed files with 4 additions and 4 deletions
|
|
@ -23,13 +23,13 @@
|
||||||
</doc:example>
|
</doc:example>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
ngMobile.config(function($provide) {
|
ngMobile.config(['$provide', function($provide) {
|
||||||
$provide.decorator('ngClickDirective', function($delegate) {
|
$provide.decorator('ngClickDirective', ['$delegate', function($delegate) {
|
||||||
// drop the default ngClick directive
|
// drop the default ngClick directive
|
||||||
$delegate.shift();
|
$delegate.shift();
|
||||||
return $delegate;
|
return $delegate;
|
||||||
});
|
}]);
|
||||||
});
|
}]);
|
||||||
|
|
||||||
ngMobile.directive('ngClick', ['$parse', '$timeout', '$rootElement',
|
ngMobile.directive('ngClick', ['$parse', '$timeout', '$rootElement',
|
||||||
function($parse, $timeout, $rootElement) {
|
function($parse, $timeout, $rootElement) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue