Commit c5d31328 authored by Romain Courteaud's avatar Romain Courteaud Committed by Xiaowu Zhang

erp5_code_mirror: disable appcache

Add service worker precache script
parent 9c952d0e
url_list = [
"renderjs.js",
"rsvp.js",
"codemirror/lib/codemirror.js",
"codemirror/lib/codemirror.css",
"codemirror/addon/cm_edit/matchbrackets.js",
"codemirror/addon/cm_edit/matchtags.js",
"codemirror/addon/cm_edit/trailingspace.js",
"codemirror/addon/dialog/dialog.css",
"codemirror/addon/dialog/dialog.js",
"codemirror/addon/display/fullscreen.css",
"codemirror/addon/display/fullscreen.js",
"codemirror/addon/display/rulers.js",
"codemirror/addon/search/searchcursor.js",
"codemirror/addon/search/search.js",
"codemirror/addon/search/jump-to-line.js",
"codemirror/addon/selection/active-line.js",
"codemirror/addon/hint/show-hint.css",
"codemirror/addon/hint/show-hint.js",
"codemirror/addon/hint/anyword-hint.js",
"codemirror/addon/fold/foldgutter.css",
"codemirror/addon/fold/foldcode.js",
"codemirror/addon/fold/foldgutter.js",
"codemirror/addon/fold/indent-fold.js",
"codemirror/addon/fold/comment-fold.js",
"codemirror/addon/fold/xml-fold.js",
"codemirror/addon/merge/merge.css",
"diff_match_patch/javascript/diff_match_patch_uncompressed.js",
"codemirror/addon/merge/merge.js",
"codemirror/addon/lint/lint.css",
"codemirror/addon/lint/lint.js",
"jshint.js",
"codemirror/addon/lint/javascript-lint.js",
"csslint.js",
"codemirror/addon/lint/css-lint.js",
"codemirror/mode/xml/xml.js",
"codemirror/mode/javascript/javascript.js",
"codemirror/mode/python/python.js",
"codemirror/mode/css/css.js",
"codemirror/mode/htmlmixed/htmlmixed.js",
"codemirror.gadget.js",
"codemirror.gadget.html"
]
return url_list
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>REQUEST=None</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>WebSection_getCodeMirrorPrecacheManifestList</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
CACHE MANIFEST
# generated on Wed, 16 Jan 2019 15:00:00 GMT+0100
CACHE:
favicon.ico
renderjs.js
rsvp.js
codemirror/lib/codemirror.js
codemirror/lib/codemirror.css
codemirror/addon/cm_edit/matchbrackets.js
codemirror/addon/cm_edit/matchtags.js
codemirror/addon/cm_edit/trailingspace.js
codemirror/addon/dialog/dialog.css
codemirror/addon/dialog/dialog.js
codemirror/addon/display/fullscreen.css
codemirror/addon/display/fullscreen.js
codemirror/addon/display/rulers.js
codemirror/addon/search/searchcursor.js
codemirror/addon/search/search.js
codemirror/addon/search/jump-to-line.js
codemirror/addon/selection/active-line.js
codemirror/addon/hint/show-hint.css
codemirror/addon/hint/show-hint.js
codemirror/addon/hint/anyword-hint.js
codemirror/addon/fold/foldgutter.css
codemirror/addon/fold/foldcode.js
codemirror/addon/fold/foldgutter.js
codemirror/addon/fold/indent-fold.js
codemirror/addon/fold/comment-fold.js
codemirror/addon/fold/xml-fold.js
codemirror/addon/merge/merge.css
diff_match_patch/javascript/diff_match_patch_uncompressed.js
codemirror/addon/merge/merge.js
codemirror/addon/lint/lint.css
codemirror/addon/lint/lint.js
jshint.js
codemirror/addon/lint/javascript-lint.js
csslint.js
codemirror/addon/lint/css-lint.js
codemirror/mode/xml/xml.js
codemirror/mode/javascript/javascript.js
codemirror/mode/css/css.js
codemirror/mode/htmlmixed/htmlmixed.js
codemirror.gadget.js
NETWORK:
*
\ No newline at end of file
<!DOCTYPE html>
<html manifest=codemirror.gadget.appcache>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
......
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