mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-23 13:25:48 +00:00
style(docs/template): add in missing semicolons
Add semicolons where they were missing in the docs section per Google code styling guide. Closes #2736
This commit is contained in:
parent
9d19b512e0
commit
18f14117de
1 changed files with 13 additions and 13 deletions
|
|
@ -114,9 +114,9 @@ docsApp.serviceFactory.fullTextSearch = ['$q', '$rootScope', function($q, $rootS
|
||||||
if(groups[section].length < 15) {
|
if(groups[section].length < 15) {
|
||||||
groups[section].push(item);
|
groups[section].push(item);
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
onReady(groups);
|
onReady(groups);
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}];
|
}];
|
||||||
|
|
@ -134,8 +134,8 @@ docsApp.directive.focused = function($timeout) {
|
||||||
scope.$eval(attrs.focused + '=false');
|
scope.$eval(attrs.focused + '=false');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
scope.$eval(attrs.focused + '=true')
|
scope.$eval(attrs.focused + '=true');
|
||||||
}
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -175,7 +175,7 @@ docsApp.directive.sourceEdit = function(getEmbeddedTemplate) {
|
||||||
openPlunkr(sources);
|
openPlunkr(sources);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
function read(text) {
|
function read(text) {
|
||||||
var files = [];
|
var files = [];
|
||||||
|
|
@ -243,7 +243,7 @@ docsApp.directive.docTutorialReset = function() {
|
||||||
'</div>\n');
|
'</div>\n');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
|
|
||||||
|
|
||||||
docsApp.serviceFactory.angularUrls = function($document) {
|
docsApp.serviceFactory.angularUrls = function($document) {
|
||||||
|
|
@ -257,7 +257,7 @@ docsApp.serviceFactory.angularUrls = function($document) {
|
||||||
});
|
});
|
||||||
|
|
||||||
return urls;
|
return urls;
|
||||||
}
|
};
|
||||||
|
|
||||||
|
|
||||||
docsApp.serviceFactory.formPostData = function($document) {
|
docsApp.serviceFactory.formPostData = function($document) {
|
||||||
|
|
@ -290,7 +290,7 @@ docsApp.serviceFactory.openPlunkr = function(templateMerge, formPostData, angula
|
||||||
var scriptDeps = '';
|
var scriptDeps = '';
|
||||||
angular.forEach(content.deps, function(file) {
|
angular.forEach(content.deps, function(file) {
|
||||||
if (file.name !== 'angular.js') {
|
if (file.name !== 'angular.js') {
|
||||||
scriptDeps += ' <script src="' + file.name + '"></script>\n'
|
scriptDeps += ' <script src="' + file.name + '"></script>\n';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
indexProp = {
|
indexProp = {
|
||||||
|
|
@ -426,7 +426,7 @@ docsApp.controller.DocsController = function($scope, $location, $window, $cookie
|
||||||
last: this.$last,
|
last: this.$last,
|
||||||
active: page1 && this.currentPage == page1 || page2 && this.currentPage == page2
|
active: page1 && this.currentPage == page1 || page2 && this.currentPage == page2
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
|
|
||||||
$scope.submitForm = function() {
|
$scope.submitForm = function() {
|
||||||
$scope.bestMatch && $location.path($scope.bestMatch.page.url);
|
$scope.bestMatch && $location.path($scope.bestMatch.page.url);
|
||||||
|
|
@ -625,7 +625,7 @@ docsApp.controller.DocsController = function($scope, $location, $window, $cookie
|
||||||
},
|
},
|
||||||
types: [],
|
types: [],
|
||||||
filters: []
|
filters: []
|
||||||
}
|
};
|
||||||
modules.push(module);
|
modules.push(module);
|
||||||
}
|
}
|
||||||
return module;
|
return module;
|
||||||
|
|
@ -676,7 +676,7 @@ docsApp.controller.DocsController = function($scope, $location, $window, $cookie
|
||||||
|
|
||||||
angular.element(document.getElementById('disqus_thread')).html('');
|
angular.element(document.getElementById('disqus_thread')).html('');
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
|
|
||||||
angular.module('docsApp', ['ngResource', 'ngCookies', 'ngSanitize', 'bootstrap', 'bootstrapPrettify']).
|
angular.module('docsApp', ['ngResource', 'ngCookies', 'ngSanitize', 'bootstrap', 'bootstrapPrettify']).
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue