We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
原文写于 2014-10-10
PPT
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Javascript编码规范
原文写于 2014-10-10
PPT
命名规范
编码规范
angularJS-编码规范
错误的写法:
function TestController($scope, $http){
// do something
}
正确的写法:
app.controller("TestController", ["$scope", "$http", function($scope, $http){
// do something
}]);
错误的写法会导致js压缩时出现js报错。
The text was updated successfully, but these errors were encountered: