diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8d4ae25 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +bower_components diff --git a/README.md b/README.md index 3448017..8f4fc76 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # iron-fit-behavior -Fits an element into another element + +Fits an element in the window, or another element. diff --git a/bower.json b/bower.json new file mode 100644 index 0000000..abc4e30 --- /dev/null +++ b/bower.json @@ -0,0 +1,19 @@ +{ + "name": "iron-fit-behavior", + "version": "0.8.0", + "private": true, + "main": "iron-fit-behavior", + "authors": "The Polymer Authors", + "repository": { + "type": "git", + "url": "git://github.com/PolymerElements/iron-fit-behavior.git" + }, + "dependencies": { + "polymer": "Polymer/polymer#v0.8.0-rc.7" + }, + "devDependencies": { + "test-fixture": "PolymerElements/test-fixture#^0.8.0", + "web-component-tester": "*", + "webcomponentsjs": "^0.6.0" + } +} diff --git a/demo/index.html b/demo/index.html new file mode 100644 index 0000000..eec751b --- /dev/null +++ b/demo/index.html @@ -0,0 +1,43 @@ + + + + + + iron-fit-behavior demo + + + + + + + + + + + + + + + + centered in window + + + + + diff --git a/demo/simple-fit.html b/demo/simple-fit.html new file mode 100644 index 0000000..b7fddc8 --- /dev/null +++ b/demo/simple-fit.html @@ -0,0 +1,42 @@ + + + + + + + + + + + + + diff --git a/index.html b/index.html new file mode 100644 index 0000000..c55c997 --- /dev/null +++ b/index.html @@ -0,0 +1,30 @@ + + + + + + + + + iron-fit-behavior + + + + + + + + + + + + + diff --git a/iron-fit-behavior.html b/iron-fit-behavior.html new file mode 100644 index 0000000..0cd13a3 --- /dev/null +++ b/iron-fit-behavior.html @@ -0,0 +1,198 @@ + + + + + + diff --git a/test/index.html b/test/index.html new file mode 100644 index 0000000..5c3084c --- /dev/null +++ b/test/index.html @@ -0,0 +1,34 @@ + + + + + + iron-fit-behavior tests + + + + + + + + + + + + + + diff --git a/test/iron-fit-behavior.html b/test/iron-fit-behavior.html new file mode 100644 index 0000000..0925efb --- /dev/null +++ b/test/iron-fit-behavior.html @@ -0,0 +1,302 @@ + + + + + + iron-fit-behavior tests + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/test-fit.html b/test/test-fit.html new file mode 100644 index 0000000..b8768fe --- /dev/null +++ b/test/test-fit.html @@ -0,0 +1,42 @@ + + + + + + + + + + + + +