Skip to content

Commit

Permalink
readme extend of custom objects
Browse files Browse the repository at this point in the history
  • Loading branch information
shimondoodkin committed Nov 20, 2015
1 parent fae342c commit 4ec71e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -133,7 +133,7 @@ output:
this.someproperty={};
}
//write a cloning strategy by for obj.constructor.name (function name that used to create the object)
//write a cloning strategy by obj.constructor.name (function name that used to create the object)
ce.howtoclone.MyObject= function(obj) {
var cloned=new obj.constructor();
//cloned.someproperty=obj.someproperty;
Expand Down

0 comments on commit 4ec71e4

Please sign in to comment.