GoogleChrome/apps-resource-loader — pull request #13 by dmitri777 (2014-12-27 18:36:51+00:00)
Title: passing URLs in correct way; this solves issue #12

Issue #12 is actually not a bug in library code.

The error happens because usage sample code is wrong. URLs are passed as strings in sample code, but they must be in fact dictionaries with src attribute, as can be seen from line 14 of https://github.com/GoogleChrome/apps-resource-loader/blob/master/lib/RAL/Image.js

RAL.RemoteImage = function(options) {
...
this.src = this.element.dataset.src || options.src;

This ways, it works fine. I tested in on my own Chrome App which is not published yet. Images were retrieved from the net and appended to target container w/o issues.