diff --git a/README.md b/README.md
index 5cd0ed8..2105827 100644
--- a/README.md
+++ b/README.md
@@ -41,7 +41,7 @@ To install node embryo module from npm repository :
To use Embryo in browser, just insert this tag in your html :
```javascript
-
+
```
Usage
diff --git a/dist/embryo-0.1.5.js b/dist/embryo-0.1.6.js
similarity index 99%
rename from dist/embryo-0.1.5.js
rename to dist/embryo-0.1.6.js
index 9fbcd53..efc4bab 100644
--- a/dist/embryo-0.1.5.js
+++ b/dist/embryo-0.1.6.js
@@ -1,5 +1,5 @@
/**
- Embryo version 0.1.5
+ Embryo version 0.1.6
Author:
Tierry Danquin
Github:
@@ -101,7 +101,7 @@ var Embryo = function() {
//console.log('---END---')
}
-Embryo.version = '0.1.5'
+Embryo.version = '0.1.6'
Embryo.extend = function( o ) {
diff --git a/dist/embryo-0.1.5.min.js b/dist/embryo-0.1.6.min.js
similarity index 99%
rename from dist/embryo-0.1.5.min.js
rename to dist/embryo-0.1.6.min.js
index a98bb5b..8c84323 100644
--- a/dist/embryo-0.1.5.min.js
+++ b/dist/embryo-0.1.6.min.js
@@ -1 +1 @@
-var embryo_options={cstrName:"init",cstrArrayName:"_types",forceCstr:!0,nameType:"_type",forceTyping:!0,typeDefault:"Embryo",nameProperties:"properties",nameBlacklist:"_blacklist",deleteBlacklist:!0},embryo_plugins=[],embryo_types=[],debugPlugin=function(e,t,i){console.log("["+e+"] - "+t),console.log("\ttype: ",i._type);i=i.prototype||i;for(var e in i)if(i.hasOwnProperty(e)){var n=i[e],r=typeof n;switch(r){case"function":r=(r=n.toString().replace(/\n/g,"")).replace(/\s+/g," ");break;case"object":r=JSON.stringify(n);break;default:r=n}console.log("\tproperty: ["+e+"]:\t\t["+r+"] -> ("+typeof n+")")}},isTypeExist=function(e,t){for(var i=0;i ("+typeof n+")")}},isTypeExist=function(e,t){for(var i=0;i (" + typeof(value) + ")" )
+ console.log( "\tproperty: [" + name + "]:\t\t[" + text + "] -> (" + typeof(value) + ")" )
}
}
}
@@ -80,7 +80,7 @@ var Embryo = function() {
if (props.hasOwnProperty(n)) {
if (typeof this[n] == 'undefined') {
this[n] = props[n]
- //console.log('['+n+']=['+props[n]+']')
+ //console.log('['+n+']=['+props[n]+']')
}
}
}
@@ -118,17 +118,17 @@ Embryo.extend = function( o ) {
throw Error( 'Constructor function invalid.')
}
- var parent = this
+ var parent = this
var child = function() {
return parent.apply(this, arguments)
- }
+ }
child.extend = parent.extend
var Surrogate = function() {}
Surrogate.prototype = this.prototype
child.prototype = new Surrogate
- if (embryo_options.forceTyping && !o[embryo_options.nameType]) {
+ if (embryo_options.forceTyping && !o[embryo_options.nameType]) {
o[embryo_options.nameType] = embryo_options.typeDefault
}
var type = o[embryo_options.nameType]
@@ -166,9 +166,9 @@ Embryo.extend = function( o ) {
//console.log(o._type + ' - end')
//var timeEnd = new Date().getTime()
- //console.log('time: ' + (timeEnd - timeStart) + 'ms')
+ //console.log('time: ' + (timeEnd - timeStart) + 'ms')
- return child
+ return child
}
Embryo.configure = function ( o ) {
@@ -193,7 +193,7 @@ Embryo.plugins = function( name ) {
}
}
return null
-}
+}
Embryo.configure()
@@ -235,7 +235,7 @@ Embryo.Plugin = Embryo.extend({
},
getName: function() {
return this.name
- }
+ }
})
module.exports = Embryo
diff --git a/package.json b/package.json
index d2bb639..7096ac9 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "embryo",
"preferGlobal": "true",
- "version": "0.1.5",
+ "version": "0.1.6",
"engines" : {
"node" : ">=0.8"
},
diff --git a/test/embryo-browser-test.html b/test/embryo-browser-test.html
index a421b7e..b6671eb 100644
--- a/test/embryo-browser-test.html
+++ b/test/embryo-browser-test.html
@@ -5,7 +5,7 @@
-
+