Skip to content

Commit

Permalink
- remove unnecessary log
Browse files Browse the repository at this point in the history
 - bump version
  • Loading branch information
zbryikt committed Nov 19, 2022
1 parent a3fafe6 commit 8903ced
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 12 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
- remove `setContext()` and `setCtx()`, in favor of `ctx()`.


## v1.3.2

- remove unnecessary log


## v1.3.1

- fix bug: subview rendering should update `ctxs`
Expand Down
3 changes: 0 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,9 +365,6 @@
handler = function(arg$){
var local, data, ctx, ctxs;
local = arg$.local, data = arg$.data, ctx = arg$.ctx, ctxs = arg$.ctxs;
if (n === 'prj' && e) {
console.log("blah: ", data.blah);
}
if (e) {
local._view.ctx(data);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/index.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"browser": "dist/index.min.js",
"main": "dist/index.min.js",
"description": "view template micro framework",
"version": "1.3.1",
"version": "1.3.2",
"files": [
"dist/**/*"
],
Expand Down
1 change: 0 additions & 1 deletion src/ldview.ls
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ ldview.prototype = Object.create(Object.prototype) <<< do
})
local._view.init!
handler = ({local,data,ctx,ctxs}) ->
if n == \prj and e => console.log "blah: ", data.blah
if e => local._view.ctx(data)
local._view.ctxs(if ctxs => [ctx] ++ ctxs else [ctx])
local._view.render!
Expand Down
3 changes: 0 additions & 3 deletions web/static/assets/lib/ldview/dev/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,9 +365,6 @@
handler = function(arg$){
var local, data, ctx, ctxs;
local = arg$.local, data = arg$.data, ctx = arg$.ctx, ctxs = arg$.ctxs;
if (n === 'prj' && e) {
console.log("blah: ", data.blah);
}
if (e) {
local._view.ctx(data);
}
Expand Down
2 changes: 1 addition & 1 deletion web/static/assets/lib/ldview/dev/index.min.js

Large diffs are not rendered by default.

0 comments on commit 8903ced

Please sign in to comment.