Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
renderjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Vincent Bechu
renderjs
Commits
812510cb
Commit
812510cb
authored
Jan 21, 2014
by
Romain Courteaud
🐸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop useless spaces.
parent
91266b6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
test/renderjs_test.js
test/renderjs_test.js
+6
-6
No files found.
test/renderjs_test.js
View file @
812510cb
...
...
@@ -100,7 +100,7 @@
// "<body>" +
// "<title>Great title</title>" +
// "</body></html>";
//
//
// settings = parseGadgetHTML(html);
// equal(settings.title, '', 'Title not found');
// });
...
...
@@ -113,11 +113,11 @@
// "<body>" +
// "<p>Foo</p>" +
// "</body></html>";
//
//
// settings = renderJS.parseGadgetHTML(html);
// equal(settings.html, "<p>Foo</p>", "HTML extracted");
// });
//
//
// test('Extract all body', function () {
// // Check that parseGadgetHTML correctly extracts all bodies
// var settings,
...
...
@@ -127,18 +127,18 @@
// "</body><body>" +
// "<p>Bar</p>" +
// "</body></html>";
//
//
// settings = renderJS.parseGadgetHTML(html);
// equal(settings.html, '<p>Foo</p><p>Bar</p>', 'All bodies extracted');
// });
//
//
// test('Extract body only from html', function () {
// // Check that parseGadgetHTML also extract body from head
// var settings,
// html = "<html>" +
// "<head><body><p>Bar</p></body></head>" +
// "</html>";
//
//
// settings = renderJS.parseGadgetHTML(html);
// equal(settings.html, "<p>Bar</p>", "Body not found");
// });
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment