mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-21 18:42:31 +08:00
fix(ngMobile): Use bracket notation to fix minified version
Added aliases for minification
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user