コード例 #1
0
ファイル: Document.cs プロジェクト: gaozhou/core-1
 public DocumentProxy(ReactContext context, Action <string> execute, string origin)
 {
     head         = new HeadProxy();
     this.execute = execute;
     this.origin  = origin;
     this.context = context;
 }
コード例 #2
0
 public DocumentProxy(UnityUGUIContext context, ReactUnity root, string origin)
 {
     head         = new HeadProxy();
     execute      = root.ExecuteScript;
     this.origin  = origin;
     this.context = context;
     this.root    = root;
 }
コード例 #3
0
 public StyleProxy(DocumentProxy document)
 {
     this.document = document;
     parentNode    = document.head;
 }