<link rel="import" href="cosmoz-i18next.html"/>

<dom-module id="cosmoz-t">
	<template>[[ _(input, t) ]]</template>
	<script>
		(function () {
			class CosmozT extends Polymer.mixinBehaviors([Cosmoz.TranslatableBehavior], Polymer.Element) {
				/**
				 * Get component name.
				 * @returns {string} Name.
				 */
				static get is() {
					return 'cosmoz-t';
				}
				/**
				 * Get component properties.
				 * @returns {object} Properties.
				 */
				static get properties() {
					return {
						input: {
							type: String
						}
					};
				}
			}
			customElements.define(CosmozT.is, CosmozT);
		}());
	</script>
</dom-module>
<link rel="import" href="cosmoz-i18next.html"/>

<dom-module id="cosmoz-t">
	<template>[[ _(input, t) ]]</template>
	<script>
		(function () {
			Polymer({
				is: 'cosmoz-t',
				properties: {
					input: {
						type: String
					}
				},
				behaviors: [
					Cosmoz.TranslatableBehavior
				]
			});
		}());
	</script>
</dom-module>

Update to Polymer 2.x - part 1.
Update to Polymer 2.x - part 1.

* Reverting whole file to check if the tests pass then, continued.

Refs #9
