diff --git a/CHANGELOG.md b/CHANGELOG.md index e2a7ca63..2bedfdf8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -88,7 +88,7 @@ * Improve handling of term boosts across multiple fields [#263](https://github.com/olivernn/lunr.js/issues/263) * Enable escaping of special characters when performing a search [#271](https://github.com/olivernn/lunr.js/issues/271) -* Add ability to programatically include leading and trailing wildcards when performing a query. +* Add ability to programmatically include leading and trailing wildcards when performing a query. ## 2.0.4 @@ -140,7 +140,7 @@ * Replace array-like string access with ES3 compatible `String.prototype.charAt` [#186](https://github.com/olivernn/lunr.js/pull/186), thanks [jkellerer](https://github.com/jkellerer). * Move empty string filtering from `lunr.trimmer` to `lunr.Pipeline.prototype.run` so that empty tokens do not enter the index, regardless of the trimmer being used [#178](https://github.com/olivernn/lunr.js/issues/178), [#177](https://github.com/olivernn/lunr.js/issues/177) and [#174](https://github.com/olivernn/lunr.js/issues/174) * Allow tokenization of arrays with null and non string elements [#172](https://github.com/olivernn/lunr.js/issues/172). -* Parameterize the seperator used by `lunr.tokenizer`, fixes [#102](https://github.com/olivernn/lunr.js/issues/102). +* Parameterize the separator used by `lunr.tokenizer`, fixes [#102](https://github.com/olivernn/lunr.js/issues/102). ## 0.5.12 @@ -161,7 +161,7 @@ ## 0.5.9 * Remove recursion from SortedSet#indexOf and SortedSet#locationFor to gain small performance gains in Index#search and Index#add -* Fix incorrect handling of non existant functions when adding/removing from a Pipeline [#146](https://github.com/olivernn/lunr.js/issues/146) thanks to [weixsong](https://github.com/weixsong) +* Fix incorrect handling of non-existent functions when adding/removing from a Pipeline [#146](https://github.com/olivernn/lunr.js/issues/146) thanks to [weixsong](https://github.com/weixsong) ## 0.5.8 @@ -245,7 +245,7 @@ ## 0.3.1 -* Fix bug [#24](https://github.com/olivernn/lunr.js/pull/24) that caused an error when trying to remove a non-existant document from the index, thanks [Jesús Leganés Combarro](https://github.com/piranna) +* Fix bug [#24](https://github.com/olivernn/lunr.js/pull/24) that caused an error when trying to remove a non-existent document from the index, thanks [Jesús Leganés Combarro](https://github.com/piranna) ## 0.3.0 diff --git a/build/wrapper_end b/build/wrapper_end index 380dd453..3880b536 100644 --- a/build/wrapper_end +++ b/build/wrapper_end @@ -10,7 +10,7 @@ } else if (typeof exports === 'object') { /** * Node. Does not work with strict CommonJS, but - * only CommonJS-like enviroments that support module.exports, + * only CommonJS-like environments that support module.exports, * like Node. */ module.exports = factory() diff --git a/lunr.js b/lunr.js index 6aa370fb..aca0a167 100644 --- a/lunr.js +++ b/lunr.js @@ -3456,7 +3456,7 @@ lunr.QueryParser.parseBoost = function (parser) { } else if (typeof exports === 'object') { /** * Node. Does not work with strict CommonJS, but - * only CommonJS-like enviroments that support module.exports, + * only CommonJS-like environments that support module.exports, * like Node. */ module.exports = factory() diff --git a/test/env/chai.js b/test/env/chai.js index 1d30296a..fcf1c78e 100644 --- a/test/env/chai.js +++ b/test/env/chai.js @@ -272,7 +272,7 @@ module.exports = { * * Set it to zero if you want to disable truncating altogether. * - * This is especially userful when doing assertions on arrays: having this + * This is especially useful when doing assertions on arrays: having this * set to a reasonable large value makes the failure messages readily * inspectable. * @@ -4381,7 +4381,7 @@ module.exports = function getEnumerableProperties(object) { */ /*! - * Module dependancies + * Module dependencies */ var flag = require('./flag') @@ -4855,7 +4855,7 @@ var getEnumerableProperties = require('./getEnumerableProperties'); module.exports = inspect; /** - * Echos the value of a value. Trys to print the value out + * Echos the value of a value. Tries to print the value out * in the best way possible given the different types. * * @param {Object} obj The object to print out. @@ -5189,7 +5189,7 @@ function objectToString(o) { */ /*! - * Module dependancies + * Module dependencies */ var inspect = require('./inspect'); @@ -5243,7 +5243,7 @@ module.exports = function (obj) { /** * ### overwriteChainableMethod (ctx, name, method, chainingBehavior) * - * Overwites an already existing chainable method + * Overwrites an already existing chainable method * and provides access to the previous function or * property. Must return functions to be used for * name. @@ -5299,7 +5299,7 @@ module.exports = function (ctx, name, method, chainingBehavior) { /** * ### overwriteMethod (ctx, name, fn) * - * Overwites an already existing method and provides + * Overwrites an already existing method and provides * access to previous function. Must return function * to be used for name. * @@ -5353,7 +5353,7 @@ module.exports = function (ctx, name, method) { /** * ### overwriteProperty (ctx, name, fn) * - * Overwites an already existing property getter and provides + * Overwrites an already existing property getter and provides * access to previous value. Must return function to use as getter. * * utils.overwriteProperty(chai.Assertion.prototype, 'ok', function (_super) { @@ -5408,7 +5408,7 @@ module.exports = function (ctx, name, getter) { */ /*! - * Module dependancies + * Module dependencies */ var flag = require('./flag'); @@ -6139,4 +6139,4 @@ Library.prototype.test = function(obj, type) { }; },{}]},{},[1])(1) -}); \ No newline at end of file +}); diff --git a/test/env/mocha.js b/test/env/mocha.js index c9224e3b..979e265e 100644 --- a/test/env/mocha.js +++ b/test/env/mocha.js @@ -2037,7 +2037,7 @@ exports.cursor = { }; /** - * Outut the given `failures` as a list. + * Output the given `failures` as a list. * * @param {Array} failures * @api public @@ -7055,7 +7055,7 @@ function alloc (that, size, fill, encoding) { if (fill !== undefined) { // Only pay attention to encoding if it's a string. This // prevents accidentally sending in a number that would - // be interpretted as a start offset. + // be interpreted as a start offset. return typeof encoding === 'string' ? createBuffer(that, size).fill(fill, encoding) : createBuffer(that, size).fill(fill) @@ -7344,7 +7344,7 @@ function slowToString (encoding, start, end) { return '' } - // Force coersion to uint32. This will also coerce falsey/NaN values to 0. + // Force coercion to uint32. This will also coerce falsey/NaN values to 0. end >>>= 0 start >>>= 0 @@ -9781,7 +9781,7 @@ exports.version = '1.4.1' * - sticky Make the notification stick (defaults to false) * - priority Specify an int or named key (default is 0) * - name Application name (defaults to growlnotify) - * - sound Sound efect ( in OSx defined in preferences -> sound -> effects) * works only in OSX > 10.8x + * - sound Sound effect ( in OSx defined in preferences -> sound -> effects) * works only in OSX > 10.8x * - image * - path to an icon sets --iconpath * - path to an image sets --image @@ -12375,7 +12375,7 @@ process.nextTick = function (fun) { } }; -// v8 likes predictible objects +// v8 likes predictable objects function Item(fun, array) { this.fun = fun; this.array = array; @@ -14700,7 +14700,7 @@ exports.debuglog = function(set) { /** - * Echos the value of a value. Trys to print the value out + * Echos the value of a value. Tries to print the value out * in the best way possible given the different types. * * @param {Object} obj The object to print out. diff --git a/test/pipeline_test.js b/test/pipeline_test.js index f080bf9d..8bd072bd 100644 --- a/test/pipeline_test.js +++ b/test/pipeline_test.js @@ -257,7 +257,7 @@ suite('lunr.Pipeline', function () { assert.equal(fn, pipeline._stack[0]) }) - test('with unregisterd functions', function () { + test('with unregistered functions', function () { var serializedPipeline = ['fn'] assert.throws(function () {