I'm working on a simple Polymer app. I'm using the Polymer Yeoman generator, 
which set me up with Polymer 0.5.5.




It's working in Chrome (Mac Stable, Version 42.0.2311.90 (64-bit)), but I do 
get an error in the console:


> Failed to load resource: the server responded with a status of 404 (Not 
> Found) http://localhost:9000/elements/polymer/polymer.html


---


As of now, it's only going to run on an in-store iPad 2, but there are issues 
when running on Safari/Chrome. Unfortunately that's as much as I know right now 
for iPad 2 issues. I work remotely (on the other side of the world) and that's 
all my boss was able to relay to me so far.


---


We also discovered some issues in Firefox (Mac 37.0.1), which is my primary 
immediate concern (I'm hoping solving these issues will solve those with the 
iPad). Here's what I get in the console:


> ReferenceError: PolymerExpressions is not defined app.js:123:2


The code from `app.js` looks like this (helps with dealing with data from 
Firebase):


```
(function (document) {
  'use strict';
  ...
  
  
  PolymerExpressions.prototype.keys = function(o) {
    if (typeof o === 'object') {
      return Object.keys(o);
    }
  }
  
  
  ...
})(wrap(document));
```


I'm loading `webcomponents.js` in my `<head>`, and `app.js` is the last thing 
before `</body>`.


The second error is the same 404 on `polymer.html`. I can't find anything 
referencing `/elements/polymer/polymer.html` in my code, so I'm guessing 
`webcomponents.js` might have something to do with that.


---


I talked with @justin on Slack a little bit ([link to the 
discussion](https://polymer.slack.com/archives/general/p1429251000000765)), and 
he suggested trying the `polymer-ready` event, which *does* suppress the error, 
but I still get another error (multiple times) I expected fixing that one to 
take care of:


> "Cannot find function or filter: keys"


--
Curtis Blackwellthefriendlybeasts.com

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/1429252507197.9495876e%40Nodemailer.
For more options, visit https://groups.google.com/d/optout.

Reply via email to