Commit 1b93a384 authored by Joshua's avatar Joshua

Added react dependencies locally.

parent a5709764
......@@ -6,6 +6,10 @@ rsvp.js
gadget_chart_editor.js
static/css/main.88fa11bf.css
static/js/main.8b730bc1.js
#react.development.js
#react-dom.development.js
NETWORK:
*
\ No newline at end of file
......@@ -14,7 +14,7 @@
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>gadget_chart_editor.appcache</string> </value>
<value> <string>gadget_chart_editor.appcache_</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -12,9 +12,9 @@
<script src="rsvp.js" type="text/javascript"></script>
<script src="renderjs.js" type="text/javascript"></script>
<script src="https://unpkg.com/react@16.8.6/umd/react.development.js" crossorigin></script>
<script src="https://unpkg.com/react-dom@16.8.6/umd/react-dom.development.js" crossorigin></script>
<script type="text/javascript" src="static/js/main.8b730bc1.js"></script>
<!-- <script type="text/javascript" src="react.development.js"></script>
<script type="text/javascript" src="react-dom.development.js"></script>-->
<script type="text/javascript" src="main.js"></script>
<script src="gadget_chart_editor.js" type="text/javascript"></script>
......
......@@ -22,7 +22,7 @@
})
.declareMethod('render', function (options) {
return this.changeState({
key: options.key,
value: options.value || "",
......@@ -37,7 +37,6 @@
.declareMethod('getContent', function () {
var result = {};
result[this.state.key] = JSON.stringify(this.state.component.getContent());
return result;
})
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string>main.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string>react-dom.development.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/x-javascript</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>react-dom.development.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -8,7 +8,7 @@
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string>main.8b730bc1.js</string> </value>
<value> <string>react.development.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......@@ -20,7 +20,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>main.8b730bc1.js</string> </value>
<value> <string>react.development.js</string> </value>
</item>
</dictionary>
</pickle>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string>main.88fa11bf.css.map</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>main.88fa11bf.css.map</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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