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

Updating dependencies for latest pxt #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
19 changes: 16 additions & 3 deletions libs/core/_locales/core-jsdoc-strings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Array": "Add, remove, and replace items in lists.\n\nAdd, remove, and replace items in lists.",
"Array": "Add, remove, and replace items in lists.",
"Array.concat": "Concatenates the values with another array.",
"Array.concat|param|arr": "The other array that is being concatenated with",
"Array.every": "Tests whether all elements in the array pass the test implemented by the provided function.",
Expand Down Expand Up @@ -44,7 +44,9 @@
"Array.splice|param|deleteCount": "The number of elements to remove. eg: 0",
"Array.splice|param|start": "The zero-based location in the array from which to start removing elements. eg: 0",
"Array.unshift": "Add one element to the beginning of an array and return the new length of the array.",
"Array@type": "Add, remove, and replace items in lists.",
"Boolean.toString": "Returns a string representation of an object.",
"Infinity": "Constant representing positive infinity.",
"Math": "More complex operations with numbers.",
"Math.abs": "Returns the absolute value of a number (the value without regard to whether it is positive or negative).\nFor example, the absolute value of -5 is the same as the absolute value of 5.",
"Math.abs|param|x": "A numeric expression for which the absolute value is needed.",
Expand Down Expand Up @@ -97,13 +99,15 @@
"Math.tan|param|x": "An angle in radians",
"Math.trunc": "Returns the number with the decimal part truncated.",
"Math.trunc|param|x": "A numeric expression.",
"NaN": "Constant representing Not-A-Number.",
"Number.isNaN": "Check if a given value is of type Number and it is a NaN.",
"Number.toString": "Returns a string representation of a number.",
"Object.keys": "Return the field names in an object.",
"Sprite": "A ghost on the screen.",
"Sprite.forward": "Move the thing forward",
"Sprite.x": "The X-coordiante",
"Sprite.y": "The Y-coordiante",
"String": "Combine, split, and search text strings.\n\nCombine, split, and search text strings.",
"String": "Combine, split, and search text strings.",
"String.charAt": "Return the character at the specified index.",
"String.charAt|param|index": "The zero-based index of the desired character.",
"String.charCodeAt": "Return the Unicode value of the character at the specified location.",
Expand All @@ -121,14 +125,23 @@
"String.indexOf|param|start": "optional start index for the search",
"String.isEmpty": "Returns a value indicating if the string is empty",
"String.length": "Returns the length of a String object.",
"String.replace": "Return the current string with the first occurence of toReplace\nreplaced with the replacer\n\n\nor a function that accepts the substring and returns the replacement string.",
"String.replaceAll": "Return the current string with each occurence of toReplace\nreplaced with the replacer\n\n\nor a function that accepts the substring and returns the replacement string.",
"String.replaceAll|param|replacer": "either the string that replaces toReplace in the current string,",
"String.replaceAll|param|toReplace": "the substring to replace in the current string",
"String.replace|param|replacer": "either the string that replaces toReplace in the current string,",
"String.replace|param|toReplace": "the substring to replace in the current string",
"String.slice": "Return a substring of the current string.",
"String.slice|param|end": "one-past-last character index",
"String.slice|param|start": "first character index; can be negative from counting from the end, eg:0",
"String.split": "Splits the string according to the separators",
"String.split|param|separator": "@param limit ",
"String.split|param|separator": "@param limit",
"String.substr": "Return a substring of the current string.",
"String.substr|param|length": "number of characters to extract",
"String.substr|param|start": "first character index; can be negative from counting from the end, eg:0",
"String.toLowerCase": "Converts the string to lower case characters.",
"String@type": "Combine, split, and search text strings.",
"StringMap": "A dictionary from string key to string values",
"console.log": "Print out message",
"hare.hop": "This is hop",
"loops.forever": "Repeats the code forever in the background. On each iteration, allows other code to run.",
Expand Down
6 changes: 6 additions & 0 deletions libs/core/_locales/core-strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,16 @@
"Hop.Silly|block": "silly",
"Math.randomRange|block": "pick random %min|to %limit",
"Math|block": "Math",
"Number|block": "Number",
"Object|block": "Object",
"String.charAt|block": "char from %this=text|at %pos",
"String.compare|block": "compare %this=text| to %that",
"String.fromCharCode|block": "text from char code %code",
"String.includes|block": "%this=text|includes %searchValue",
"String.indexOf|block": "%this=text|find index of %searchValue",
"String.isEmpty|block": "%this=text| is empty",
"String.length|block": "length of %VALUE",
"String.split|block": "split %this=text|at %separator",
"String.substr|block": "substring of %this=text|from %start|of length %length",
"String|block": "String",
"console|block": "console",
Expand All @@ -44,6 +49,7 @@
"{id:category}Arrays": "Arrays",
"{id:category}Boolean": "Boolean",
"{id:category}Console": "Console",
"{id:category}Control": "Control",
"{id:category}Hare": "Hare",
"{id:category}Helpers": "Helpers",
"{id:category}Loops": "Loops",
Expand Down
Loading