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 @@ + + + +
+ +Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+ + + + + + 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 @@ + + + + +