equal
deleted
inserted
replaced
15 margin:0; |
15 margin:0; |
16 padding:0; |
16 padding:0; |
17 } |
17 } |
18 </style> |
18 </style> |
19 |
19 |
20 <link type="text/css" rel="stylesheet" href="{{ MEDIA_URL }}js/lib/yui/{{ YUI_VERSION }}/build/cssfonts/fonts-min.css" /> |
20 <link type="text/css" rel="stylesheet" href="{{ CM_MEDIA_PREFIX }}js/lib/yui/{{ YUI_VERSION }}/build/cssfonts/fonts-min.css" /> |
21 <script type="text/javascript" src="{{ MEDIA_URL }}js/lib/yui/{{ YUI_VERSION }}/build/yui/yui-min.js"></script> |
21 <script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/lib/yui/{{ YUI_VERSION }}/build/yui/yui-min.js"></script> |
22 |
22 |
23 |
23 |
24 <!--begin custom header content for this example--> |
24 <!--begin custom header content for this example--> |
25 <style type="text/css"> |
25 <style type="text/css"> |
26 #init { |
26 #init { |
109 <p>The module will be inserted here. <em>Click the button below</em>.</p> |
109 <p>The module will be inserted here. <em>Click the button below</em>.</p> |
110 </div> |
110 </div> |
111 |
111 |
112 <button id="init">Initialize Application</button> |
112 <button id="init">Initialize Application</button> |
113 |
113 |
114 <script type="text/javascript" src="{{ MEDIA_URL }}js/client/c_server_exchange.js"></script> |
114 <script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/client/c_server_exchange.js"></script> |
115 <script type="text/javascript" src="{{ MEDIA_URL }}js/client/c_util.js"></script> |
115 <script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/client/c_util.js"></script> |
116 <script type="text/javascript"> |
116 <script type="text/javascript"> |
117 |
117 |
118 |
118 |
119 |
119 |
120 |
120 |
276 } |
276 } |
277 }; |
277 }; |
278 |
278 |
279 |
279 |
280 |
280 |
281 YUI({base:"{{ MEDIA_URL }}js/lib/yui/{{ YUI_VERSION }}/build/", timeout: 10000}).use("anim", "queue", "io","json",function (Y) { |
281 YUI({base:"{{ CM_MEDIA_PREFIX }}js/lib/yui/{{ YUI_VERSION }}/build/", timeout: 10000}).use("anim", "queue", "io","json",function (Y) { |
282 CY = Y; |
282 CY = Y; |
283 var myApp = new MyApp() ; |
283 var myApp = new MyApp() ; |
284 |
284 |
285 Y.get('#init').on('click',function (e) { |
285 Y.get('#init').on('click',function (e) { |
286 e.preventDefault(); |
286 e.preventDefault(); |