Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation notice: Version 2.0 #67

Open
wants to merge 65 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
2a9f43e
Deprecation notice
nitriques Oct 31, 2013
4b02cfd
Provide accent-insensitive comparison
JustinStolle May 26, 2013
4003cfa
Made noResults option accept jQuery DOM elements in addition to strin…
tankchintan Apr 5, 2013
2a1306f
Add bower support
Oct 3, 2013
eaa00f4
Add markdown syntax highlighting to README.md
ulikoehler Feb 25, 2013
7cc88a9
Fixed codeblock error in README.md
ulikoehler Feb 25, 2013
2106e47
Move some files
nitriques Oct 31, 2013
bf39628
Maintenance note
nitriques Oct 31, 2013
3f98fca
Added grunt a build script
nitriques Oct 31, 2013
d3a1d77
New release since merge with all pull requests
nitriques Oct 31, 2013
38eb2f0
Fixed bower
nitriques Oct 31, 2013
1a0c919
Fixed the examples and made jquery version changeable via ?jquery= qu…
nitriques Oct 31, 2013
62d3356
trying to fix jquery plugin manifest
nitriques Oct 31, 2013
1ddb629
Version bump
nitriques Oct 31, 2013
708d849
Make jshint fucking happy
nitriques Oct 31, 2013
6130c9f
code clean up and some refactor; public defaults
nitriques Oct 31, 2013
0617d74
Added a minimum value length in order to prevent searching if the val…
nitriques Oct 31, 2013
451b0f5
Added new options to the docs
nitriques Oct 31, 2013
a7ef3f2
Fixed typo
nitriques Oct 31, 2013
0726401
Fixed wrong path
nitriques Oct 31, 2013
572dadd
Make small changes to accomodate removeDiacritics options
nitriques Oct 31, 2013
0af78d2
Made diacriticsRemovalMap public
nitriques Oct 31, 2013
2e226a6
Added the onValTooSmall callback
nitriques Oct 31, 2013
8c66a96
Updated the example to include new options
nitriques Oct 31, 2013
fef499f
Changed implementation of the result method
nitriques Oct 31, 2013
8c44029
New release
nitriques Oct 31, 2013
4b37af3
Fixed some wrong assumptions with find/replaceAll...
nitriques Oct 31, 2013
02f789e
New release
nitriques Oct 31, 2013
4795e07
Make sure the results are reseted if the value is too small
nitriques Oct 31, 2013
352c67f
New release
nitriques Oct 31, 2013
77191cf
Fixing source maps path errors
nitriques Oct 31, 2013
5692de9
As per #3, made the plugin listen to the search event as well
nitriques Nov 15, 2013
e46acab
Version bump
nitriques Nov 15, 2013
44d4e82
Fixing merge
nitriques Nov 15, 2013
2e6a74b
Clean up
nitriques Nov 15, 2013
1b0daca
Merge branch 'dev' of github.com:DeuxHuitHuit/quicksearch
nitriques Nov 15, 2013
54ba60c
Version 2.0.2
nitriques Nov 15, 2013
41bcbc4
Added some bower keywords
nitriques Nov 19, 2013
503f3d3
Added deps
nitriques Nov 19, 2013
8b20fe4
Fixed general behaviour
beaubbe Nov 29, 2013
a22083b
Grunt js file
beaubbe Nov 29, 2013
81a97cd
Update documentation
beaubbe Nov 29, 2013
323c842
Make sure we do not modify the defaults
nitriques Mar 24, 2014
2188c08
Fixed some bugs in the demo
nitriques Mar 24, 2014
85b8d27
Added input as default event for IE11 (re #3)
nitriques Mar 24, 2014
55e22f7
Dependacies fix
nitriques Mar 24, 2014
6dce5c4
new build
nitriques Mar 24, 2014
b39fa46
Version bump
nitriques Mar 24, 2014
f7da865
new build
nitriques Mar 24, 2014
83e6f86
Merge branch 'dev'
nitriques Mar 24, 2014
9d657d2
Version bump
nitriques Mar 24, 2014
9f61365
refs #5 Performance of caching
cntoplolicon May 26, 2014
0c3cb07
Merge pull request #6 from cntoplolicon/patch
nitriques May 27, 2014
3a1e098
Merge branch 'master' of github.com:DeuxHuitHuit/quicksearch into dev
nitriques May 27, 2014
6bf4004
new build
nitriques May 27, 2014
2ec99de
version bump
nitriques May 27, 2014
3a4d1cd
Add main attribute to bower.json
May 28, 2014
512b8fc
Merge pull request #7 from richardwestenra/patch-1
nitriques May 28, 2014
1754672
cherry-picking 3a4d1cd86657505137b2e5057c6015b00127590a
May 28, 2014
df80aad
added a message regarding which branch to do PRs in
nitriques May 28, 2014
78b1f75
Replace tags with space instead of nothing
nitriques Aug 26, 2014
f7d025a
new build
nitriques Aug 26, 2014
21ccb1f
Merge branch 'dev' of quicksearch
nitriques Aug 26, 2014
9aaa41a
jquery plugins is deprecated: use npm instead
nitriques Nov 14, 2014
e5b7388
Added npm link
nitriques Nov 14, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*~
.project
.settings
node_modules
129 changes: 129 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
/*global module:false, require:false*/
var md = require('matchdep');

module.exports = function(grunt) {

'use strict';

var gruntfile = 'Gruntfile.js';
var sources = ['src/<%= pkg.name %>.js'];

md.filter('grunt-*').forEach(grunt.loadNpmTasks);

// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
meta: {
banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' +
'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
'<%= pkg.homepage ? "* " + pkg.homepage + "\\n" : "" %>' +
'* Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author[0].name %> (<%= pkg.author[0].url %>);\n' +
'* Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %> http://deuxhuithuit.mit-license.org */\n'
},
concat: {
options: {
process: true,
banner: '<%= meta.banner %>'
},
dist: {
src: sources,
dest: 'dist/<%= pkg.name %>.js'
}
},

watch: {
files: sources.concat(gruntfile),
tasks: ['dev']
},

jshint: {
files: sources.concat(gruntfile),
options: {
curly: true,
eqeqeq: false, // allow ==
immed: false, //
latedef: false, // late definition
newcap: false, // capitalize ctos
nonew: true, // no new ..()
noarg: true,
sub: true,
undef: true,
//boss: true,
eqnull: true, // relax
browser: true,
regexp: true,
strict: true,
trailing: false,
smarttabs: true,
lastsemic: true,
globals: {
console: true,
jQuery: true,
pd: true,
_: true,
Popcorn: true,
DEBUG: true,
CSS3: true,
JSON: true
}
}
},
uglify: {
prod: {
files: {
'dist/<%= pkg.name %>.min.js': '<%= concat.dist.dest %>'
}
},
options: {
banner: '<%= meta.banner %>',
report: 'gzip',
sourceMap: 'dist/<%= pkg.name %>.min.js.map',
sourceMappingURL: '<%= pkg.name %>.min.js.map',
sourceMapRoot: '../',
mangle: true,
compress: {
global_defs: {
DEBUG: false
},
dead_code: true,
unused: true,
warnings: true
}
}
},

complexity: {
generic: {
src: sources,
options: {
//jsLintXML: 'report.xml', // create XML JSLint-like report
errorsOnly: false, // show only maintainability errors
cyclomatic: 10, // 3
halstead: 20, // 8
maintainability: 95 //100
}
}
}
});

