We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm not sure what the directory structure setup is supposed to look like for testing.
I currently clone this component to my local machine then run bower install. However, the test files are referring to files that aren't in bower_components and don't exist within this component's directory (e.g. https://github.com/GoogleWebComponents/google-map/blob/master/test/google-map-basic.html#L7). The html files themselves refer to files that aren't in this component's directory (https://github.com/GoogleWebComponents/google-map/blob/master/google-map.html#L3).
bower install
I understand that the ../pathto/file.html is written that way because it expects to be in the same directory (e.g. /bower_components/).
../pathto/file.html
This makes testing a bit odd and results in a noisy dev console when these files aren't found. What's the strategy supposed to be here?
The text was updated successfully, but these errors were encountered:
Also, loading the demo page produces these errors in the console (again, because of the imports):
GET http://localhost:8000/webcomponentsjs/webcomponents.min.js demo.html:54 GET http://localhost:8000/polymer/polymer.html demo.html:54 GET http://localhost:8000/google-apis/google-apis.html google-map.html:48 Uncaught ReferenceError: Polymer is not defined google-map.html:319 Uncaught ReferenceError: Polymer is not defined google-map-directions.html:47 Uncaught ReferenceError: Polymer is not defined google-map-search.html:42 Uncaught ReferenceError: Polymer is not defined
Sorry, something went wrong.
I ended up using the following steps, which still feel odd:
bower install google-map
cd google-map
git clone https://github.com/kevinwestern/google-map local
python -m SimpleHTTPServer
This approach of assuming your dependencies will be one level up feels unstable and messy. I wonder if there's a better way?
No branches or pull requests
I'm not sure what the directory structure setup is supposed to look like for testing.
I currently clone this component to my local machine then run
bower install
. However, the test files are referring to files that aren't in bower_components and don't exist within this component's directory (e.g. https://github.com/GoogleWebComponents/google-map/blob/master/test/google-map-basic.html#L7). The html files themselves refer to files that aren't in this component's directory (https://github.com/GoogleWebComponents/google-map/blob/master/google-map.html#L3).I understand that the
../pathto/file.html
is written that way because it expects to be in the same directory (e.g. /bower_components/).This makes testing a bit odd and results in a noisy dev console when these files aren't found. What's the strategy supposed to be here?
The text was updated successfully, but these errors were encountered: