mirror of
https://github.com/Polymer/polymer.git
synced 2026-08-19 01:14:44 -05:00
add newlines to eval'd code so it can be debugged
This commit is contained in:
+6
-6
@@ -24,12 +24,12 @@ suite('events', function() {
|
||||
work.innerHTML += '<element name="' + inName + '"' +
|
||||
(inExtend ? ' extends="' + inExtend + '"' : '') + ' on-click="clickHandler">' +
|
||||
'<template>' + (inTemplateContent || '') + '</template>' +
|
||||
'<script>' +
|
||||
'Toolkit.register(this, {' +
|
||||
'clickHandler: function() {' +
|
||||
'results.textContent += this.localName;' +
|
||||
'}' +
|
||||
'});' +
|
||||
'<script>\n' +
|
||||
'Toolkit.register(this, {\n' +
|
||||
'clickHandler: function() {\n' +
|
||||
'results.textContent += this.localName;\n' +
|
||||
'}\n' +
|
||||
'});\n' +
|
||||
'</script>' +
|
||||
'</element>';
|
||||
new HTMLElementElement(work.lastChild);
|
||||
|
||||
Reference in New Issue
Block a user