Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(359)

Side by Side Diff: sky/tests/modules/import-without-export.sky

Issue 872043003: module.exports should default to an empty object. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/examples/city-list/city-list.sky ('k') | sky/tests/modules/modules.sky » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <import src="resources/does-not-export.sky" as="hello" /> 2 <import src="resources/does-not-export.sky" as="hello" />
3 <import src="../resources/dump-as-text.sky" /> 3 <import src="../resources/dump-as-text.sky" />
4 <div id="result">FAIL - Script did not execute</div> 4 <div id="result">FAIL - Script did not execute</div>
5 <script> 5 <script>
6 document.getElementById("result").textContent = 6 var result = "FAIL";
7 hello === undefined ? "PASS" : "FAIL"; 7 if (typeof hello === "object" && Object.keys(hello).length === 0)
8 result = "PASS";
9 document.getElementById("result").textContent = result;
8 </script> 10 </script>
9 </html> 11 </html>
OLDNEW
« no previous file with comments | « sky/examples/city-list/city-list.sky ('k') | sky/tests/modules/modules.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698