You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

dragselect

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dragselect - npm Package Compare versions

Comparing version

to
1.6.1

dist/quicktest.html

11

dist/dragSelect.js
/*
@TODO: rewrite it in a OOP manner so that people can extend/mixin the dragselect
@TODO: test in older browsers

@@ -13,7 +12,6 @@ __ _____ __ __

Key-Features
- No dependencies
- Add drag selection.
- Choose which elements can be selected.
- Awesome browser support, works even on IE7
- Great browser support, works perfectly on IE9
- Ease of use

@@ -24,4 +22,6 @@ - Lightweight, only ~1KB gzipped

Classes
** .ds-selected On elements that are selected
** .ds-hover On elements that are currently hovered
** .ds-selector On the selector element
.ds-selected on elements that are selected
Properties

@@ -38,3 +38,2 @@ ** @selectables nodes the elements that can be selected

Methods
** .start () reset the functionality after a teardown

@@ -532,3 +531,3 @@ ** .stop () will teardown/stop the whole functionality

// an exception is thrown and we end up here. Testing some
// properties that all elements have. (works on IE7)
// properties that all elements have. (works even on IE7)
return ( typeof obj === 'object' ) &&

@@ -535,0 +534,0 @@ ( obj.nodeType === 1 ) &&

@@ -35,2 +35,7 @@ var gulp = require('gulp');

gulp.task('quicktest', function () {
gulp.src('./src/quicktest.html')
.pipe(gulp.dest('./dist/'));
});
gulp.task('deploy', function () {

@@ -41,2 +46,2 @@ return gulp.src('./dist/**/*')

gulp.task('default', ['js', 'html', 'css']);
gulp.task('default', ['js', 'html', 'css', 'quicktest']);
{
"name": "dragselect",
"version": "1.6.0",
"version": "1.6.1",
"description": "easy javascript drag select functionality to your projects",

@@ -5,0 +5,0 @@ "main": "./dist/ds.min.js",

@@ -22,3 +22,3 @@ ```

- Choose which elements can be selected.
- Awesome browser support, works even on IE7
- Great browser support, works even like a charm on IE9
- Ease of use

@@ -25,0 +25,0 @@ - Lightweight, only ~1KB gzipped

/*
@TODO: rewrite it in a OOP manner so that people can extend/mixin the dragselect
@TODO: test in older browsers

@@ -13,7 +12,6 @@ __ _____ __ __

Key-Features
- No dependencies
- Add drag selection.
- Choose which elements can be selected.
- Awesome browser support, works even on IE7
- Great browser support, works perfectly on IE9
- Ease of use

@@ -24,4 +22,6 @@ - Lightweight, only ~1KB gzipped

Classes
** .ds-selected On elements that are selected
** .ds-hover On elements that are currently hovered
** .ds-selector On the selector element
.ds-selected on elements that are selected
Properties

@@ -38,3 +38,2 @@ ** @selectables nodes the elements that can be selected

Methods
** .start () reset the functionality after a teardown

@@ -532,3 +531,3 @@ ** .stop () will teardown/stop the whole functionality

// an exception is thrown and we end up here. Testing some
// properties that all elements have. (works on IE7)
// properties that all elements have. (works even on IE7)
return ( typeof obj === 'object' ) &&

@@ -535,0 +534,0 @@ ( obj.nodeType === 1 ) &&

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet