/** * Pollymer JavaScript Library v1.1.2 * Copyright 2013-2014 Fanout, Inc. * Released under the MIT license (see COPYING file in source distribution) */ (function(factory) { "use strict"; var DEBUG = true; var isWindow = function(variable) { return variable && variable.document && variable.location && variable.alert && variable.setInterval; }; if (!isWindow(window)) { throw "The current version of Pollymer may only be used within the context of a browser."; } var debugMode = DEBUG && typeof(window.console) !== "undefined"; if (typeof define === 'function' && define['amd']) { // AMD anonymous module define(['exports'], function(exports) { factory(exports, window, debugMode); }); } else { // No module loader (plain