Skip to content

Commit

Permalink
Bump version to 0.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
oOthkOo committed Mar 27, 2021
1 parent e51ab08 commit b40eda7
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<script src="dist/embryo-0.1.5.min.js" type="text/javascript"></script>
<script src="dist/embryo-0.1.6.min.js" type="text/javascript"></script>
```

Usage
Expand Down
4 changes: 2 additions & 2 deletions dist/embryo-0.1.5.js → dist/embryo-0.1.6.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
Embryo version 0.1.5
Embryo version 0.1.6
Author:
Tierry Danquin
Github:
Expand Down Expand Up @@ -101,7 +101,7 @@ var Embryo = function() {
//console.log('---END---')
}

Embryo.version = '0.1.5'
Embryo.version = '0.1.6'

Embryo.extend = function( o ) {

Expand Down
2 changes: 1 addition & 1 deletion dist/embryo-0.1.5.min.js → dist/embryo-0.1.6.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions lib/embryo.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
Embryo version 0.1.1
Embryo version 0.1.6
Author:
Tierry Danquin
Github:
Expand Down Expand Up @@ -43,7 +43,7 @@ var debugPlugin = function( name, step, o ) {
text = value
break
}
console.log( "\tproperty: [" + name + "]:\t\t[" + text + "] -> (" + typeof(value) + ")" )
console.log( "\tproperty: [" + name + "]:\t\t[" + text + "] -> (" + typeof(value) + ")" )
}
}
}
Expand Down Expand Up @@ -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]+']')
}
}
}
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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 ) {
Expand All @@ -193,7 +193,7 @@ Embryo.plugins = function( name ) {
}
}
return null
}
}

Embryo.configure()

Expand Down Expand Up @@ -235,7 +235,7 @@ Embryo.Plugin = Embryo.extend({
},
getName: function() {
return this.name
}
}
})

module.exports = Embryo
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "embryo",
"preferGlobal": "true",
"version": "0.1.5",
"version": "0.1.6",
"engines" : {
"node" : ">=0.8"
},
Expand Down
2 changes: 1 addition & 1 deletion test/embryo-browser-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<script src="../dist/embryo-0.1.5.js" type="text/javascript"></script>
<script src="../dist/embryo-0.1.6.js" type="text/javascript"></script>
<script src="./embryo-browser-test.js" type="text/javascript"></script>
<script type="text/javascript">

Expand Down

0 comments on commit b40eda7

Please sign in to comment.