├── .gitignore ├── .jshintrc ├── LICENSE.txt ├── README.md ├── bower.json ├── gulpfile.js ├── lib ├── dom-elements.js └── dom-elements.min.js ├── package.json ├── src ├── elements │ └── index.js ├── index.js ├── methods │ ├── absolutize-selector.js │ ├── attribute-name.js │ ├── index.js │ └── scope-selector.js ├── scope │ ├── index.js │ └── support.js └── utils │ ├── expando.js │ ├── is-native.js │ ├── pushuniq.js │ ├── separate-selector.js │ └── to-array.js └── test ├── absolutize-selector.js ├── elements.js ├── index.js ├── index.js.toremove ├── is-native.js ├── pushuniq.js ├── query.js ├── queryall.js ├── queryallwrapper.js ├── querywrapper.js ├── scope-selector.js ├── scope.js └── separate-selector.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | 3 | -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/.jshintrc -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/README.md -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/bower.json -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/gulpfile.js -------------------------------------------------------------------------------- /lib/dom-elements.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/lib/dom-elements.js -------------------------------------------------------------------------------- /lib/dom-elements.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/lib/dom-elements.min.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/package.json -------------------------------------------------------------------------------- /src/elements/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/src/elements/index.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/src/index.js -------------------------------------------------------------------------------- /src/methods/absolutize-selector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/src/methods/absolutize-selector.js -------------------------------------------------------------------------------- /src/methods/attribute-name.js: -------------------------------------------------------------------------------- 1 | module.exports = 'data-dom-elements-id-' + require('../utils/expando'); 2 | -------------------------------------------------------------------------------- /src/methods/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/src/methods/index.js -------------------------------------------------------------------------------- /src/methods/scope-selector.js: -------------------------------------------------------------------------------- 1 | module.exports = function (item) { 2 | return ':scoped ' + item; 3 | }; 4 | -------------------------------------------------------------------------------- /src/scope/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/src/scope/index.js -------------------------------------------------------------------------------- /src/scope/support.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/src/scope/support.js -------------------------------------------------------------------------------- /src/utils/expando.js: -------------------------------------------------------------------------------- 1 | module.exports = String(Math.random()).replace(/\D/g, ''); 2 | -------------------------------------------------------------------------------- /src/utils/is-native.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/src/utils/is-native.js -------------------------------------------------------------------------------- /src/utils/pushuniq.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/src/utils/pushuniq.js -------------------------------------------------------------------------------- /src/utils/separate-selector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/src/utils/separate-selector.js -------------------------------------------------------------------------------- /src/utils/to-array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/src/utils/to-array.js -------------------------------------------------------------------------------- /test/absolutize-selector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/test/absolutize-selector.js -------------------------------------------------------------------------------- /test/elements.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/test/elements.js -------------------------------------------------------------------------------- /test/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/test/index.js -------------------------------------------------------------------------------- /test/index.js.toremove: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/test/index.js.toremove -------------------------------------------------------------------------------- /test/is-native.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/test/is-native.js -------------------------------------------------------------------------------- /test/pushuniq.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/test/pushuniq.js -------------------------------------------------------------------------------- /test/query.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/test/query.js -------------------------------------------------------------------------------- /test/queryall.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/test/queryall.js -------------------------------------------------------------------------------- /test/queryallwrapper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/test/queryallwrapper.js -------------------------------------------------------------------------------- /test/querywrapper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/test/querywrapper.js -------------------------------------------------------------------------------- /test/scope-selector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/test/scope-selector.js -------------------------------------------------------------------------------- /test/scope.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/test/scope.js -------------------------------------------------------------------------------- /test/separate-selector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/barberboy/dom-elements/HEAD/test/separate-selector.js --------------------------------------------------------------------------------