aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/dom.js
diff options
context:
space:
mode:
authorMisko Hevery2011-10-07 11:27:49 -0700
committerIgor Minar2011-10-11 11:01:46 -0700
commitfd822bdaf9d04e522aaa5400b673f333190abe98 (patch)
tree451cd26d3f7da862692d6c56e6e8f235824c180a /docs/src/dom.js
parent4f78fd692c0ec51241476e6be9a4df06cd62fdd6 (diff)
downloadangular.js-fd822bdaf9d04e522aaa5400b673f333190abe98.tar.bz2
chore(formating): clean code to be function() {
Diffstat (limited to 'docs/src/dom.js')
-rw-r--r--docs/src/dom.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/src/dom.js b/docs/src/dom.js
index 4210d687..ccfee7ac 100644
--- a/docs/src/dom.js
+++ b/docs/src/dom.js
@@ -12,7 +12,7 @@ function htmlEscape(text){
}
-function DOM(){
+function DOM() {
this.out = [];
this.headingDepth = 0;
}
@@ -69,7 +69,7 @@ DOM.prototype = {
},
code: function(text) {
- this.tag('div', {'ng:non-bindable':''}, function(){
+ this.tag('div', {'ng:non-bindable':''}, function() {
this.tag('pre', {'class':"brush: js; html-script: true;"}, text);
});
},
@@ -84,7 +84,7 @@ DOM.prototype = {
if (content instanceof Array) {
this.ul(content, className, fn);
} else if (fn) {
- this.tag('div', className, function(){
+ this.tag('div', className, function() {
fn.call(this, content);
});
} else {