{"_id":"dragdealer","_rev":"17-3ac3ce813561a50619bce0b278c9d591","name":"dragdealer","time":{"modified":"2022-06-15T23:45:27.916Z","created":"2014-03-04T19:51:09.559Z","0.9.7-SNAPSHOT":"2014-03-04T19:51:09.559Z","0.9.7-snapshot":"2014-03-04T20:22:30.659Z","0.9.7":"2014-04-30T21:43:41.049Z","0.9.8":"2014-12-06T17:27:30.240Z","0.9.9":"2015-10-17T14:44:51.590Z","0.10.0":"2018-01-12T02:47:27.911Z"},"description":"Drag-based JavaScript component, embracing endless UI solutions","readme":"Dragdealer.js [![Build Status](https://travis-ci.org/skidding/dragdealer.png?branch=master)](https://travis-ci.org/skidding/dragdealer)\n====\nDrag-based JavaScript component, embracing endless UI solutions\n\nSpecs & (sweet) demos: __http://skidding.github.io/dragdealer__\n\n## Install\n\nThe basic way to install Dragdealer is to include the [minified](https://cdnjs.cloudflare.com/ajax/libs/dragdealer/0.9.8/dragdealer.min.js)\nscript into your web page.\n\nYou can check the [examples](/examples) to see how you can add a particular slider from the demo to your own project.\n\n### Node package\n\nIt can also be installed through [npm](https://www.npmjs.org/package/dragdealer),\nusing something like [browserify.](https://github.com/substack/node-browserify)\n\n```js\nvar Dragdealer = require('dragdealer').Dragdealer;\n```\n\n## Running tests\n\nDragdealer has CI set up through [Travis CI](https://travis-ci.org) and [Sauce Labs](https://saucelabs.com) (who both offer their outstanding services for free to open-source projects.) Any pull-request will be tested automatically after each commit.\n\nYou can also run the tests by hand, of course.\n\n### Fire up the browser\n\nJust load index.html in a browser of choice and pull the top slider to the right or access URL with the `/#runner` hashtag directly. Example: http://skidding.github.io/dragdealer/#runner\n\nYou can start a web server using the `./node_modules/.bin/grunt dev` task, which will make the project available at [localhost:9999](http://localhost:9999)\n\n### Sauce Labs and PhantomJS\n\nRun the `./node_modules/.bin/grunt test` grunt task to run the tests from the terminal.\n\nIf you have SauceLabs credentials (SAUCE_USERNAME and SAUCE_ACCESS_KEY), tests will run there, otherwise the task will fall back to PhantomJS.\nYou can also force grunt to run the tests one way or the other using the `test-phantomjs` and `test-saucelabs` tasks.\n\n## Minifying\n\n`node_modules/.bin/uglifyjs src/dragdealer.js -o src/dragdealer.min.js`\n\nMake sure you ran `npm install` in the project directory first. Also, you can use global paths if you have the npm modules installed globally (-g), but you shouldn't _need_ to.\n\n## Contributing\n\nThere's no contributing guide so far, but you're more than welcome to [start a discussion.](https://github.com/skidding/dragdealer/issues)\n","maintainers":[{"name":"skidding","email":"skidding@gmail.com"}],"dist-tags":{"latest":"0.10.0"},"versions":{"0.9.7-snapshot":{"name":"dragdealer","version":"0.9.7-snapshot","description":"Drag-based JavaScript component, embracing endless UI solutions","repository":{"type":"git","url":"git://github.com/skidding/dragdealer.git"},"dependencies":{},"devDependencies":{"grunt":"~0.4.0","grunt-cli":"~0.1.6","grunt-saucelabs":"~4.0.2","grunt-contrib-connect":"~0.1.2","grunt-contrib-watch":"~0.2.0","uglify-js":"~2.4.8"},"scripts":{"test":"grunt test"},"main":"src/dragdealer.js","bugs":{"url":"https://github.com/skidding/dragdealer/issues"},"homepage":"https://github.com/skidding/dragdealer","_id":"dragdealer@0.9.7-snapshot","dist":{"shasum":"5ef16f6ea8e1f8b90c75d26c5b871ded3bc8fdd0","tarball":"https://registry.npmjs.org/dragdealer/-/dragdealer-0.9.7-snapshot.tgz","integrity":"sha512-11PBjIDbDXV7sO+u4he8b6+zSLITKjuH8cr8FghjLI5kz675DUcV1RTuygN53y3pTLegcxkkrZ0+Rqj9/Yu7zw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGLnSjJ7JAFAS0TjPgTUFmHTUs9OsoRaM0lAhHRPZhpgIhALxQYr8YVmLLjSgZyqvNmMbxlhdY5Fz5ErNpyZiIbOFM"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"skidding","email":"skidding@gmail.com"},"maintainers":[{"name":"skidding","email":"skidding@gmail.com"}]},"0.9.7":{"name":"dragdealer","version":"0.9.7","description":"Drag-based JavaScript component, embracing endless UI solutions","repository":{"type":"git","url":"git://github.com/skidding/dragdealer.git"},"dependencies":{},"devDependencies":{"grunt":"~0.4.0","grunt-cli":"~0.1.6","grunt-saucelabs":"~4.0.2","grunt-contrib-connect":"~0.1.2","grunt-contrib-watch":"~0.2.0","uglify-js":"~2.4.8"},"scripts":{"test":"grunt test"},"main":"src/dragdealer.js","bugs":{"url":"https://github.com/skidding/dragdealer/issues"},"homepage":"https://github.com/skidding/dragdealer","_id":"dragdealer@0.9.7","dist":{"shasum":"9e0acb55c9a70bda607993bda93e103602bfd9d8","tarball":"https://registry.npmjs.org/dragdealer/-/dragdealer-0.9.7.tgz","integrity":"sha512-xRj/XW3l3mNTejKFdz3hDpsa5UY11YjUV8gmt1BRsO3uGu/tVIaidRZVMmcPipUEVgCjF3XMUskjihO7+AIFUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFVM/ekfRDdh+mi7+UeeLqslWjw7HaNa2gH4bGG+hzgEAiBPaCcGc5Y3cpyIO/cqMDKXhDsk7PFZk808k5Iabi3rzA=="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"skidding","email":"skidding@gmail.com"},"maintainers":[{"name":"skidding","email":"skidding@gmail.com"}]},"0.9.8":{"name":"dragdealer","version":"0.9.8","description":"Drag-based JavaScript component, embracing endless UI solutions","repository":{"type":"git","url":"git://github.com/skidding/dragdealer.git"},"dependencies":{},"devDependencies":{"grunt":"~0.4.0","grunt-cli":"~0.1.6","grunt-saucelabs":"~8.3.3","grunt-contrib-connect":"~0.1.2","grunt-contrib-watch":"~0.2.0","uglify-js":"~2.4.8"},"scripts":{"test":"grunt test"},"main":"src/dragdealer.js","bugs":{"url":"https://github.com/skidding/dragdealer/issues"},"homepage":"https://github.com/skidding/dragdealer","_id":"dragdealer@0.9.8","dist":{"shasum":"3b15b50e66a9029f44c7e0c03202734b1ae8dc60","tarball":"https://registry.npmjs.org/dragdealer/-/dragdealer-0.9.8.tgz","integrity":"sha512-2XmtqRmqdrlaykRF+zyU9wvuQROuIF7T2l10v26tD68jtA0vN+WAeLbSf6CwWVVErmwHRy6Ft3on/CzulzBgrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHp/PT3cHES+BpnEzsFy0Reko1PQ2+4aCrXhNrk0qpJvAiEA1ITljD3oEQw05I6HIG83Hrwyza6K5jqZixfusj9Jc5o="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"skidding","email":"skidding@gmail.com"},"maintainers":[{"name":"skidding","email":"skidding@gmail.com"}]},"0.9.9":{"name":"dragdealer","version":"0.9.9","description":"Drag-based JavaScript component, embracing endless UI solutions","repository":{"type":"git","url":"git://github.com/skidding/dragdealer.git"},"dependencies":{},"devDependencies":{"grunt":"~0.4.0","grunt-cli":"~0.1.6","grunt-saucelabs":"~8.3.3","grunt-contrib-connect":"~0.1.2","grunt-contrib-watch":"~0.2.0","grunt-contrib-jasmine":"~0.5.2","uglify-js":"~2.4.8"},"scripts":{"test":"grunt test"},"main":"src/dragdealer.js","gitHead":"7271796d313e533760aae17ff76ba9497ff848e0","bugs":{"url":"https://github.com/skidding/dragdealer/issues"},"homepage":"https://github.com/skidding/dragdealer#readme","_id":"dragdealer@0.9.9","_shasum":"66f5b8f912eca53358516778d987565caac0e555","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"skidding","email":"skidding@gmail.com"},"maintainers":[{"name":"skidding","email":"skidding@gmail.com"}],"dist":{"shasum":"66f5b8f912eca53358516778d987565caac0e555","tarball":"https://registry.npmjs.org/dragdealer/-/dragdealer-0.9.9.tgz","integrity":"sha512-BMa8pBKr0lZvI/uwiUto5VBi9nri05xu3gEtRAvWlUTlo6nLlZLEy73Bpl+XvvS5xCNm85KDjWjSKtKOmyno9w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCW6FvC4o1ZW9vSq+A0SXfrSFOXQIa5UVX1DQJ/rG2RCwIhAMfwslJSNcvAf+mSDAXb82b3icannUgKtN1Agt2IssTg"}]}},"0.10.0":{"name":"dragdealer","version":"0.10.0","description":"Drag-based JavaScript component, embracing endless UI solutions","repository":{"type":"git","url":"git://github.com/skidding/dragdealer.git"},"dependencies":{},"devDependencies":{"grunt":"^0.4.5","grunt-cli":"~0.1.6","grunt-contrib-connect":"~0.1.2","grunt-contrib-jasmine":"git+https://github.com/skidding/grunt-contrib-jasmine.git#v0.5.3-phantom2x","grunt-contrib-watch":"~0.2.0","grunt-saucelabs":"^9.0.0","uglify-js":"^3.3.5"},"scripts":{"test":"grunt test"},"main":"src/dragdealer.js","gitHead":"0709aa27abe6a0a574a3c3f8f4bfbb1e331ddf24","bugs":{"url":"https://github.com/skidding/dragdealer/issues"},"homepage":"https://github.com/skidding/dragdealer#readme","_id":"dragdealer@0.10.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"skidding","email":"skidding@gmail.com"},"dist":{"integrity":"sha512-epTXLx6m1fhrqtqUo/YjWQIT1L+Y5EI6WsrNI6K6QJCwHQtPrdHl5Btiiu4OtVaaNO+hEwA7rzBqWzgrslF4ZQ==","shasum":"092f58f545e95dd748d0ba5f571dfe9c2c551290","tarball":"https://registry.npmjs.org/dragdealer/-/dragdealer-0.10.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDc6RKj/9fEqHAZ0OHhs5Knoypj52jmwk2zMXqvc/TJ/AIhAPsULqqusfNRKU9neQGX9rIJJiOkJO1ufl3z1F8qfkZ6"}]},"maintainers":[{"name":"skidding","email":"skidding@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dragdealer-0.10.0.tgz_1515725246170_0.7787741641514003"}}},"homepage":"https://github.com/skidding/dragdealer#readme","repository":{"type":"git","url":"git://github.com/skidding/dragdealer.git"},"bugs":{"url":"https://github.com/skidding/dragdealer/issues"},"readmeFilename":"README.md","users":{"jianli":true}}