From 3df8f5a5f9962d5ee15f907fc3ac2601175cb94b Mon Sep 17 00:00:00 2001 From: Slawomir Brzezinski Date: Wed, 24 May 2017 18:41:38 +0100 Subject: [PATCH] Address TODO - LanguageBehavior is now offered by the generic PropertiesFromAncestorBehavior so use it + bonus: thanks to PropertiesFromAncestorBehavior supporting value changes, we can now allow user to see all translations in a single demo, so let's do that --- .version | 2 +- README.md | 5 ++- bower.json | 3 +- demo/container-with-lang-choice.html | 43 +++++++++++++++++++++++ demo/index.html | 25 +++++++------ language-behavior.html | 11 ------ papyrus-details.html | 35 ++++++++++++------- test/language-behavior_test.html | 52 ---------------------------- test/papyrus-details_test.html | 2 +- 9 files changed, 87 insertions(+), 91 deletions(-) create mode 100644 demo/container-with-lang-choice.html delete mode 100644 language-behavior.html delete mode 100644 test/language-behavior_test.html diff --git a/.version b/.version index 65fb5ae..dd8a2af 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -v1.0.x \ No newline at end of file +v1.1.x \ No newline at end of file diff --git a/README.md b/README.md index 480afa7..2fe5207 100644 --- a/README.md +++ b/README.md @@ -11,11 +11,14 @@ Expandable/collapsible summary and details with animation ``` diff --git a/bower.json b/bower.json index 6c4ef9c..c7a73c2 100644 --- a/bower.json +++ b/bower.json @@ -3,7 +3,8 @@ "description": "Expand and collapse information with summary text displayed at all times", "main": "papyrus-details.html", "dependencies": { - "polymer": "Polymer/polymer#^1.4.0" + "polymer": "Polymer/polymer#^1.4.0", + "properties-from-ancestor-behavior": "^1.0" }, "license": "http://polymer.github.io/LICENSE.txt", "devDependencies": { diff --git a/demo/container-with-lang-choice.html b/demo/container-with-lang-choice.html new file mode 100644 index 0000000..c3f6455 --- /dev/null +++ b/demo/container-with-lang-choice.html @@ -0,0 +1,43 @@ + + + + + \ No newline at end of file diff --git a/demo/index.html b/demo/index.html index ee477de..404bae6 100644 --- a/demo/index.html +++ b/demo/index.html @@ -1,5 +1,5 @@ - - + + @@ -10,6 +10,7 @@ +