From 9245e2d4f3065d76c1bdfc84e6c63a7d6a8757ff Mon Sep 17 00:00:00 2001 From: Steve Orvell Date: Thu, 12 Dec 2013 09:59:43 -0800 Subject: [PATCH] remove deprecated polymer.js, polymer should be included via importing polymer.html. --- polymer.js | 59 ------------------------------------------------------ 1 file changed, 59 deletions(-) delete mode 100644 polymer.js diff --git a/polymer.js b/polymer.js deleted file mode 100644 index 7ba717a..0000000 --- a/polymer.js +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2013 The Polymer Authors. All rights reserved. - * Use of this source code is governed by a BSD-style - * license that can be found in the LICENSE file. - */ - -(function() { - -var thisFile = 'polymer.js'; -var scopeName = 'Polymer'; - -var modules = [ - "../platform/platform.js" -].concat([ - "boot.js", - "lib/lang.js", - "lib/job.js", - "lib/dom.js", - "lib/super.js", - "lib/deserialize.js", - "api.js", - "instance/utils.js", - "instance/events.js", - "instance/attributes.js", - "instance/properties.js", - "instance/mdv.js", - "instance/base.js", - "instance/styles.js", - "declaration/path.js", - "declaration/styles.js", - "declaration/events.js", - "declaration/properties.js", - "declaration/attributes.js", - "declaration/prototype.js", - "declaration/polymer-element.js" -].map(function(n) { - return "src/" + n; -})); - -// export - -window[scopeName] = { - entryPointName: thisFile, - modules: modules -}; - -// bootstrap - -var script = document.querySelector('script[src*="' + thisFile + '"]'); -var src = script.attributes.src.value; -var basePath = src.slice(0, src.indexOf(thisFile)); - -if (!window.PolymerLoader) { - var path = basePath + '../tools/loader/loader.js'; - document.write(''); -} -document.write(''); - -})();