File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 5555@homepage http://polymerlabs.github.io/google-apis
5656-->
5757< polymer-element name ="google-api-loader "
58- attributes ="name version "
58+ attributes ="name version root "
5959 extends ="google-client-api "
6060 on-api-load ="{{doneLoadingClient}} ">
6161< script >
102102 */
103103 version : '' ,
104104
105+ /**
106+ * Root URL for loading a Google Cloud Endpoints API.
107+ * A valid root URL looks like this:
108+ * 'https://your_app_id.appspot.com/_ah/api'
109+ * @attribute root
110+ * @type string
111+ */
112+
105113 // Used to fix events potentially being fired multiple times by
106114 // core-shared-lib.
107115 waiting : false ,
190198 statuses_ [ this . name ] = 'loading' ;
191199 loaders_ [ this . name ] = this ;
192200 gapi . client . load ( this . name , this . version ,
193- this . handleLoadResponse . bind ( this ) ) ;
201+ this . handleLoadResponse . bind ( this ) , this . root ) ;
194202 }
195203 }
196204 }
You can’t perform that action at this time.
0 commit comments