Index: third_party/polymer/v0_8/components-chromium/more-routing/more-route-template-helpers-extracted.js |
diff --git a/third_party/polymer/v0_8/components-chromium/more-routing/more-route-template-helpers-extracted.js b/third_party/polymer/v0_8/components-chromium/more-routing/more-route-template-helpers-extracted.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f3c2b56742e8a3825d74fe81fb1842f0edcf1010 |
--- /dev/null |
+++ b/third_party/polymer/v0_8/components-chromium/more-routing/more-route-template-helpers-extracted.js |
@@ -0,0 +1,22 @@ |
+ |
+(function(scope) { |
+var MoreRouting = scope.MoreRouting = scope.MoreRouting || {}; |
+ |
+/** |
+ * Helper functions to spruce up your templates. |
+ * |
+ * @behavior |
+ */ |
+MoreRouting.TemplateHelpers = { |
+ |
+ urlFor: function(pathOrName, params) { |
+ return MoreRouting.urlFor(pathOrName, params); |
+ }, |
+ |
+ isCurrentUrl: function(pathOrName, params) { |
+ return MoreRouting.isCurrentUrl(pathOrName, params); |
+ }, |
+ |
+}; |
+ |
+})(window); |