锘??xml version="1.0" encoding="utf-8" standalone="yes"?>伊人久久大香线蕉亚洲,亚洲一区AV无码少妇电影,亚洲国产成人久久一区WWWhttp://www.tkk7.com/alinglau36/one platform thousands thinkingzh-cnSun, 11 May 2025 16:15:39 GMTSun, 11 May 2025 16:15:39 GMT60Stackoverflow緇忓吀Python闂瓟http://www.tkk7.com/alinglau36/archive/2018/05/30/433247.htmllaulauWed, 30 May 2018 10:26:00 GMThttp://www.tkk7.com/alinglau36/archive/2018/05/30/433247.htmlhttp://www.tkk7.com/alinglau36/comments/433247.htmlhttp://www.tkk7.com/alinglau36/archive/2018/05/30/433247.html#Feedback0http://www.tkk7.com/alinglau36/comments/commentRss/433247.htmlhttp://www.tkk7.com/alinglau36/services/trackbacks/433247.html

That said, if you're aiming for something like Java's StringBuilder, the canonical Python idiom is to add items to a list and then use str.join to concatenate them all at the end:

l = [] 
l
.append('foo')
l.append('bar')
l
.append('baz')

s
= ''.join(l)



浠ヤ笅鏄漿鑷?https://github.com/qiwsir/StackOverFlowCn/blob/master/README.md
 

濡傛灉浣犳槸涓鍚嶈嚜璇╀負紼嬪簭鍛樼殑錛岄偅涔堬紝灝卞繀欏葷煡閬搒tackoverflow.com榪欎釜緗戠珯銆傚洜涓哄畠鏄竴涓潪甯稿ソ鐨勬妧鏈棶絳旂綉绔欙紝閲岄潰涓嶄粎鏈夐珮鎵嬶紝鏇撮噸瑕佺殑鏄湁瀵歸棶棰樿繘琛岃緇嗚愬績瑙g瓟鐨勯珮鎵嬨?/p>

榪欓噷鎴戞娊絀虹炕璇戜簡涓浜涘吀鍨嬬殑闂瓟錛屽綋鐒訛紝鍙兘緲昏瘧Python璇█鏂歸潰鐨勶紝鍏跺畠璇█錛屽敮鎭愬洜鐭ヤ箣鐢氬皯鑰屾紡媧炵櫨鍑猴紝鍗充究鏄疨ython錛屼篃浼氬洜涓烘墠鐤忓嫻咃紝鍦ㄧ炕璇戣繃紼嬩腑鎰熷埌鎯舵亹銆傛墍浠ワ紝璇昏呭鏋滅湅鍒伴敊璇箣澶勶紝璇蜂笉鍚濊祼鏁欍?/p>

嬈㈣繋璁塊棶錛?a rel="nofollow" style="box-sizing: border-box; color: #0366d6; text-decoration-line: none;">www.itdiffer.com錛屽姞鍏ュ涔燩ython鐨勭兢緇勩?/p>

#鐩綍

##鍩烘湰瀵硅薄鍜岃鍙?/p>

##鏂囦歡

##鍑芥暟鍜岀被

##緋葷粺

##緗戠粶



lau 2018-05-30 18:26 鍙戣〃璇勮
]]>
gerrit (n/a (unpacker error))寮傚父瑙e喅http://www.tkk7.com/alinglau36/archive/2018/05/10/433206.htmllaulauThu, 10 May 2018 08:36:00 GMThttp://www.tkk7.com/alinglau36/archive/2018/05/10/433206.htmlhttp://www.tkk7.com/alinglau36/comments/433206.htmlhttp://www.tkk7.com/alinglau36/archive/2018/05/10/433206.html#Feedback0http://www.tkk7.com/alinglau36/comments/commentRss/433206.htmlhttp://www.tkk7.com/alinglau36/services/trackbacks/433206.html

鐢ㄥ涓嬪懡浠ush
git push --no-thin origin HEAD:refs/for/
XXX


error: The following untracked working tree files would be overwritten by checkout 
閫氳繃閿欒鎻愮ず鍙煡錛屾槸鐢變簬涓浜泆ntracked working tree files寮曡搗鐨勯棶棰樸傛墍浠ュ彧瑕佽В鍐充簡榪欎簺untracked鐨勬枃浠跺氨鑳借В鍐寵繖涓棶棰樸?br />
瑙e喅鏂瑰紡錛? 鎵撳紑SourceTree閫氳繃鍛戒護琛岋紝榪涘叆鏈湴鐗堟湰浠撳簱鐩綍涓嬶紝鐩存帴鎵цgit clean -d -fx鍗沖彲銆傚彲鑳藉緢澶氫漢閮戒笉鏄庣櫧-d錛?fx鍒板簳鏄暐鎰忔濓紝鍏跺疄git clean -d -fx琛ㄧず錛氬垹闄?涓浜?娌℃湁 git add 鐨?鏂囦歡錛? git clean 鍙傛暟 -n 鏄劇ず灝嗚鍒犻櫎鐨勬枃浠跺拰鐩綍錛? -x -----鍒犻櫎蹇界暐鏂囦歡宸茬粡瀵筭it鏉ヨ涓嶈瘑鍒殑鏂囦歡 -d -----鍒犻櫎鏈娣誨姞鍒癵it鐨勮礬寰勪腑鐨勬枃浠? -f -----寮哄埗榪愯 git clean -n git clean -df git clean -f



lau 2018-05-10 16:36 鍙戣〃璇勮
]]>
http://java.dzone.com/articles/immutability-with-builder-design-patternhttp://www.tkk7.com/alinglau36/archive/2013/01/25/394783.htmllaulauFri, 25 Jan 2013 10:16:00 GMThttp://www.tkk7.com/alinglau36/archive/2013/01/25/394783.htmlhttp://www.tkk7.com/alinglau36/comments/394783.htmlhttp://www.tkk7.com/alinglau36/archive/2013/01/25/394783.html#Feedback0http://www.tkk7.com/alinglau36/comments/commentRss/394783.htmlhttp://www.tkk7.com/alinglau36/services/trackbacks/394783.htmlhttp://java.dzone.com/articles/immutability-with-builder-design-pattern

lau 2013-01-25 18:16 鍙戣〃璇勮
]]>
jQuery.template()http://www.tkk7.com/alinglau36/archive/2011/11/02/362514.htmllaulauWed, 02 Nov 2011 02:41:00 GMThttp://www.tkk7.com/alinglau36/archive/2011/11/02/362514.htmlhttp://www.tkk7.com/alinglau36/comments/362514.htmlhttp://www.tkk7.com/alinglau36/archive/2011/11/02/362514.html#Feedback0http://www.tkk7.com/alinglau36/comments/commentRss/362514.htmlhttp://www.tkk7.com/alinglau36/services/trackbacks/362514.htmlhttp://api.jquery.com/jQuery.template/

lau 2011-11-02 10:41 鍙戣〃璇勮
]]>
jQuery hoverIntenthttp://www.tkk7.com/alinglau36/archive/2011/11/02/362513.htmllaulauWed, 02 Nov 2011 02:40:00 GMThttp://www.tkk7.com/alinglau36/archive/2011/11/02/362513.htmlhttp://www.tkk7.com/alinglau36/comments/362513.htmlhttp://www.tkk7.com/alinglau36/archive/2011/11/02/362513.html#Feedback0http://www.tkk7.com/alinglau36/comments/commentRss/362513.htmlhttp://www.tkk7.com/alinglau36/services/trackbacks/362513.htmlhttp://cherne.net/brian/resources/jquery.hoverIntent.html

What is hoverIntent?

hoverIntent is a plug-in that attempts to determine the user's intent... like a crystal ball, only with mouse movement! It works like (and was derived from) hover. However, instead of immediately calling the onMouseOver function, it waits until the user's mouse slows down enough before making the call.

Why? To delay or prevent the accidental firing of animations or ajax calls. Simple timeouts work for small areas, but if your target area is large it may execute regardless of intent.

Download hoverIntent r6 (fully-commented, uncompressed)

Download hoverIntent r6 (minified)

hoverIntent r6 (2011) has all the same functionality of r5 (2007) except that the Google Chrome defect (known defects) is fixed once you upgrade to jQuery 1.5.1.

Translations

袘械謝邪褉褍褋瀉邪褟 courtesy Martha Ruszkowski

Examples

jQuery's hover (for reference)

$("#demo1 li").hover( makeTall, makeShort )
  •  
  •  
  •  
  • hover ignores over/out events from children

jQuery's built-in hover calls onMouseOver/onMouseOut functions immediately.

hoverIntent as hover replacement

$("#demo2 li").hoverIntent( makeTall, makeShort )
  •  
  •  
  •  
  • hoverIntent also ignores over/out events from children

hoverIntent is interchangeable with jQuery's hover. It can use the same exact onMouseOver and onMouseOut functions and it passes the same this and event objects to those functions.

hoverIntent with configuration object

var config = {    
over: makeTall, // function = onMouseOver callback (REQUIRED)
timeout: 500, // number = milliseconds delay before onMouseOut
out: makeShort // function = onMouseOut callback (REQUIRED)
};

$("#demo3 li").hoverIntent( config )
  •  
  •  
  •  
  •  

To override the default configuration of hoverIntent, pass it an object as the first (and only) parameter. The object must contain "over" and "out" functions, in addition to any other options you'd like to override.

Basic Configuration Options

The "timeout" delay (by default set to 0) will mostly likely be the one you'll want to override. The "over" and "out" functions are required but nothing prevents you from sending an empty function(){} to either.

over:

Required. The function you'd like to call onMouseOver. Your function receives the same "this" and "event" objects as it would from jQuery's hover method.

timeout:

A simple delay, in milliseconds, before the "out" function is called. If the user mouses back over the element before the timeout has expired the "out" function will not be called (nor will the "over" function be called). This is primarily to protect against sloppy/human mousing trajectories that temporarily (and unintentionally) take the user off of the target element... giving them time to return. Default timeout: 0

out:

Required. The function you'd like to call onMouseOut. Your function receives the same "this" and "event" objects as it would from jQuery's hover method. Note, hoverIntent will only call the "out" function if the "over" function has been called on that same run.

Advanced Configuration Options

When choosing the default settings for hoverIntent I tried to find the best possible balance between responsiveness and frequency of false positives. Modify these if you are brave, test tirelessly, and completely understand what you are doing.

sensitivity:

If the mouse travels fewer than this number of pixels between polling intervals, then the "over" function will be called. With the minimum sensitivity threshold of 1, the mouse must not move between polling intervals. With higher sensitivity thresholds you are more likely to receive a false positive. Default sensitivity: 7

interval:

The number of milliseconds hoverIntent waits between reading/comparing mouse coordinates. When the user's mouse first enters the element its coordinates are recorded. The soonest the "over" function can be called is after a single polling interval. Setting the polling interval higher will increase the delay before the first possible "over" call, but also increases the time to the next point of comparison. Default interval: 100

Notice of DOM Manipulation

hoverIntent adds two custom attributes to every DOM element it's assigned to. For example: <li hoverIntent_t="" hoverIntent_s="">

  • hoverIntent_t is the polling interval timer, or the mouseOut timer.
  • hoverIntent_s stores the state to prevent unmatched function calls.

Timers are stored as integers, so there should not be any trouble with memory leaks. hoverIntent state is also stored as an integer.

Known Defects

hoverIntent r5 suffers from a defect in Google Chrome that improperly triggers mouseout when entering a child input[type="text"] element. hoverIntent r6 uses the same mouseenter/mouseleave special events as jQuery's built-in hover, and jQuery 1.5.1 patched this issue. Thanks to Colin Stuart for tipping me off about this and for providing isolated code to demonstrate/test.

This page uses jQuery 1.5.1+ and hoverIntent r6, so when your cursor goes over the text input nothing should change (it should continue to read "enter parent" because you are still over this paragraph).

However, if you were using Google Chrome and if this page were using an older version of jQuery or hoverIntent, moving the cursor over the text input would improperly trigger the mouseout event, and the value would change to "leave parent".

If you place an element with onMouseOut event listeners flush against the edge of the browser chrome, sometimes Internet Explorer does not trigger an onMouseOut event immediately if your mouse leaves the document. hoverIntent does not correct for this.

jQuery's hover can take both a handlerIn and a handlerOut or just a handlerIn. The current version of hoverIntent requires both handlerIn and handlerOut or a single configuration object. It was not designed to take just a handlerIn like hover. This will be addressed in a future release.

Please email me ( brian@cherne.net ) if you have questions or would like to notify me of any defects. I will tweet about any updates from @briancherne using the tags #hoverIntent #jQuery.

The Future of hoverIntent

hoverIntent r7 (in development) will be backwards compatible with all current implementations and include hoverIntent custom events.

Release History

  • r7 = In development. Adding custom events.
  • r6 = Current stable release. Updated to correct for Google Chrome defect.
  • r5 = Added state to prevent unmatched function calls. This release (and previous releases) suffers from a defect in Google Chrome that improperly triggers mouseout when entering a child input[type=text] element.
  • r4 = Fixed polling interval timing issue (now uses a self-calling timeout to avoid interval irregularities).
  • r3 = Developer-only release for debugging.
  • r2 = Added timeout and interval references to DOM object -- keeps timers separate from each other. Added configurable options. Added timeout option to delay onMouseOut function call. Fixed two-interval mouseOver bug (now setting pX and pY onMouseOver instead of hardcoded value).
  • r1 = Initial release to jQuery discussion forum for feedback.


lau 2011-11-02 10:40 鍙戣〃璇勮
]]>
IE9 Only CSS Hackhttp://www.tkk7.com/alinglau36/archive/2011/11/01/362433.htmllaulauTue, 01 Nov 2011 03:49:00 GMThttp://www.tkk7.com/alinglau36/archive/2011/11/01/362433.htmlhttp://www.tkk7.com/alinglau36/comments/362433.htmlhttp://www.tkk7.com/alinglau36/archive/2011/11/01/362433.html#Feedback0http://www.tkk7.com/alinglau36/comments/commentRss/362433.htmlhttp://www.tkk7.com/alinglau36/services/trackbacks/362433.htmlhttp://blog.vervestudios.co/blog/post/2011/05/13/IE9-Only-CSS-Hack.aspx

#element {
    color:orange;
}
#element {
    *color: white;    /* IE6+7, doesn't work in IE8/9 as IE7 */
}
#element {
    _color: red;     /* IE6 */
}
#element {
    color: green\0/IE8+9; /* IE8+9  */
}
:root #element { color:pink \0/IE9; }  /* IE9 */


lau 2011-11-01 11:49 鍙戣〃璇勮
]]>
The Essentials of Writing High Quality JavaScript http://www.tkk7.com/alinglau36/archive/2011/09/16/358793.htmllaulauFri, 16 Sep 2011 06:38:00 GMThttp://www.tkk7.com/alinglau36/archive/2011/09/16/358793.htmlhttp://www.tkk7.com/alinglau36/comments/358793.htmlhttp://www.tkk7.com/alinglau36/archive/2011/09/16/358793.html#Feedback0http://www.tkk7.com/alinglau36/comments/commentRss/358793.htmlhttp://www.tkk7.com/alinglau36/services/trackbacks/358793.htmlgood stuff:

http://net.tutsplus.com/tutorials/javascript-ajax/the-essentials-of-writing-high-quality-javascript/

lau 2011-09-16 14:38 鍙戣〃璇勮
]]>
hack css in safari and operahttp://www.tkk7.com/alinglau36/archive/2011/08/11/356312.htmllaulauThu, 11 Aug 2011 08:16:00 GMThttp://www.tkk7.com/alinglau36/archive/2011/08/11/356312.htmlhttp://www.tkk7.com/alinglau36/comments/356312.htmlhttp://www.tkk7.com/alinglau36/archive/2011/08/11/356312.html#Feedback0http://www.tkk7.com/alinglau36/comments/commentRss/356312.htmlhttp://www.tkk7.com/alinglau36/services/trackbacks/356312.html

@media all and (min-width: 0px){ }opera鍜宻afari閮芥敮鎸?br /> @media screen and (-webkit-min-device-pixel-ratio:0){}
榪欎釜鍙敮鎸乻afari錛屼互鍓嶅仛琛ㄥ崟緇熶竴鏍峰紡鐨勬椂鍊欑爺絀惰繃銆?br /> 濡傛灉鎯沖尯鍒唎pera鍜宻afari鐨勮瘽鍏堝啓
@media all and (min-width: 0px){
}
鐒跺悗鍐?br /> @media screen and (-webkit-min-device-pixel-ratio:0){}
灝監K浜?/p>

div{ width:100px; height:200px;}
@media all and (min-width: 0px){ div{ background:red} }
@media screen and (-webkit-min-device-pixel-ratio:0){div{background:#000}}

鍙互璇曚笅



lau 2011-08-11 16:16 鍙戣〃璇勮
]]>
freemarker鏁板瓧鏍煎紡鍖栧甫鏉ョ殑鎿嶄綔闂http://www.tkk7.com/alinglau36/archive/2011/07/13/354284.htmllaulauWed, 13 Jul 2011 09:37:00 GMThttp://www.tkk7.com/alinglau36/archive/2011/07/13/354284.htmlhttp://www.tkk7.com/alinglau36/comments/354284.htmlhttp://www.tkk7.com/alinglau36/archive/2011/07/13/354284.html#Feedback0http://www.tkk7.com/alinglau36/comments/commentRss/354284.htmlhttp://www.tkk7.com/alinglau36/services/trackbacks/354284.html    1銆佸湪妯℃澘涓洿鎺ュ姞.toString()杞寲鏁板瓧涓哄瓧絎︿覆錛屽錛?{languageList.id.toString()}錛?
    2銆佸湪freemarker閰嶇疆鏂囦歡freemarker.properties鍔?lt;#setting number_format="#">鎴栬?nbsp;     <#setting number_format="0">錛?
    3銆佸湪妯℃澘涓洿鎺ュ姞<#setting number_format="#">鎴栬?lt;#setting number_format="0">錛屽錛?lt;#if AdminLanguagePaginationMsg?exists>
<#setting number_format="#">

lau 2011-07-13 17:37 鍙戣〃璇勮
]]>
newInstance() 鍜?new 鏈変粈涔堝尯鍒紵(杞?http://www.tkk7.com/alinglau36/archive/2011/04/14/348306.htmllaulauThu, 14 Apr 2011 09:37:00 GMThttp://www.tkk7.com/alinglau36/archive/2011/04/14/348306.htmlhttp://www.tkk7.com/alinglau36/comments/348306.htmlhttp://www.tkk7.com/alinglau36/archive/2011/04/14/348306.html#Feedback0http://www.tkk7.com/alinglau36/comments/commentRss/348306.htmlhttp://www.tkk7.com/alinglau36/services/trackbacks/348306.html 鐢╪ewInstance涓庣敤new鏄尯鍒殑錛屽尯鍒湪浜庡垱寤哄璞$殑鏂瑰紡涓嶄竴鏍鳳紝鍓嶈呮槸浣跨敤綾誨姞杞芥満鍒訛紝閭d箞涓轟粈涔堜細鏈変袱縐嶅垱寤哄璞℃柟寮忥紵榪欎釜灝辮浠庡彲浼哥緝銆佸彲鎵╁睍錛屽彲閲嶇敤絳夎蔣浠舵濇兂涓婅В閲婁簡銆?
Java涓伐鍘傛ā寮忕粡甯鎬嬌鐢╪ewInstance鏉ュ垱寤哄璞★紝鍥犳浠庝負浠涔堣浣跨敤宸ュ巶妯″紡涓婁篃鍙互鎵懼埌鍏蜂綋絳旀銆?
渚嬪錛?
Class c = Class.forName(“A”);factory = (AInterface)c.newInstance();
鍏朵腑AInterface鏄疉鐨勬帴鍙o紝濡傛灉涓嬮潰榪欐牱鍐欙紝浣犲彲鑳戒細鐞嗚В錛?
String className = "A";Class c = Class.forName(className);factory = (AInterface)c.newInstance();
榪涗竴姝ワ紝濡傛灉涓嬮潰鍐欙紝浣犲彲鑳戒細鐞嗚В錛?
String className = readfromXMlConfig;//浠巟ml 閰嶇疆鏂囦歡涓幏寰楀瓧絎︿覆Class c = Class.forName(className);factory = (AInterface)c.newInstance();
涓婇潰浠g爜灝辨秷鐏簡A綾誨悕縐幫紝浼樼偣錛氭棤璁篈綾繪庝箞鍙樺寲錛屼笂榪頒唬鐮佷笉鍙橈紝鐢氳嚦鍙互鏇存崲A鐨勫厔寮熺被B , C , D....絳夛紝鍙浠栦滑緇ф壙Ainterface灝卞彲浠ャ?
浠巎vm鐨勮搴︾湅錛屾垜浠嬌鐢╪ew鐨勬椂鍊欙紝榪欎釜瑕乶ew鐨勭被鍙互娌℃湁鍔犺澆錛?
浣嗘槸浣跨敤newInstance鏃跺欙紝灝卞繀欏諱繚璇侊細1銆佽繖涓被宸茬粡鍔犺澆錛?銆佽繖涓被宸茬粡榪炴帴浜嗐傝屽畬鎴愪笂闈袱涓楠ょ殑姝f槸class鐨勯潤鎬佹柟娉昮orName錛堬級鏂規硶錛岃繖涓潤鎬佹柟娉曡皟鐢ㄤ簡鍚姩綾誨姞杞藉櫒錛堝氨鏄姞杞絡ava API鐨勯偅涓姞杞藉櫒錛?/span>銆?
鏈変簡涓婇潰jvm涓婄殑鐞嗚В錛岄偅涔堟垜浠彲浠ヨ繖鏍瘋錛宯ewInstance瀹為檯涓婃槸鎶妌ew榪欎釜鏂瑰紡鍒嗚В涓轟袱姝?鍗籌紝棣栧厛璋冪敤class鐨勫姞杞芥柟娉曞姞杞芥煇涓被錛岀劧鍚庡疄渚嬪寲銆?
榪欐牱鍒嗘鐨勫ソ澶勬槸鏄捐屾槗瑙佺殑銆傛垜浠彲浠ュ湪璋冪敤class鐨勯潤鎬佸姞杞芥柟娉昮orName鏃惰幏寰楁洿濂界殑鐏墊椿鎬э紝鎻愪緵緇欎簡鎴戜滑闄嶈︾殑鎵嬫銆?

[琛ュ厖:]
newInstance: 寮辯被鍨嬨備綆鏁堢巼銆傚彧鑳借皟鐢ㄦ棤鍙傛瀯閫犮?
new: 寮虹被鍨嬨傜浉瀵歸珮鏁堛傝兘璋冪敤浠諱綍public鏋勯犮?
newInstance()鏄疄鐜癐OC銆佸弽灝勩侀潰瀵規帴鍙g紪紼?鍜?渚濊禆鍊掔疆 絳夋妧鏈柟娉曠殑蹇呯劧閫夋嫨錛宯ew 鍙兘瀹炵幇鍏蜂綋綾葷殑瀹炰緥鍖栵紝涓嶉傚悎浜庢帴鍙g紪紼嬨?
閲岄潰灝辨槸閫氳繃榪欎釜綾葷殑榛樿鏋勯犲嚱鏁版瀯寤轟簡涓涓璞★紝濡傛灉娌℃湁榛樿鏋勯犲嚱鏁板氨鎶涘嚭InstantiationException, 濡傛灉娌℃湁璁塊棶榛樿鏋勯犲嚱鏁扮殑鏉冮檺灝辨姏鍑篒llegalAccessException

lau 2011-04-14 17:37 鍙戣〃璇勮
]]>
鍏充簬JavaScript涓璦pply涓巆all鐨勭敤娉曟剰涔夊強鍖哄埆(杞?http://www.tkk7.com/alinglau36/archive/2011/04/11/348038.htmllaulauMon, 11 Apr 2011 02:27:00 GMThttp://www.tkk7.com/alinglau36/archive/2011/04/11/348038.htmlhttp://www.tkk7.com/alinglau36/comments/348038.htmlhttp://www.tkk7.com/alinglau36/archive/2011/04/11/348038.html#Feedback0http://www.tkk7.com/alinglau36/comments/commentRss/348038.htmlhttp://www.tkk7.com/alinglau36/services/trackbacks/348038.html 鍏充簬JavaScript涓璦pply涓巆all鐨勭敤娉曟剰涔夊強鍖哄埆(杞?

JavaScript涓湁涓涓猚all鍜宎pply鏂規硶錛屽叾浣滅敤鍩烘湰鐩稿悓錛屼絾涔熸湁鐣ュ井鐨勫尯鍒?br />
鍏堟潵鐪嬬湅JS鎵嬪唽涓call鐨勮В閲婏細

call 鏂規硶
璋冪敤涓涓璞$殑涓涓柟娉曪紝浠ュ彟涓涓璞℃浛鎹㈠綋鍓嶅璞°?br />
call([thisObj[,arg1[, arg2[,   [,.argN]]]]])

鍙傛暟
thisObj
鍙夐」銆傚皢琚敤浣滃綋鍓嶅璞$殑瀵硅薄銆?br />
arg1, arg2,  , argN
鍙夐」銆傚皢琚紶閫掓柟娉曞弬鏁板簭鍒椼?br />
璇存槑
call 鏂規硶鍙互鐢ㄦ潵浠f浛鍙︿竴涓璞¤皟鐢ㄤ竴涓柟娉曘俢all 鏂規硶鍙皢涓涓嚱鏁扮殑瀵硅薄涓婁笅鏂囦粠鍒濆鐨勪笂涓嬫枃鏀瑰彉涓虹敱 thisObj 鎸囧畾鐨勬柊瀵硅薄銆?br />
濡傛灉娌℃湁鎻愪緵 thisObj 鍙傛暟錛岄偅涔?Global 瀵硅薄琚敤浣?thisObj銆?br />

璇存槑鐧戒竴鐐瑰叾瀹炲氨鏄洿鏀瑰璞$殑鍐呴儴鎸囬拡錛屽嵆鏀瑰彉瀵硅薄鐨則his鎸囧悜鐨勫唴瀹廣傝繖鍦ㄩ潰鍚戝璞$殑js緙栫▼榪囩▼涓湁鏃舵槸寰堟湁鐢ㄧ殑銆?br />
寮曠敤緗戜笂涓涓唬鐮佹錛岃繍琛屽悗鑷劧灝辨槑鐧藉叾閬撶悊銆?br />

<input type="text" id="myText"   value="input text">
<script>
    
function Obj(){this.value="瀵硅薄錛?/span>";}
    
var value="global 鍙橀噺";
    
function Fun1(){alert(this.value);}

    window.Fun1();   
//global 鍙橀噺
    Fun1.call(window);  //global 鍙橀噺
    Fun1.call(document.getElementById('myText'));  //input text
    Fun1.call(new Obj());   //瀵硅薄錛?/span>
</script>

call鍑芥暟鍜宎pply鏂規硶鐨勭涓涓弬鏁伴兘鏄浼犲叆緇欏綋鍓嶅璞$殑瀵硅薄錛屽強鍑芥暟鍐呴儴鐨則his銆傚悗闈㈢殑鍙傛暟閮芥槸浼犻掔粰褰撳墠瀵硅薄鐨勫弬鏁般?br /> 榪愯濡備笅浠g爜錛?br />
<script>
   
var func=new function(){this.a="func"}
    
var myfunc=function(x){
        
var a="myfunc";
        alert(
this.a);
        alert(x);
    }
    myfunc.call(func,
"var");
</script>

鍙鍒嗗埆寮瑰嚭浜唂unc鍜寁ar銆傚埌榪欓噷灝卞call鐨勬瘡涓弬鏁扮殑鎰忎箟鏈夋墍浜嗚В浜嗐?br />
瀵逛簬apply鍜宑all涓よ呭湪浣滅敤涓婃槸鐩稿悓鐨勶紝浣嗕袱鑰呭湪鍙傛暟涓婃湁鍖哄埆鐨勩?br /> 瀵逛簬絎竴涓弬鏁版剰涔夐兘涓鏍鳳紝浣嗗絎簩涓弬鏁幫細
apply浼犲叆鐨勬槸涓涓弬鏁版暟緇勶紝涔熷氨鏄皢澶氫釜鍙傛暟緇勫悎鎴愪負涓涓暟緇勪紶鍏ワ紝鑰宑all鍒欎綔涓篶all鐨勫弬鏁頒紶鍏ワ紙浠庣浜屼釜鍙傛暟寮濮嬶級銆?/span>
濡?func.call(func1,var1,var2,var3)瀵瑰簲鐨刟pply鍐欐硶涓猴細func.apply(func1,[var1,var2,var3])

鍚屾椂浣跨敤apply鐨勫ソ澶勬槸鍙互鐩存帴灝嗗綋鍓嶅嚱鏁扮殑arguments瀵硅薄浣滀負apply鐨勭浜屼釜鍙傛暟浼犲叆


lau 2011-04-11 10:27 鍙戣〃璇勮
]]>
Freemarker鎿嶄綔瀛楃涓?/title><link>http://www.tkk7.com/alinglau36/archive/2011/02/23/344970.html</link><dc:creator>lau</dc:creator><author>lau</author><pubDate>Wed, 23 Feb 2011 06:04:00 GMT</pubDate><guid>http://www.tkk7.com/alinglau36/archive/2011/02/23/344970.html</guid><wfw:comment>http://www.tkk7.com/alinglau36/comments/344970.html</wfw:comment><comments>http://www.tkk7.com/alinglau36/archive/2011/02/23/344970.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.tkk7.com/alinglau36/comments/commentRss/344970.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/alinglau36/services/trackbacks/344970.html</trackback:ping><description><![CDATA[<p>1銆乻ubstring錛坰tart,end錛変粠涓涓瓧絎︿覆涓埅鍙栧瓙涓?br /> start:鎴彇瀛愪覆寮濮嬬殑绱㈠紩錛宻tart蹇呴』澶т簬絳変簬0錛屽皬浜庣瓑浜巈nd<br /> end: 鎴彇瀛愪覆鐨勯暱搴︼紝end蹇呴』澶т簬絳変簬0錛屽皬浜庣瓑浜庡瓧絎︿覆闀垮害錛屽鏋滅渷鐣ヨ鍙傛暟錛岄粯璁や負瀛楃涓查暱搴︺?br /> 渚嬪瓙錛?br /> ${‘str’?substring(0)}à緇撴灉涓簊tr<br /> ${‘str’?substring(1)}à緇撴灉涓簍r<br /> ${‘str’?substring(2)}à緇撴灉涓簉<br /> ${‘str’?substring(3)}à緇撴灉涓?br /> ${‘str’?substring(0,0)}à緇撴灉涓?br /> ${‘str’?substring(0,1)}à緇撴灉涓簊<br /> ${‘str’?substring(0,2)}à緇撴灉涓簊t<br /> ${‘str’?substring(0,3)}à緇撴灉涓簊tr</p> <p>2銆乧ap_first 灝嗗瓧絎︿覆涓殑絎竴涓崟璇嶇殑棣栧瓧姣嶅彉涓哄ぇ鍐欍?br /> ${‘str’錛焎ap_first}à緇撴灉涓篠tr<br /> 3銆乽ncap_first灝嗗瓧絎︿覆涓殑絎竴涓崟璇嶇殑棣栧瓧姣嶅彉涓哄皬鍐欍?br /> ${‘Str’錛焎ap_first}à緇撴灉涓簊tr<br /> 4銆?capitalize灝嗗瓧絎︿覆涓殑鎵鏈夊崟璇嶇殑棣栧瓧姣嶅彉涓哄ぇ鍐?br /> ${‘str’錛?capitalize}à緇撴灉涓篠TR</p> <p>5銆?date,time錛宒atetime灝嗗瓧絎︿覆杞崲涓烘棩鏈?br /> 渚嬪錛?br /> <#assign date1=”2009-10-12”?date(“yyyy-MM-dd”)><br /> <#assign date2=”9:28:20”?time(“HH:mm:ss”)><br /> <#assign date3=” 2009-10-12 9:28:20”?time(“HH:mm:ss”)><br /> ${date1}à緇撴灉涓?009-10-12<br /> ${date2}à緇撴灉涓?:28:20<br /> ${date3}à緇撴灉涓?009-10-12 9:28:20<br /> 娉ㄦ剰錛氬鏋滄寚瀹氱殑瀛楃涓叉牸寮忎笉姝g‘灝嗗紩鍙戦敊璇?/p> <p>6銆乪nds_with 鍒ゆ柇鏌愪釜瀛楃涓叉槸鍚︾敱鏌愪釜瀛愪覆緇撳熬錛岃繑鍥炲竷灝斿箋?br /> ${“string”?ends_with(“ing”)?string} 榪斿洖緇撴灉涓簍rue<br /> 娉ㄦ剰錛氬竷灝斿煎繀欏昏漿鎹負瀛楃涓叉墠鑳借緭鍑?/p> <p>7銆乭tml 鐢ㄤ簬灝嗗瓧絎︿覆涓殑<銆?gt;銆?amp;鍜?#8220;鏇挎崲涓哄搴斿緱&lt;&gt;&quot:&amp</p> <p>8銆乮ndex_of錛坰ubstring,start錛夊湪瀛楃涓蹭腑鏌ユ壘鏌愪釜瀛愪覆錛岃繑鍥炴壘鍒板瓙涓茬殑絎竴涓瓧絎︾殑绱㈠紩錛屽鏋滄病鏈夋壘鍒板瓙涓詫紝鍒欒繑鍥?1銆?br /> Start鍙傛暟鐢ㄤ簬鎸囧畾浠庡瓧絎︿覆鐨勯偅涓儲寮曞寮濮嬫悳绱紝start涓烘暟瀛楀箋?br /> 濡傛灉start澶т簬瀛楃涓查暱搴︼紝鍒檚tart鍙栧肩瓑浜庡瓧絎︿覆闀垮害錛屽鏋渟tart灝忎簬0錛?鍒檚tart鍙栧間負0銆?br /> ${“string”?index_of(“in”) à緇撴灉涓?<br /> ${“string”?index_of(“ab”) à緇撴灉涓?1</p> <p>9銆乴ength榪斿洖瀛楃涓茬殑闀垮害 ${“string”?length}à緇撴灉涓?</p> <p>10銆乴ower_case灝嗗瓧絎︿覆杞負灝忓啓<br /> ${“STRING”?lower_case}à緇撴灉涓簊tring</p> <p>11銆乽pper_case灝嗗瓧絎︿覆杞負澶у啓<br /> ${“string”?upper_case}à緇撴灉涓篠TRING</p> <p>12銆乧ontains 鍒ゆ柇瀛楃涓槸鍚﹀寘鍚煇涓瓙涓層傝繑鍥炲竷灝斿?br /> ${“string”?contains(“ing”)?string} à緇撴灉涓簍rue<br /> 娉ㄦ剰錛氬竷灝斿煎繀欏昏漿鎹負瀛楃涓叉墠鑳借緭鍑?/p> <p>13銆乶umber灝嗗瓧絎︿覆杞崲涓烘暟瀛?br /> ${“111.11”?number}à緇撴灉涓?11.11</p> <p>14銆乺eplace鐢ㄤ簬灝嗗瓧絎︿覆涓殑涓閮ㄥ垎浠庡乏鍒板彸鏇挎崲涓哄彟澶栫殑瀛楃涓層?br /> ${“strabg”?replace(“ab”,”in”)} à緇撴灉涓簊tring</p> <p>15銆乻plit浣跨敤鎸囧畾鐨勫垎闅旂灝嗕竴涓瓧絎︿覆鎷嗗垎涓轟竴緇勫瓧絎︿覆</p> <p><#list “This|is|split”?split(“|”) as s><br /> ${s}<br /> </#list><br /> 緇撴灉涓?<br /> This<br /> is<br /> split</p> <p>16銆?trim 鍒犻櫎瀛楃涓查灝劇┖鏍?${“ String ”?trim} à緇撴灉涓篠tring<br /> <br /><strong> 濡傛灉鏈枃瀵規偍鏈夊府鍔╁茍涓旇榧撳姳鎴戠殑璇濓紝璇鋒壂鎻忓涓嬩簩緇寸爜鏀寔鏈漢鐨勫姵鍔ㄦ垚鏋滐紝澶氳阿浜嗭紒</strong><br /><br /><img src="http://www.tkk7.com/images/blogjava_net/alinglau36/wcpay.jpg" width="500" height="685" alt="" /><br /> </p><img src ="http://www.tkk7.com/alinglau36/aggbug/344970.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/alinglau36/" target="_blank">lau</a> 2011-02-23 14:04 <a href="http://www.tkk7.com/alinglau36/archive/2011/02/23/344970.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>The project cannot be built until build path errors are resolved 鈥?Error in Eclipse IDEhttp://www.tkk7.com/alinglau36/archive/2011/02/22/344843.htmllaulauTue, 22 Feb 2011 05:59:00 GMThttp://www.tkk7.com/alinglau36/archive/2011/02/22/344843.htmlhttp://www.tkk7.com/alinglau36/comments/344843.htmlhttp://www.tkk7.com/alinglau36/archive/2011/02/22/344843.html#Feedback0http://www.tkk7.com/alinglau36/comments/commentRss/344843.htmlhttp://www.tkk7.com/alinglau36/services/trackbacks/344843.htmlFollowing content is referenced from

http://www.scottdstrader.com/blog/ether_archives/000921.html

Opening a workspace with several projects, I was presented with the following error for two of the projects:
To resolve this error in eclipse do the following steps.

The resolution was to force a resave of the selected projects (and their .classpath files):

Open the project properties
Select Java Build Path > Libraries
Add a new, arbitrary library (to be deleted later) > OK
Wait for the workspace to refresh (or force a refresh of the project)
The error(s) will go away
Remove the dummy library
The only other references I could find were to make minor alterations of contents of the .classpath file.



lau 2011-02-22 13:59 鍙戣〃璇勮
]]>
浣犱笉鐭ラ亾鐨?JavaScript - 鈥渢his鈥?/title><link>http://www.tkk7.com/alinglau36/archive/2011/02/09/344000.html</link><dc:creator>lau</dc:creator><author>lau</author><pubDate>Wed, 09 Feb 2011 15:25:00 GMT</pubDate><guid>http://www.tkk7.com/alinglau36/archive/2011/02/09/344000.html</guid><wfw:comment>http://www.tkk7.com/alinglau36/comments/344000.html</wfw:comment><comments>http://www.tkk7.com/alinglau36/archive/2011/02/09/344000.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.tkk7.com/alinglau36/comments/commentRss/344000.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/alinglau36/services/trackbacks/344000.html</trackback:ping><description><![CDATA[http://www.yaosansi.com/post/1263.html<br /> <br /> pretty good, worth reading. <br /> <br /> <img src ="http://www.tkk7.com/alinglau36/aggbug/344000.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/alinglau36/" target="_blank">lau</a> 2011-02-09 23:25 <a href="http://www.tkk7.com/alinglau36/archive/2011/02/09/344000.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>YAHOO.util.Dom涔嬪鎵捐妭鐐?杞?http://www.tkk7.com/alinglau36/archive/2011/02/01/343835.htmllaulauTue, 01 Feb 2011 00:55:00 GMThttp://www.tkk7.com/alinglau36/archive/2011/02/01/343835.htmlhttp://www.tkk7.com/alinglau36/comments/343835.htmlhttp://www.tkk7.com/alinglau36/archive/2011/02/01/343835.html#Feedback1http://www.tkk7.com/alinglau36/comments/commentRss/343835.htmlhttp://www.tkk7.com/alinglau36/services/trackbacks/343835.htmlYAHOO.util.Dom涔嬪鎵捐妭鐐?/h2>

YUI鐨凞om鏂規硶涓鍏辨湁45涓紝鍦ㄨ繖閲岃皥涓涓嬫垜瀛︿範榪囩▼閬囧埌鐨勯棶棰樺拰緇忛獙錛屽厛浠嬬粛17涓鎵捐妭鐐圭被鍨嬬殑Dom鏂規硶銆?/p>

get(el)錛氳寰楀垵瀛avaScript鐨勬椂鍊欙紝鏈鍏堣璇嗙殑涓や釜鏂規硶灝辨槸getElementById鍜? getElementsByTagName錛岃繖涓や釜涓滀笢涔熷熀鏈笂鑳藉鎵懼埌澶у鏁頒綘闇瑕佹壘鐨勪笢瑗垮暒銆俌UI閲岀殑get鏂規硶璺焔etElementById綾? 浼鹼紝浣嗘槸瀹冪殑鑳藉姏鍗磋寮哄緢澶氫簡錛宔l鍙互鏄疭tring銆丠TMLElement鎴栬匒rray銆?/p>

getElementsBy ( method , tag , root , apply , o , overrides )錛氳繖涓細鍜実etElementsByTagName姣旇緝鍍忎竴鐐圭偣鍚э紝浣嗘槸鍔熻兘宸ソ榪滐紝鍩烘湰涓奼etElementsBy搴旇鍙互鎵懼埌涓鍒囦綘鎯蟲壘鐨勫厓 绱狅紝method鏄畾涔変竴涓牎楠岀洰鏍囧厓绱犵殑鏂規硶錛岃繑鍥炰竴涓猙oolean鍊鹼紝tag鏄洰鏍囧厓绱犵殑nodeName錛宺oot鏄寚鍦ㄥ摢涓厓绱犱腑榪涜瀵繪壘錛屼篃 鍙互璇存垚鏄竴涓寖鍥村惂銆俛pply錛屾垜蹇呴』瑕佽涓嬪畠銆傘傚綋鍒濆畠鍥版壈鎴戜簡鍗婂ぉ錛孻UI緇欏嚭鐨勮В閲婃槸“A function to apply to each element when found ”錛屽彲浠ョ悊瑙d負涓涓洖璋冨嚱鏁板惂錛屽啀鐪嬬湅YUI鐨勪唬鐮侊紝鍏朵腑鏈夎繖涔堜竴孌碉細

if (apply) {
Y.Dom.batch(nodes, apply, o, overrides);
}

鎴戝綋鏃剁殑鐞嗚В鏄紝鍥犱負鏈緇堣繑鍥炵殑鏄竴涓妭鐐圭殑鏁扮粍鍢涳紝鎴戝氨浠ヤ負鎵ц瀹屽墠杈圭殑鏍¢獙鍚庡緱鍒扮殑緇撴灉鍐嶅湪apply涓繘琛屼竴嬈★紝涔熷氨鏄垜鍦╝pply涓啀瀵? 緇撴灉鍏冪礌榪涜涓嬩竴姝ョ殑鑺傜偣瀵繪壘錛岄偅涔堟渶鍚庤繑鍥炵殑搴旇鏄痑pply鎵ц鍚庡緱鍒扮殑鎵鏈夎妭鐐歸泦鍚堛傘傘傚彲鏄棤璁烘垜鎬庝箞璇曪紝鏈緇堣繑鍥炵殑閮芥槸閫氳繃method鏂規硶鎵 寰楀埌鏁扮粍錛屽茍娌℃湁鍐嶆閫氳繃apply鑾峰緱鏇村鐨勫厓绱狅紝鍢垮樋錛屼笉瑕佽絎戝搱錛屽綋鏃跺氨鏄繖涔堟兂鐨勩傘傘傚悗鏉ュ彂鐜幫紝瀹為檯涓婁笉鏄繖鏍峰瓙錛屾垜鐞嗚В閿欒鐨勫師鍥犲彧瑕佸氨鍦ㄩ偅 涓猙atch涓婏紝褰撴椂鐨勯敊璇湪浜庯紝鎴戞妸batch鏀捐繘getElementsBy閲屼簡錛岄偅涔堝湪batch閲岃竟return鍚庡簲璇ヤ笉浼氬啀緇х畫鎵ц return nodes浜嗭紝浣嗘槸瀹為檯涓婅繖閲岀殑Y.Dom.batch(nodes, apply, o, overrides)鍙槸涓涓渶緇堢殑緇撴灉鑰屽凡錛屾墍浠eturn nodes榪樻槸浼氭墽琛岀殑銆傞偅涔堣繖涓猘pply鐨勪綔鐢ㄥ湪浣曞鍛紵鍏跺疄浣滅敤灝辨槸鎵ц涓嬈″洖璋冨槢鍝堬紝瀹冩槸鍙互瀹炵幇鎴戜箣鍓嶇殑鎯蟲硶鐨勶紝浣嗘槸涓嶆槸鐩存帴榪斿洖鐨勶紝涓句釜渚? 瀛愶細

var uls = YAHOO.util.Dom.getElementsBy(function(el){
return el.className === 'J_tab';
},'ul','content');

