Skip to content

Commit

Permalink
tastejs#568 - insertAdjacentElement vs insertAdjacentHTML.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenplusplus committed May 22, 2013
1 parent a71f2a3 commit 63dfcd4
Show file tree
Hide file tree
Showing 58 changed files with 58 additions and 58 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
aside.className = 'learn';

document.body.className = (document.body.className + ' learn-bar').trim();
document.body.insertAdjacentElement('afterBegin', aside);
document.body.insertAdjacentHTML('afterBegin', aside.outerHTML);
};

appendSourceLink();
Expand Down
Loading

0 comments on commit 63dfcd4

Please sign in to comment.