Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit de7f204

Browse files
committed
code format
1 parent b8c5eb6 commit de7f204

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎angular-async-loader.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
* @returns {*} a promised function to ajax load dependencies
3636
*/
3737
function requireLoadFn(dependencies) {
38-
if (typeofdependencies === 'string') {
38+
if (typeof(dependencies) === 'string') {
3939
dependencies = [dependencies];
4040
}
4141
return ['$q', '$rootScope', function($q, $rootScope) {
@@ -64,7 +64,7 @@
6464
var dependencies = config.dependencies;
6565
if (dependencies === undefined) {
6666
dependencies = [];
67-
} else if (typeofdependencies === 'string') {
67+
} else if (typeof(dependencies) === 'string') {
6868
dependencies = [dependencies];
6969
}
7070
if (config.controllerUrl) {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /