Changeset 10361


Ignore:
Timestamp:
12/19/10 23:52:05 (17 months ago)
Author:
SvenDowideit
Message:

Item10175: use TMPL{LIBJS cos i hate embedding unmainantainable literal html

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JSONEditorJQueryPlugin/data/System/JQueryJSONEditor.txt

    r10360 r10361  
    1414%ENDSECTION{"summary"}% 
    1515 
    16 ---++ Example 
     16---++ Json Editor Demo 
    1717 
    1818%JQREQUIRE{jsoneditor}% 
    19 %ADDTOZONE{"script" id="json-editor-demo" requires="JQUERYPLUGIN::JSONEDITOR" text="<script type='text/javascript' src='%PUBURL%/%SYSTEMWEB%/JSONEditorJQueryPlugin/json-editor-demo.js'></script>"}% 
     19%TMPL:P{"LIBJS" id="JSONEditorJQueryPlugin/json-editor-demo" requires="JQUERYPLUGIN::JSONEDITOR"}% 
    2020 
    21 <h3>Json Editor Demo</h3> 
    2221    
    23    <input type="button" value="init" onclick="je.jsoneditor('init');" /> 
    24    <input type="button" value="input" onclick="je.jsoneditor('input');" /> 
    25    <input type="button" value="dump" onclick="je.jsoneditor('dump');" /> 
    26     <input type="button" value="getjson" onclick="getjson();" /> 
    27  </p> 
     22  <input type="button" value="init" onclick="je.jsoneditor('init');" /> 
     23  <input type="button" value="input" onclick="je.jsoneditor('input');" /> 
     24  <input type="button" value="dump" onclick="je.jsoneditor('dump');" /> 
     25  <input type="button" value="getjson" onclick="getjson();" /> 
     26 
    2827<div id="json_editor" style="border:solid 2px #88F; width:80%;"> 
    2928</div> 
Note: See TracChangeset for help on using the changeset viewer.