Skip to content

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
  • Loading branch information
subchen committed Oct 9, 2015
1 parent b8c5eb6 commit de7f204
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions angular-async-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* @returns {*} a promised function to ajax load dependencies
*/
function requireLoadFn(dependencies) {
if (typeof dependencies === 'string') {
if (typeof(dependencies) === 'string') {
dependencies = [dependencies];
}
return ['$q', '$rootScope', function($q, $rootScope) {
Expand Down Expand Up @@ -64,7 +64,7 @@
var dependencies = config.dependencies;
if (dependencies === undefined) {
dependencies = [];
} else if (typeof dependencies === 'string') {
} else if (typeof(dependencies) === 'string') {
dependencies = [dependencies];
}
if (config.controllerUrl) {
Expand Down

0 comments on commit de7f204

Please sign in to comment.