// fix source map url
grunt.registerTask('fix-source-map', 'Fix the wrong file path in the source map', function() {
var sourceMapPath = grunt.template.process('<%= uglify.options.sourceMap %>');
var sourceMapUrl = grunt.template.process('<%= uglify.options.sourceMappingURL %>');
var diff = sourceMapPath.replace(sourceMapUrl, '');
var sourceMap = grunt.file.readJSON(sourceMapPath);
sourceMap.file = sourceMap.file.replace(diff, '');
var newSources = [];
sourceMap.sources.forEach(function (elem) {
newSources.push(elem.replace(diff, ''));
});
sourceMap.sources = newSources;
grunt.log.write(sourceMap.sources);
grunt.file.write(sourceMapPath, JSON.stringify(sourceMap));
});

// Default tasks.
grunt.registerTask('dev', ['jshint','complexity']);
grunt.registerTask('build', ['concat','uglify','fix-source-map']);
grunt.registerTask('default', ['dev','build']);
};
27 changes: 27 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
All source code included in this jQuery Plugin
is, unless otherwise specified, released under the MIT licence as
follows:

----- begin license block -----

Copyright 2013-2014 Deux Huit Huit

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

----- end license block -----
159 changes: 0 additions & 159 deletions README.markdown

This file was deleted.

Loading