設計模式-門面模式與適配器模式

//門面模式 var DED = window.DED || {} DED.util = { stopPropagation:function(e){ if(e.stopPropagation){ //w3 interface e.stopPropagation(); }else{ //IE interface e.cancelBubble = true; }
相關文章
相關標籤/搜索