提交 ef45f9f3 编写于 作者: S sunag

code style

上级 323141e6
......@@ -107,11 +107,11 @@ Node.prototype = {
var hash = '{';
var prop, obj;
for(prop in this) {
for ( prop in this ) {
obj = this[ prop ];
if (obj instanceof Node) {
if ( obj instanceof Node ) {
hash += '"' + prop + '":' + obj.getHash() + ',';
......@@ -119,9 +119,9 @@ Node.prototype = {
}
if (this.hashProperties) {
if ( this.hashProperties ) {
for(var i = 0; i < this.hashProperties.length; i++) {
for ( var i = 0; i < this.hashProperties.length; i ++ ) {
prop = this.hashProperties[ i ];
obj = this[ prop ];
......@@ -134,7 +134,7 @@ Node.prototype = {
hash += '"id":"' + this.uuid + '"}';
return hash;
return hash;
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册