Skip to content

Commit

Permalink
update to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansolid committed Jan 12, 2020
1 parent cdd7589 commit a41ed05
Show file tree
Hide file tree
Showing 6 changed files with 328 additions and 238 deletions.
12 changes: 10 additions & 2 deletions dom-expressions.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@ module.exports = {
output: 'src/runtime.js',
includeTypes: true,
variables: {
imports: [ `import wrap from 's-js'` ],
includeContext: false
imports: [ `import wrap, {value, sample as ignore} from 's-js'` ],
declarations: {
wrapCondition: `(fn) => {
const s = value(ignore(fn));
wrap(() => s(fn()))
return s;
}`
},
includeContext: false,
wrapConditionals: true
}
}
Loading

0 comments on commit a41ed05

Please sign in to comment.