mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +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>
|
||||
*/
|
||||
|
||||
ngMobile.config(function($provide) {
|
||||
$provide.decorator('ngClickDirective', function($delegate) {
|
||||
ngMobile.config(['$provide', function($provide) {
|
||||
$provide.decorator('ngClickDirective', ['$delegate', function($delegate) {
|
||||
// drop the default ngClick directive
|
||||
$delegate.shift();
|
||||
return $delegate;
|
||||
});
|
||||
});
|
||||
}]);
|
||||
}]);
|
||||
|
||||
ngMobile.directive('ngClick', ['$parse', '$timeout', '$rootElement',
|
||||
function($parse, $timeout, $rootElement) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue