mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 13:55:18 +03:00
fixed typos
This commit is contained in:
parent
a8a6b8904c
commit
2f9e2b13c5
2 changed files with 2 additions and 2 deletions
2
main.js
2
main.js
|
@ -314,7 +314,7 @@ Number.prototype.clamp = function(min, max) {
|
||||||
* For a format string with N replacement indices, you can call .format
|
* For a format string with N replacement indices, you can call .format
|
||||||
* with M <= N arguments. The result is going to be a format string
|
* with M <= N arguments. The result is going to be a format string
|
||||||
* with N-M replacement indices, properly counting from 0 .. N-M.
|
* with N-M replacement indices, properly counting from 0 .. N-M.
|
||||||
* The following Example should explane the usage of partial aplied format:
|
* The following Example should explain the usage of partial applied format:
|
||||||
* "{0}:{1}:{2}".format("a","b","c") === "{0}:{1}:{2}".format("a","b").format("c")
|
* "{0}:{1}:{2}".format("a","b","c") === "{0}:{1}:{2}".format("a","b").format("c")
|
||||||
* "{0}:{1}:{2}".format("a").format("b").format("c") === "{0}:{1}:{2}".format("a").format("b", "c")
|
* "{0}:{1}:{2}".format("a").format("b").format("c") === "{0}:{1}:{2}".format("a").format("b", "c")
|
||||||
**/
|
**/
|
||||||
|
|
|
@ -62,7 +62,7 @@ TABS.firmware_flasher.initialize = function (callback) {
|
||||||
|
|
||||||
releases_e.append(
|
releases_e.append(
|
||||||
$("<option value='{0}_{1}'>{2} {3} {4}</option>".
|
$("<option value='{0}_{1}'>{2} {3} {4}</option>".
|
||||||
format(releaseIndex,assetIndex,summary.name,summary.target,formattedDate) )
|
format(releaseIndex,assetIndex,summary.name,summary.target,formattedDate))
|
||||||
.data('obj', summary));
|
.data('obj', summary));
|
||||||
}
|
}
|
||||||
}).bind(this, releases, releaseIndex, releases_e)
|
}).bind(this, releases, releaseIndex, releases_e)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue