Commit fa6f48c0 authored by Julien Cigar's avatar Julien Cigar
Browse files
parents 4cf8f954 ec591957
......@@ -633,12 +633,12 @@
Yeti.Tools = new Object();
/* Yeti.Tools.protoStr
/* Yeti.Tools.typeOf
* Returns a detailed text of the constructor
*/
Yeti.Tools.protoStr = function(obj) {
return Object().toString.call(obj);
Yeti.Tools.typeOf = function(obj) {
return Object().toString.call(obj).match(/(\w+)/ig)[1];
}
/* Yeti.Tools.Serializer
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment