hyperscript
Advanced tools
Comparing version 1.4.5 to 1.4.6
{ | ||
"name": "hyperscript", | ||
"version": "1.4.5", | ||
"version": "1.4.6", | ||
"homepage": "https://github.com/dominictarr/hyperscript", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -26,6 +26,6 @@ # HyperScript | ||
h('h2', 'content title', { style: {'background-color': '#f22'} }), | ||
h('p', | ||
h('p', | ||
"so it's just like a templating engine,\n", | ||
"but easy to use inline with javascript\n"), | ||
h('p', | ||
h('p', | ||
"the intension is for this to be used to create\n", | ||
@@ -83,3 +83,3 @@ "reusable, interactive html widgets. ")) | ||
var h = require('hyperscript') | ||
h('a', {href: '#', | ||
h('a', {href: '#', | ||
onclick: function (e) { | ||
@@ -140,3 +140,3 @@ alert('you are 1,000,000th visitor!') | ||
Object.keys(obj).map(function (k) { | ||
return h('tr', | ||
return h('tr', | ||
h('th', k), | ||
@@ -158,3 +158,3 @@ h('td', obj[k]) | ||
text('click here to win a prize') | ||
h('a', {href: '#', | ||
h('a', {href: '#', | ||
onclick: function (e) { | ||
@@ -176,2 +176,3 @@ text('you are 1,000,000th visitor!') | ||
* [html2hscript.herokuapp.com](http://html2hscript.herokuapp.com/) - Online Tool that converts html snippets to hyperscript | ||
* [html2hyperscript](https://github.com/unframework/html2hyperscript) - Original commandline utility to convert legacy HTML markup into hyperscript | ||
@@ -178,0 +179,0 @@ ## License |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46671
177