Commit 7bacc24c authored by Romain Courteaud's avatar Romain Courteaud

Add external component's loading functionnality

Allow to fetch HTML gadget and all its requirements.
parent 09687067
......@@ -10,9 +10,10 @@ all: lint test build doc
$(UGLIFY_CMD) "$<" > "$@"
${BUILDDIR}/$(RENDERJS).lint: $(RENDERJS) test/renderjs_test2.js
@mkdir -p $(@D)
$(LINT_CMD) "$<"
$(LINT_CMD) "test/renderjs_test2.js"
touch $@
${BUILDDIR}/index.html.ok: test/index.html
handle relative url #parseGadgetHTML TODO
how to manage local script tag #parseGadgetHTML TODO
check that gadget/dom context is kept in promise TODO
keep css file media query #declareCSS TODO
This diff is collapsed.
......@@ -2,17 +2,22 @@
<link rel="stylesheet" href="../lib/qunit/qunit.css" type="text/css"/>
<title>Test renderJS</title>
<meta name="viewport" content="width=device-width, height=device-height"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="../lib/qunit/qunit.css" type="text/css" media="screen"/>
<script src="../lib/jquery/jquery.js" type="text/javascript"></script>
<script src="../lib/qunit/qunit.js" type="text/javascript"></script>
<script data-main="require-renderjs_test.js"
<script src="../lib/sinon/sinon.js" type="text/javascript"></script>
<script src="../renderjs.js" type="text/javascript"></script>
<script src="renderjs_test2.js" type="text/javascript"></script>
<h1 id="qunit-header">QUnit RenderJS test suite</h1>
<h1 id="qunit-header">QUnit renderJS test suite</h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
<div id="qunit-fixture"> </div>
<div id="qunit-fixture">test markup, will be hidden</div>
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment