From 1339d3f5794e626b47f55a21c39b411586caf7aa Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Thu, 29 Mar 2018 15:07:15 -0700 Subject: [PATCH] updating pxt --- libs/core/_locales/core-jsdoc-strings.json | 8 ++++++++ package.json | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/libs/core/_locales/core-jsdoc-strings.json b/libs/core/_locales/core-jsdoc-strings.json index 3e40da5f..3b40fcb0 100644 --- a/libs/core/_locales/core-jsdoc-strings.json +++ b/libs/core/_locales/core-jsdoc-strings.json @@ -4,8 +4,12 @@ "AcceleratorRange.OneG": "The accelerator measures forces up to 1 gravity", "AcceleratorRange.TwoG": "The accelerator measures forces up to 2 gravity", "Array": "Add, remove, and replace items in lists.\n\nAdd, remove, and replace items in lists.", + "Array.every": "Tests whether all elements in the array pass the test implemented by the provided function.", + "Array.every|param|callbackfn": "A function that accepts up to two arguments. The some method calls the callbackfn function one time for each element in the array.", "Array.filter": "Return the elements of an array that meet the condition specified in a callback function.", "Array.filter|param|callbackfn": "A function that accepts up to two arguments. The filter method calls the callbackfn function one time for each element in the array.", + "Array.forEach": "Call a defined callback function on each element of an array.", + "Array.forEach|param|callbackfn": "A function that accepts up to two arguments. The forEach method calls the callbackfn function one time for each element in the array.", "Array.get": "Get the value at a particular index.", "Array.get|param|index": "the zero-based position in the list of the item, eg: 0", "Array.indexOf": "Return the index of the first occurrence of a value in an array.", @@ -14,6 +18,8 @@ "Array.insertAt": "Insert the value at a particular index, increase the array length by 1.", "Array.insertAt|param|index": "the zero-based position in the list to insert the value, eg: 0", "Array.insertAt|param|value": "to insert, eg: 0", + "Array.join": "joins all elements of an array into a string and returns this string.", + "Array.join|param|sep": "the string separator", "Array.length": "Gets or sets the length of the array. This is a number one higher than the highest element defined in an array.", "Array.map": "Call a defined callback function on each element of an array, and return an array containing the results.", "Array.map|param|callbackfn": "A function that accepts up to two arguments. The map method calls the callbackfn function one time for each element in the array.", @@ -33,6 +39,8 @@ "Array.slice": "Return a section of an array.", "Array.slice|param|end": "The end of the specified portion of the array. eg: 0", "Array.slice|param|start": "The beginning of the specified portion of the array. eg: 0", + "Array.some": "Tests whether at least one element in the array passes the test implemented by the provided function.", + "Array.some|param|callbackfn": "A function that accepts up to two arguments. The some method calls the callbackfn function one time for each element in the array.", "Array.sort": "Sort the elements of an array in place and returns the array. The sort is not necessarily stable.", "Array.splice": "Remove elements from an array.", "Array.splice|param|deleteCount": "The number of elements to remove. eg: 0", diff --git a/package.json b/package.json index 89a3e685..e4882854 100644 --- a/package.json +++ b/package.json @@ -30,13 +30,13 @@ "typings": "built/pxtrequire.d.ts", "devDependencies": { "typescript": "^1.8.7", - "less": "^2.6.0", "rtlcss": "^2.1.2", "autoprefixer": "^6.7.6", - "semantic-ui-less": "^2.2.4" + "less": "2.7.3", + "semantic-ui-less": "2.2.14" }, "dependencies": { - "pxt-core": "0.14.32" + "pxt-core": "0.18.1" }, "scripts": { "test": "node node_modules/pxt-core/built/pxt.js travis"