Skip to content

Commit

Permalink
Adds in configurable true and ignores dist by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tbranyen committed Apr 20, 2015
1 parent ab1ee63 commit c4801bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
dist
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ function html2hscript(markup) {
}

Object.defineProperty(Element.prototype, 'diffHTML', {
configurable: true,
set: function(newHTML) {
var oldHTML = this.innerHTML;
var newH = html2hscript(newHTML.outerHTML || newHTML);
Expand Down

0 comments on commit c4801bd

Please sign in to comment.