Skip to content

Commit

Permalink
change the default scope function definition context. Now to define f…
Browse files Browse the repository at this point in the history
…unction to scope with a component context use .bind
  • Loading branch information
ortexx committed Aug 17, 2017
1 parent d300e78 commit b9ec3cf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions dist/akili.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/akili.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "akili",
"version": "0.3.6",
"version": "0.3.7",
"description": "Akili - javascript framework",
"main": "./src/akili.js",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion src/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ export default class Component {
let realTarget = utils.getOwnPropertyTarget(target, key);

if(!utils.isPlainObject(realTarget)) {
realTarget[key] = Akili.isolateFunction(realTarget[key], realTarget.__component);
realTarget[key] = Akili.isolateFunction(realTarget[key]);
}
}

Expand Down

0 comments on commit b9ec3cf

Please sign in to comment.