Skip to content

Commit 18f1411

Browse files
eddiemongepetebacondarwin
authored andcommitted
style(docs/template): add in missing semicolons
Add semicolons where they were missing in the docs section per Google code styling guide. Closes angular#2736
1 parent 9d19b51 commit 18f1411

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

docs/src/templates/js/docs.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ docsApp.serviceFactory.fullTextSearch = ['$q', '$rootScope', function($q, $rootS
7070
onReady : function() {
7171
this.ready = true;
7272
var self = this;
73-
self.deferReady.resolve();
73+
self.deferReady.resolve();
7474
if(!$rootScope.$$phase) {
7575
$rootScope.$apply();
7676
}
@@ -114,9 +114,9 @@ docsApp.serviceFactory.fullTextSearch = ['$q', '$rootScope', function($q, $rootS
114114
if(groups[section].length < 15) {
115115
groups[section].push(item);
116116
}
117-
})
117+
});
118118
onReady(groups);
119-
})
119+
});
120120
}
121121
};
122122
}];
@@ -134,8 +134,8 @@ docsApp.directive.focused = function($timeout) {
134134
scope.$eval(attrs.focused + '=false');
135135
});
136136
});
137-
scope.$eval(attrs.focused + '=true')
138-
}
137+
scope.$eval(attrs.focused + '=true');
138+
};
139139
};
140140

141141

@@ -175,7 +175,7 @@ docsApp.directive.sourceEdit = function(getEmbeddedTemplate) {
175175
openPlunkr(sources);
176176
};
177177
}
178-
}
178+
};
179179

180180
function read(text) {
181181
var files = [];
@@ -243,7 +243,7 @@ docsApp.directive.docTutorialReset = function() {
243243
'</div>\n');
244244
}
245245
};
246-
}
246+
};
247247

248248

249249
docsApp.serviceFactory.angularUrls = function($document) {
@@ -257,7 +257,7 @@ docsApp.serviceFactory.angularUrls = function($document) {
257257
});
258258

259259
return urls;
260-
}
260+
};
261261

262262

263263
docsApp.serviceFactory.formPostData = function($document) {
@@ -290,7 +290,7 @@ docsApp.serviceFactory.openPlunkr = function(templateMerge, formPostData, angula
290290
var scriptDeps = '';
291291
angular.forEach(content.deps, function(file) {
292292
if (file.name !== 'angular.js') {
293-
scriptDeps += ' <script src="' + file.name + '"></script>\n'
293+
scriptDeps += ' <script src="' + file.name + '"></script>\n';
294294
}
295295
});
296296
indexProp = {
@@ -307,7 +307,7 @@ docsApp.serviceFactory.openPlunkr = function(templateMerge, formPostData, angula
307307

308308
postData['files[index.html]'] = templateMerge(indexHtmlContent, indexProp);
309309
postData['tags[]'] = "angularjs";
310-
310+
311311
postData.private = true;
312312
postData.description = 'AngularJS Example Plunkr';
313313

@@ -426,7 +426,7 @@ docsApp.controller.DocsController = function($scope, $location, $window, $cookie
426426
last: this.$last,
427427
active: page1 && this.currentPage == page1 || page2 && this.currentPage == page2
428428
};
429-
}
429+
};
430430

431431
$scope.submitForm = function() {
432432
$scope.bestMatch && $location.path($scope.bestMatch.page.url);
@@ -625,7 +625,7 @@ docsApp.controller.DocsController = function($scope, $location, $window, $cookie
625625
},
626626
types: [],
627627
filters: []
628-
}
628+
};
629629
modules.push(module);
630630
}
631631
return module;
@@ -676,7 +676,7 @@ docsApp.controller.DocsController = function($scope, $location, $window, $cookie
676676

677677
angular.element(document.getElementById('disqus_thread')).html('');
678678
}
679-
}
679+
};
680680

681681

682682
angular.module('docsApp', ['ngResource', 'ngCookies', 'ngSanitize', 'bootstrap', 'bootstrapPrettify']).

0 commit comments

Comments
 (0)