diff --git a/jlist.js b/jlist.js index e3c322c..a6a1e6d 100644 --- a/jlist.js +++ b/jlist.js @@ -1,7 +1,7 @@ /* Title: jlist.js Version: 1.6.0 (Semantic versioning: http://semver.org) - Last update: 31st May, 2013 + Last update: 10th June, 2013 Written by: David Waterston (david@davidwaterston.com) Github repository and documentation: http://davidwaterston.github.com/jlist Forked by: Chris Tsongas (chris.tsongas@bitmojo.com) @@ -147,7 +147,7 @@ var jList = (function () { id, len1 = arr1.length, len2 = arr2.length, - out = [] + out = []; if (list1 !== "") { for (i = 0; i < len1; i += 1) { @@ -262,7 +262,7 @@ var jList = (function () { i, id, len = arr.length, - out = [] + out = []; for (i = 0; i < len; i += 1) { id = arr[i]; @@ -340,7 +340,7 @@ var jList = (function () { i, id, len1 = arr1.length, - out = [] + out = []; for (i = 0; i < len1; i += 1) { id = arr1[i]; @@ -362,7 +362,7 @@ var jList = (function () { i, id, len1 = arr1.length, - out = [] + out = []; for (i = 0; i < len1; i += 1) { id = arr1[i]; @@ -435,14 +435,13 @@ var jList = (function () { i, id, len = arr.length, - out = [] + out = []; for (i = 0; i < len; i += 1) { id = arr[i]; if (id === value1) { out.push(value2); - } - else { + } else { out.push(id); } } @@ -460,14 +459,13 @@ var jList = (function () { i, id, len = arr.length, - out = [] + out = []; for (i = 0; i < len; i += 1) { id = arr[i]; if (id.toUpperCase() === value1.toUpperCase()) { out.push(value2); - } - else { + } else { out.push(id); } } @@ -557,7 +555,7 @@ var jList = (function () { } delimiter = (delimiter === undefined) ? "," : delimiter; - return this.listRemoveDuplicates(this.listConcatenate(list1, list2, delimiter), delimiter) + return this.listRemoveDuplicates(this.listConcatenate(list1, list2, delimiter), delimiter); }, diff --git a/readme.md b/readme.md index 638263f..8f4df6d 100644 --- a/readme.md +++ b/readme.md @@ -164,8 +164,9 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI ##More - *jList* is minified using [UglifyJS](http://marijnhaverbeke.nl/uglifyjs). - Version numbers follow the [Semantic Versioning](http://semver.org) standard. -- The unminified version of the source validates clean in [jsLint (Edition 2012-08-23)](http://jslint.com). -- Written by [David Waterston] (http://dvolvr.davidwaterston.com) and [Chris Tsongas] (http://www.bitmojo.com) +- The unminified version of the source validates clean in [jsLint (Edition 2013-06-08)](http://jslint.com). +- Written by [David Waterston] (http://dvolvr.davidwaterston.com) +- Forked by [Chris Tsongas] (http://www.bitmojo.com) - Github repository: [http://davidwaterston.github.com/jList](http://davidwaterston.github.com/jList) - Planning and task management in [Trello](https://trello.com/board/jlist/504b80ff3a6c80626f306215) - Developed using [Sublime Text 2](http://www.sublimetext.com/2), [CodeBox](http://www.shpakovski.com/codebox) and [CodeKit](http://incident57.com/codekit/).