锘??xml version="1.0" encoding="utf-8" standalone="yes"?>99一区二区,国产一区二区剧情av在线,成人av集中营http://www.aygfsteel.com/coder/category/23440.html澶╃┖娌℃湁鐥曡抗錛屼絾楦熷効宸茬粡椋炶繃zh-cnTue, 19 Jun 2007 13:01:27 GMTTue, 19 Jun 2007 13:01:27 GMT60Extjs錛氬畾涔夊璞?/title><link>http://www.aygfsteel.com/coder/articles/125148.html</link><dc:creator>闅忔嘗閫愭祦</dc:creator><author>闅忔嘗閫愭祦</author><pubDate>Tue, 19 Jun 2007 08:48:00 GMT</pubDate><guid>http://www.aygfsteel.com/coder/articles/125148.html</guid><wfw:comment>http://www.aygfsteel.com/coder/comments/125148.html</wfw:comment><comments>http://www.aygfsteel.com/coder/articles/125148.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/coder/comments/commentRss/125148.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/coder/services/trackbacks/125148.html</trackback:ping><description><![CDATA[Javascr墨pt娌℃湁namespaces姒傚康鎴朿lass鍏抽敭瀛? 浣嗘槸瀵硅薄瀹氫箟鍗存湁寰堝縐嶆柟寮忋傚湪js涓嬌鐢ㄥ璞″線寰鍙槸鐢ㄦ潵鍑忓皯瀵瑰叏灞鍑芥暟namespace鐨勬薄鏌撱?<br><br>鏈綆鍗曠殑鏂瑰紡鏄嬌鐢ㄧ洿鎺ラ噺鐨勮娉曪紝瀹冮傚悎浜庡崟涓殑瀹炰緥錛屾瘮濡傛暣浣撳竷灞錛屾垨紿椾綋閮ㄤ歡銆備笉浣跨敤"new"鏉ュ垱寤恒? <pre> <div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">aaa </span><span style="color: #000000;">=</span><span style="color: #000000;"> {<br>   ccc: </span><span style="color: #000000;">"</span><span style="color: #000000;">test</span><span style="color: #000000;">"</span><span style="color: #000000;">,<br>   bbb : </span><span style="color: #0000ff;">function</span><span style="color: #000000;">() { alert(</span><span style="color: #0000ff;">this</span><span style="color: #000000;">.cc); }<br>}<br><br>aaa.bbb();<br></span></div> 濂藉鏄皟寮忕殑鏃跺欏彲浠ュ緢鏂逛究鐨勮闂唴閮ㄥ彉閲忋?br></pre> <br> <h5>Class definitions with private variables</h5> <pre> <div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">aaa </span><span style="color: #000000;">=</span><span style="color: #000000;"> (</span><span style="color: #0000ff;">function</span><span style="color: #000000;"> () {<br>    </span><span style="color: #0000ff;">var</span><span style="color: #000000;"> myprivate;<br>    </span><span style="color: #0000ff;">return</span><span style="color: #000000;"> {<br>        setIt: </span><span style="color: #0000ff;">function</span><span style="color: #000000;">(val) { myprivate </span><span style="color: #000000;">=</span><span style="color: #000000;"> val; }<br>        getIt: </span><span style="color: #0000ff;">function</span><span style="color: #000000;">() { </span><span style="color: #0000ff;">return</span><span style="color: #000000;"> myprivate; }<br>    }<br>})();<br></span></div> <div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;"></span><span style="color: #000000;">鎴戠洰鍓嶇殑鐢ㄦ硶<br></span><span style="color: #0000ff;">function</span><span style="color: #000000;"> AAA() {<br>    </span><span style="color: #0000ff;">var</span><span style="color: #000000;"> myprivate;<br>    </span><span style="color: #0000ff;">this</span><span style="color: #000000;">.setIt </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000ff;">function</span><span style="color: #000000;">(val) { myprivate </span><span style="color: #000000;">=</span><span style="color: #000000;"> val; }<br>    </span><span style="color: #0000ff;">this</span><span style="color: #000000;">.getIt </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000ff;">function</span><span style="color: #000000;">() {</span><span style="color: #0000ff;">return</span><span style="color: #000000;"> myprivate; }<br>}<br>aaa </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000ff;">new</span><span style="color: #000000;"> AAA();</span></div> <br>鍦╡xtjs涓紝榪欑鏂規(guī)硶鐨勪嬌鐢ㄥ緢鏅亶銆傚畠闄愬埗浜嗗縐佹湁鍙橀噺鐨勮闂紝涔熼犳垚璋冭瘯鐨勪笉渚褲?br></pre> <h5>Extending objects with Ext.extend</h5> <pre> <div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #0000ff;">function</span><span style="color: #000000;"> MyCombo (config) {<br>    </span><span style="color: #008000;">//</span><span style="color: #008000;"> set up your datasource here..</span><span style="color: #008000;"><br></span><span style="color: #000000;">    MyCombo.superclass.constructor.call(</span><span style="color: #0000ff;">this</span><span style="color: #000000;">,config);<br>}<br>Ext.extend(MyCombo, Ext.form.ComboBox, {<br>    displayField:'title',<br>    typeAhead: </span><span style="color: #0000ff;">true</span><span style="color: #000000;">,<br>    loadingText: 'Searching<img src="http://www.aygfsteel.com/Images/dot.gif">',<br>    forceSelection: </span><span style="color: #0000ff;">true</span><span style="color: #000000;">,<br>    allowBlank: </span><span style="color: #0000ff;">false</span><span style="color: #000000;">,<br>    width: </span><span style="color: #000000;">160</span><span style="color: #000000;">,<br>    minChars: </span><span style="color: #000000;">1</span><span style="color: #000000;">,<br>    pageSize:</span><span style="color: #000000;">10</span><span style="color: #000000;">,<br>    hideTrigger:</span><span style="color: #0000ff;">true</span><span style="color: #000000;">,<br>    displayField: 'FullName',<br>    valueField: 'id'<br>}</span></div> <br><br></pre><img src ="http://www.aygfsteel.com/coder/aggbug/125148.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/coder/" target="_blank">闅忔嘗閫愭祦</a> 2007-06-19 16:48 <a href="http://www.aygfsteel.com/coder/articles/125148.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> 主站蜘蛛池模板: <a href="http://" target="_blank">鸡西市</a>| <a href="http://" target="_blank">景德镇市</a>| <a href="http://" target="_blank">五家渠市</a>| <a href="http://" target="_blank">土默特右旗</a>| <a href="http://" target="_blank">乐业县</a>| <a href="http://" target="_blank">望都县</a>| <a href="http://" target="_blank">重庆市</a>| <a href="http://" target="_blank">大连市</a>| <a href="http://" target="_blank">东阳市</a>| <a href="http://" target="_blank">鹤壁市</a>| <a href="http://" target="_blank">合水县</a>| <a href="http://" target="_blank">禄劝</a>| <a href="http://" target="_blank">饶阳县</a>| <a href="http://" target="_blank">栾城县</a>| <a href="http://" target="_blank">彰化县</a>| <a href="http://" target="_blank">宁夏</a>| <a href="http://" target="_blank">屏边</a>| <a href="http://" target="_blank">麻栗坡县</a>| <a href="http://" target="_blank">西城区</a>| <a href="http://" target="_blank">邢台县</a>| <a href="http://" target="_blank">噶尔县</a>| <a href="http://" target="_blank">定安县</a>| <a href="http://" target="_blank">淮北市</a>| <a href="http://" target="_blank">河津市</a>| <a href="http://" target="_blank">买车</a>| <a href="http://" target="_blank">武平县</a>| <a href="http://" target="_blank">屏东县</a>| <a href="http://" target="_blank">祁门县</a>| <a href="http://" target="_blank">碌曲县</a>| <a href="http://" target="_blank">龙游县</a>| <a href="http://" target="_blank">南江县</a>| <a href="http://" target="_blank">诸暨市</a>| <a href="http://" target="_blank">海丰县</a>| <a href="http://" target="_blank">克什克腾旗</a>| <a href="http://" target="_blank">正宁县</a>| <a href="http://" target="_blank">平罗县</a>| <a href="http://" target="_blank">长阳</a>| <a href="http://" target="_blank">乌拉特前旗</a>| <a href="http://" target="_blank">通许县</a>| <a href="http://" target="_blank">珠海市</a>| <a href="http://" target="_blank">铜梁县</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>