Created
August 8, 2013 05:45
-
-
Save esmasui/6181794 to your computer and use it in GitHub Desktop.
enchantMOON window.coreオブジェクトのダンプ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| EventException=function (){if(arguments.length>0){this._code=arguments[0]}else{this._code=0}if(arguments.length>1){this._message=arguments[1]}else{this._message="Unspecified event type"}Error.call(this,this._message);if(Error.captureStackTrace){Error.captureStackTrace(this,events.EventException)}} | |
| -------- | |
| Event=function (eventType){this._eventType=eventType;this._type=eventType;this._bubbles=null;this._cancelable=null;this._target=null;this._currentTarget=null;this._eventPhase=null;this._timeStamp=null;this._preventDefault=false;this._stopPropagation=false} | |
| -------- | |
| UIEvent=function (eventType){events.Event.call(this,eventType);this.view=null;this.detail=null} | |
| -------- | |
| MouseEvent=function (eventType){events.UIEvent.call(this,eventType);this.screenX=null;this.screenY=null;this.clientX=null;this.clientY=null;this.ctrlKey=null;this.shiftKey=null;this.altKey=null;this.metaKey=null;this.button=null;this.relatedTarget=null} | |
| -------- | |
| MutationEvent=function (eventType){events.Event.call(this,eventType);this.relatedNode=null;this.prevValue=null;this.newValue=null;this.attrName=null;this.attrChange=null} | |
| -------- | |
| EventTarget=function (){} | |
| -------- | |
| Touch=function (){this.identifier=0;this.target=null;this.screenX=0;this.screenY=0;this.clientX=0;this.clientY=0;this.pageX=0;this.pageY=0;this.radiusX=0;this.radiusY=0;this.rotationAngle=0;this.force=0} | |
| -------- | |
| TouchList=function (touches){if(!touches){this.__touches=[]}Object.defineProperty(this,"length",{get:function(){return this.__touches.length}})} | |
| -------- | |
| TouchEvent=function (eventType){events.UIEvent.call(this,eventType);this.touches=null;this.targetTouches=null;this.changedTouches=null;this.ctrlKey=false;this.shiftKey=false;this.altKey=false;this.metaKey=false;this.relatedTarget=null} | |
| -------- | |
| ProgressEvent=function (eventType,init){events.Event.call(this,eventType);if(init){this.lengthComputable=init.lengthComputable;this.loaded=init.loaded;this.total=init.total}else{this.lengthComputable=false;this.loaded=0;this.total=0}} | |
| -------- | |
| MessagePortArray=function (){} | |
| -------- | |
| WindowProxy=function (){} | |
| -------- | |
| MessageEvent=function (eventType){events.Event.call(this,eventType);this.view=null;this.detail=null} | |
| -------- | |
| _htmltodom=[object Object] | |
| -------- | |
| isAddedToDocument=function (el){if(el.parentNode){return __JSDomImpl.isAddedToDocument(el.parentNode)}else{if(el instanceof __JSDomImpl.Document){return el}else{return undefined}}} | |
| -------- | |
| _iframe=function (src){window.HTMLElement.apply(this,arguments);var that=this;if(!this.width){this.width=1}if(!this.height){this.height=1}this.src=undefined;this.addEventListener("DOMAttrModified",function(e){var name=e.attrName.toLowerCase();if(name==="src"&&__JSDomImpl.isAddedToDocument(this)){that._updateSrc()}else if(name==="width"||name==="height"){that._updateDimension()}});this.addEventListener("DOMNodeInsertedIntoDocument",function(e){if(__JSDomImpl.isAddedToDocument(this)){that._updateSrc();that._updateRenderTree()}});this.addEventListener("DomNodeRemovedFromDocument",function(e){that._updateRenderTree()});this.__window=window.__SubEagleCoreManager.createSubEagleCore(this)} | |
| -------- | |
| _script=function (src){window.HTMLElement.apply(this,arguments);var that=this;this.addEventListener("DOMAttrModified",function(e){if(e.attrName.toLowerCase()==="src"&&e.newValue!==e.prevValue){that._updateSrc()}});this.addEventListener("DOMNodeInsertedIntoDocument",function(e){that._updateSrc()})} | |
| -------- | |
| INVALID_STATE_ERR=11 | |
| -------- | |
| SYNTAX_ERR=12 | |
| -------- | |
| INVALID_MODIFICATION_ERR=13 | |
| -------- | |
| NAMESPACE_ERR=14 | |
| -------- | |
| INVALID_ACCESS_ERR=15 | |
| -------- | |
| mapper=function (parent,filter,recursive){return function(){return core.mapDOMNodes(parent,recursive!==false,filter)}} | |
| -------- | |
| mapDOMNodes=function (parent,recursive,callback){function visit(parent,result){return parent.childNodes.reduce(reducer,result)}function reducer(array,child){if(callback(child)){array.push(child)}if(recursive&&child._childNodes){visit(child,array)}return array}return visit(parent,[])} | |
| -------- | |
| visitTree=function (root,callback){var cur=root;function visit(el){if(el){callback(el);if(el._childNodes){var i=0,children=el._childNodes,l=children.length;for(i;i<l;i++){visit(children[i])}}}}visit(root)} | |
| -------- | |
| markTreeReadonly=function (node){function markLevel(el){el._readonly=true;if(el.attributes){var attributes=el.attributes,l=attributes.length,i=0;attributes._readonly=true;for(i;i<l;i++){core.visitTree(attributes[i],markLevel)}}}core.visitTree(node,markLevel)} | |
| -------- | |
| INDEX_SIZE_ERR=1 | |
| -------- | |
| DOMSTRING_SIZE_ERR=2 | |
| -------- | |
| HIERARCHY_REQUEST_ERR=3 | |
| -------- | |
| WRONG_DOCUMENT_ERR=4 | |
| -------- | |
| INVALID_CHARACTER_ERR=5 | |
| -------- | |
| NO_DATA_ALLOWED_ERR=6 | |
| -------- | |
| NO_MODIFICATION_ALLOWED_ERR=7 | |
| -------- | |
| NOT_FOUND_ERR=8 | |
| -------- | |
| NOT_SUPPORTED_ERR=9 | |
| -------- | |
| INUSE_ATTRIBUTE_ERR=10 | |
| -------- | |
| exceptionMessages=[object Object] | |
| -------- | |
| DOMException=function (code,message){this.code=code;Error.call(this,core.exceptionMessages[code]);this.message=core.exceptionMessages[code];if(message)this.message=this.message+": "+message;if(Error.captureStackTrace)Error.captureStackTrace(this,core.DOMException)} | |
| -------- | |
| NodeList=function NodeList(element,query){if(!query){var list=new NodeArray;if(Array.isArray(element)){Array.prototype.push.apply(list,element)}return list}Object.defineProperties(this,{_element:{value:element},_query:{value:query},_snapshot:{writable:true},_length:{value:0,writable:true},_version:{value:-1,writable:true}});this.update()} | |
| -------- | |
| DOMImplementation=function DOMImplementation(document,features){this._ownerDocument=document;this._features={};if(features){for(var feature in features){if(features.hasOwnProperty(feature)){this.addFeature(feature.toLowerCase(),features[feature])}}}} | |
| -------- | |
| Node=function Node(ownerDocument){this._childNodes=new core.NodeList;this._ownerDocument=ownerDocument;this._attributes=new core.AttrNodeMap(ownerDocument,this);this._nodeName=null;this._childrenList=null;this._version=0;this._nodeValue=null;this._parentNode=null;this._nodeName=null;this._readonly=false} | |
| -------- | |
| NamedNodeMap=function NamedNodeMap(document){this._nodes={};this._nsStore={};this.length=0;this._ownerDocument=document;this._readonly=false} | |
| -------- | |
| AttrNodeMap=function AttrNodeMap(document,parentNode){core.NamedNodeMap.call(this,document);this._parentNode=parentNode} | |
| -------- | |
| NotationNodeMap=function NotationNodeMap(document){core.NamedNodeMap.call(this,document);this._readonly=false;for(var i=1;i<arguments.length;i++){this.setNamedItem(arguments[i])}this._readonly=true} | |
| -------- | |
| EntityNodeMap=function EntityNodeMap(document){core.NamedNodeMap.call(this,document);this._readonly=false;var i=1,l=arguments.length;for(i=1;i<l;i++){this.setNamedItem(arguments[i])}core.markTreeReadonly(this)} | |
| -------- | |
| Element=function Element(document,tagName){this._ownerDocument=document;core.Node.call(this,document);this._nodeName=tagName;this._tagName=tagName} | |
| -------- | |
| DocumentFragment=function DocumentFragment(document){core.Node.call(this,document);this._nodeName=this._tagName="#document-fragment"} | |
| -------- | |
| ProcessingInstruction=function ProcessingInstruction(document,target,data){this._ownerDocument=document;core.Node.call(this,document);this._nodeName=target;this._tagName=target;this._target=target;this._nodeValue=data} | |
| -------- | |
| Document=function Document(options){if(!options){options={}}else if(typeof options=="string"){options={name:options}}core.Node.call(this,"#document");this._nodeName=this._tagName="#document";this._contentType=options.contentType||"text/xml";this._doctype=options._doctype;this._implementation=options.implementation||new core.DOMImplementation;this._documentElement=null;this._ids=Object.create(null);this._attached=true;this._ownerDocument=this;this._readonly=false} | |
| -------- | |
| CharacterData=function CharacterData(document,value){core.Node.call(this,document);this._nodeValue=value+""} | |
| -------- | |
| Attr=function Attr(document,name,value){core.Node.call(this,document);this._nodeValue=value;this._name=name;this._specified=value?true:false;this._tagName=name;this._nodeName=name} | |
| -------- | |
| Text=function Text(document,text,readonly){core.CharacterData.call(this,document,text);this._nodeName="#text";this._readonly=readonly?true:false} | |
| -------- | |
| Comment=function Comment(document,text){core.Text.call(this,document,text);this._nodeName="#comment";this._tagName="#comment"} | |
| -------- | |
| CDATASection=function CDATASection(document,value){core.Text.call(this,document,value);this._nodeName="#cdata-section"} | |
| -------- | |
| DocumentType=function DocumentType(document,name,entities,notations,attributes){core.Node.call(this,document);this._name=name;this._tagName=name;this._nodeName=name;this._entities=entities||new core.EntityNodeMap(document);this._notations=notations||new core.NotationNodeMap(document);core.markTreeReadonly(this._notations);this._attributes=attributes||new core.AttrNodeMap(document)} | |
| -------- | |
| Notation=function Notation(document,name,publicId,systemId){core.Node.call(this,document);this._name=name;this._nodeName=name;this._publicId=publicId||null;this._systemId=systemId||null;this._nodeValue=null} | |
| -------- | |
| Entity=function Entity(document,name){core.Node.call(this,document);this._name=name;this._nodeName=name;this._tagName=name;this._publicId=null;this._systemId=null;this._notationName=null;this._readonly=true} | |
| -------- | |
| EntityReference=function EntityReference(document,entity){core.Node.call(this,document);this._entity=entity;this._nodeName=entity?entity.name:null;this._readonly=true} | |
| -------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment