fix(ionicLoading): make showDelay default to 0 (was 2000)

This commit is contained in:
Andy Joslin
2014-02-18 11:57:44 -05:00
parent 43bc57a2ad
commit 0d3718cc21

View File

@@ -5,7 +5,7 @@ angular.module('ionic.service.loading', ['ionic.ui.loading'])
/**
* Load an action sheet with the given template string.
*
* A new isolated scope will be created for the
* A new isolated scope will be created for the
* action sheet and the new element will be appended into the body.
*
* @param {object} opts the options for this ActionSheet (see docs)
@@ -16,7 +16,7 @@ angular.module('ionic.service.loading', ['ionic.ui.loading'])
animation: 'fade-in',
showBackdrop: true,
maxWidth: 200,
showDelay: 2000
showDelay: 0
};
opts = angular.extend(defaults, opts);