├── .gitignore ├── .kube-ci └── ci.yaml ├── README.md ├── index.html ├── karma.conf.ci.js ├── karma.conf.js ├── lib ├── includes.js ├── needs-offset.js ├── offset.js ├── positions.js └── size.js ├── package.json └── test ├── lib ├── create.js ├── each.js ├── permute.js └── stringify.js ├── test-body-borders.js ├── test-body-margins.js ├── test-containers.js ├── test-position-absolute.js ├── test-position-fixed.js ├── test-relative-body.js ├── test-scroll.js └── test-wrong-order.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | coverage 4 | -------------------------------------------------------------------------------- /.kube-ci/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alanclarke/positions/HEAD/.kube-ci/ci.yaml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alanclarke/positions/HEAD/README.md -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alanclarke/positions/HEAD/index.html -------------------------------------------------------------------------------- /karma.conf.ci.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alanclarke/positions/HEAD/karma.conf.ci.js -------------------------------------------------------------------------------- /karma.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alanclarke/positions/HEAD/karma.conf.js -------------------------------------------------------------------------------- /lib/includes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alanclarke/positions/HEAD/lib/includes.js -------------------------------------------------------------------------------- /lib/needs-offset.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alanclarke/positions/HEAD/lib/needs-offset.js -------------------------------------------------------------------------------- /lib/offset.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alanclarke/positions/HEAD/lib/offset.js -------------------------------------------------------------------------------- /lib/positions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alanclarke/positions/HEAD/lib/positions.js -------------------------------------------------------------------------------- /lib/size.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alanclarke/positions/HEAD/lib/size.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alanclarke/positions/HEAD/package.json -------------------------------------------------------------------------------- /test/lib/create.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alanclarke/positions/HEAD/test/lib/create.js -------------------------------------------------------------------------------- /test/lib/each.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alanclarke/positions/HEAD/test/lib/each.js -------------------------------------------------------------------------------- /test/lib/permute.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alanclarke/positions/HEAD/test/lib/permute.js -------------------------------------------------------------------------------- /test/lib/stringify.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alanclarke/positions/HEAD/test/lib/stringify.js -------------------------------------------------------------------------------- /test/test-body-borders.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alanclarke/positions/HEAD/test/test-body-borders.js -------------------------------------------------------------------------------- /test/test-body-margins.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alanclarke/positions/HEAD/test/test-body-margins.js -------------------------------------------------------------------------------- /test/test-containers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alanclarke/positions/HEAD/test/test-containers.js -------------------------------------------------------------------------------- /test/test-position-absolute.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alanclarke/positions/HEAD/test/test-position-absolute.js -------------------------------------------------------------------------------- /test/test-position-fixed.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alanclarke/positions/HEAD/test/test-position-fixed.js -------------------------------------------------------------------------------- /test/test-relative-body.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alanclarke/positions/HEAD/test/test-relative-body.js -------------------------------------------------------------------------------- /test/test-scroll.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alanclarke/positions/HEAD/test/test-scroll.js -------------------------------------------------------------------------------- /test/test-wrong-order.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alanclarke/positions/HEAD/test/test-wrong-order.js --------------------------------------------------------------------------------