榪欐槸瀵繪壘id涓篶ontent鐨勫鍣ㄤ笅className涓篔_tab鐨勮妭鐐癸紝閭d箞濡傛灉鎴戝悓鏃惰繕闇瑕佽幏鍙栨瘡涓猽l涓嬬殑鎵鏈塴i鑺傜偣璇ユ庝箞鍋氬憿錛屾諱笉鑳藉啀鏉ヤ竴嬈″驚鐜惂錛屽綋鐒朵篃鍙互鍟︼紝涓嶈繃瑕佸ソ濂藉埄鐢ㄤ笅YUI鍚э紝閭e氨鏄瀹冭幏鍙杣l鐨勫悓鏃惰幏鍙杔i錛?/p>

var lis = [];
function getli(obj) {
lis.push(obj.getElementsByTagName('li'));
}
var uls = YAHOO.util.Dom.getElementsBy(function(el){
return el.className === 'J_tab';
},'ul','content',getli);

OK錛岃繖鏍峰瓙灝變竴涓句袱寰椾簡鍝垀鍚庤竟鐨勪綔鐢ㄥ煙鍜屼笂涓嬫枃灝變笉澶氳鍟︼紝鍏充簬batch鐨勭濂囷紝涓嬫鍐嶈鍝堬紝鐪熺殑寰堢濂囥傘傘?/p>

getElementBy ( method , tag , root )錛氳繖涓氨鏄氳繃method鏍¢獙鐨勭涓涓厓绱犮?/p>

getElementsByClassName ( className , tag , root , apply , o , overrides )錛氭槸閫氳繃className榪涜鍏冪礌瀵繪壘錛屽叾瀹炶繖涓柟娉曟槸getElementsBy鐨勪竴涓壒孌婃柟娉曘?/p>

getChildren ( node )錛氳繖涓笌Dom涓殑childNode綾諱技銆?/p>

getChildrenBy ( node , method )錛氶氳繃method鏂規硶榪囨護瀛愬厓绱狅紝娉ㄦ剰鍙傛暟鐨勯『搴忎互鍙妌ode涓嶅彲涓篿d銆?/p>

getFirstChild ( node )錛氬鎵劇涓涓瓙鍏冪礌錛岃窡Dom涓殑firstChild鏈変簺綾諱技銆?/p>

getFirstChildBy ( node , method )錛氬鎵劇涓涓氳繃method鏍¢獙鐨勫瓙鍏冪礌錛屾敞鎰忓弬鏁扮殑欏哄簭浠ュ強node涓嶅彲涓篿d銆傚叾瀹炶繖涓瓑鍚屼簬getChildrenBy寰楀埌鐨勭涓涓厓绱犮?/p>

getLastChild ( node )錛氬鎵炬渶鍚庝竴涓瓙鍏冪礌錛屼笌Dom涓殑lastChild鏈変簺綾諱技銆?/p>

getLastChildBy ( node , method )錛氫笌getFirstChildBy鐩稿弽錛屽掔潃瀵繪壘銆?/p>

getAncestorBy ( node , method )錛氬鎵劇埗鑺傜偣錛屽彲浠ユ棤闄愮殑寰涓婄駭瀵繪壘錛岀洿鍒版壘鍒頒負姝紝node涓嶈兘涓篿d錛岃窡Dom涓殑parentNode綾諱技錛屼笉榪囪繖閲屼笉鐢ㄥ弽澶嶇殑parentNode鍟︺?/p>

getAncestorByClassName ( node , className )錛氶氳繃className瀵繪壘鐖惰妭鐐癸紝鏄痝etAncestorBy鐨勪竴涓壒孌婃柟娉曘?/p>

getAncestorByTagName ( node , tagName )錛氶氳繃tagName瀵繪壘鐖惰妭鐐癸紝鏄痝etAncestorBy鐨勪竴涓壒孌婃柟娉曘?/p>

getNextSibling ( node )錛氬鎵劇揣鎸ㄧ殑涓嬩竴涓悓綰ч潪鏂囨湰鑺傜偣鐨勮妭鐐癸紝涓嶥om涓殑nextSibling綾諱技錛岀渷鍘諱簡鍒ゆ柇鏂囨湰鑺傜偣楹葷儲銆?/p>

getNextSiblingBy ( node , method )錛氭棤闄愮殑寰涓嬫壘鐩村埌鎵懼埌閫氳繃method鏍¢獙鐨勫悓綰ч潪鏂囨湰鑺傜偣錛宯ode涓嶈兘涓篿d錛屾湁浜嗚繖涓柟娉曞氨涓嶇敤鏃犻檺鐨刵extSibling鍟︺?/p>

getPreviousSibling ( node )錛氬鎵劇揣鎸ㄧ殑涓婁竴涓悓綰ч潪鏂囨湰鑺傜偣鐨勮妭鐐癸紝涓嶥om涓殑previousSibling綾諱技錛屽彲浠ョ渷鍘誨垽鏂枃鏈妭鐐圭殑楹葷儲銆?/p>

getPreviousSiblingBy ( node , method )錛氭棤闄愮殑寰鍓嶆壘鐩村埌鎵懼埌閫氳繃method鏍¢獙鐨勫悓綰ч潪鏂囨湰鑺傜偣錛宯ode涓嶈兘涓篿d銆?/p>

lau 2011-02-01 08:55 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 亚洲人成影院在线高清| 西西人体44rt高清亚洲| 亚洲国产综合精品中文第一| 成全在线观看免费观看大全 | 国产精彩免费视频| 亚洲AV永久无码精品成人| baoyu122.永久免费视频| 亚洲中文字幕无码一区| 一级有奶水毛片免费看| 国产午夜亚洲不卡| 日本视频免费高清一本18| 国产亚洲人成网站观看| 久久狠狠躁免费观看2020| 亚洲国产成人高清在线观看| 中文字幕久精品免费视频| 亚洲国产精品久久久久久| 无码国产精品一区二区免费vr | 亚洲电影唐人社一区二区| 84pao国产成视频免费播放| 亚洲欧洲日产国码在线观看| 中文字幕无码免费久久99| 亚洲欧美成人一区二区三区| 国产成人精品123区免费视频| 黄色免费在线网址| 亚洲精品你懂的在线观看| 久久国产高潮流白浆免费观看| 亚洲黄色在线网站| 午夜免费福利网站| 一级毛片免费观看不收费| 久久久久亚洲精品成人网小说| 18禁止看的免费污网站| 亚洲国产成人久久一区二区三区| 国产一区二区三区免费视频 | 精品国产_亚洲人成在线| 亚洲片国产一区一级在线观看| 免费播放在线日本感人片| 亚洲成av人片在线看片| 波多野结衣视频在线免费观看| a级毛片免费观看视频| 亚洲a级在线观看| 亚洲欧洲自拍拍偷精品 美利坚|