Sha256: 5c5ab498ddbfb5c21ce3a435069f7ba93a6c68ee17e09b627e7193f144592130
Contents?: true
Size: 662 Bytes
Versions: 20
Compression:
Stored size: 662 Bytes
Contents
$(document).ready(function(){module("testMultiAttr"),test("test1",function(){expect(1);var a='<span class="cm-tag"><p </span><span class="cm-attribute">a1</span>=<span class="cm-string">"foo"</span> <span class="cm-attribute">a2</span>=<span class="cm-string">"bar"</span><span class="cm-tag">></span><span class="cm-word">hello</span> <span class="cm-word">world</span><span class="cm-tag"></p></span>';$("#sandbox").html('<textarea id="editor"></textarea>'),$("#editor").html('<p a1="foo" a2="bar">hello world</p>'),CodeMirror.fromTextArea($("#editor")[0]);var s=$(".CodeMirror-lines div div pre")[0].innerHTML;equal(s,a),$("#editor").html("")})});
Version data entries
20 entries across 20 versions & 1 rubygems