Sha256: 2d58560495b92d987bbe6db71fde7de6aa96b095f443d8fa861cfe9ae0c89559
Contents?: true
Size: 663 Bytes
Versions: 2
Compression:
Stored size: 663 Bytes
Contents
(function(){ window.helper = { node: function(){ return $('#test_editor'); }, edit: function(){ helper.node().html('<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce sagittis metus elit. Nulla tincidunt lorem tristique velit feugiat vehicula.</p>') return new Edit(); }, mknode: function(node){ return document.createElement(node); }, content: function(semantic){ semantic = semantic || true; if( semantic ){ return $("<p><strong>Bold text</strong> with some <em>italic text within it</em></p>"); } return $("<p><b>Bold text</b> with some <i>italic text within it</i></p>"); } }; })();
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jquery-rails-multipart-xhr-0.0.3 | test/spec_helper.js |
jquery-rails-multipart-xhr-0.0.2 | test/spec_helper.js |