d1f54757c2
some doc updates and fixes
2021-06-02 18:47:46 +08:00
6bf9ab5162
added table.keys() and table.values()
2019-03-12 21:57:54 +08:00
780e9c96b3
Merge pull request #167 from VasiliyRyabtsev/feature/reduce-initializer
...
Add optional initializer to array.reduce()
2018-12-02 02:34:16 +08:00
8e5b1e70d0
Allow additional parameters in array.map()/array.apply() handler
...
Sometimes it is needed to process array when result depends not
on item value only, but also from its position or collection content.
So make array.map() and array.apply() functions more flexible by
supporting optional additional parameters in callback: item index
and reference to array being processed.
(The design is like in https://underscorejs.org/#map )
2018-10-31 18:37:01 +03:00
04cf1c2ed0
Add optional initializer to array.reduce()
2018-10-31 18:07:25 +03:00
f4665e155e
now container modification methods return object itself in all cases
...
for easy chaining
2018-05-29 02:33:19 +03:00
453a966890
Merge pull request #119 from VasiliyRyabtsev/feature/table-filter
...
Implement table.filter() default delegate in base library
2017-12-05 16:28:35 +08:00
c10a777285
Add optional message text parameter for assert()
2017-12-01 11:49:44 +07:00
ee38035634
Implement table.filter() default delegate in base library
...
Filter callback is the same as for array.filter(), ie function(key, value)
2017-11-28 23:08:10 +07:00
00b4d3abd1
Normalize whitespace.
...
Strip trailing whitespace, de-tabify and ensure that each file
ends with a newline.
2017-06-14 14:09:53 +02:00
eeba56c81b
Normalize whitespace.
...
Convert source files to Unix EOL mode, convert .bat files to DOS EOL
mode, de-tabify and strip trailing whitespace.
2016-08-19 13:40:31 +02:00
bd43d374dc
minor documentation fixes
2016-08-07 01:29:58 +08:00
15e2c23eea
Minor spelling fix
2016-07-19 16:19:35 -04:00
7aadf19f34
Merge pull request #63 from zeromus/master
...
documentation fixups
2016-06-24 23:50:16 +08:00
90cd4bc238
Documentation cleanup, part one.
2016-06-23 15:21:26 -07:00
ba338b145c
remove spurious 'previdx' from _tostring metamethod docs
2016-06-21 19:29:53 -05:00
87deb68c46
rewrite docs for 'this' argument passing. I found some of the finer points to be confusing (I was led to believe indexing a function off an object would bindenv the object to it, but it doesnt). So I changed the language to 'immediately indexed' and then tried to elaborate that.
2016-06-20 01:51:44 -05:00
457f3b25bc
docs fix... all the builtin_functions for function were mislabeled as array?
2016-06-20 01:07:30 -05:00
7290b1fffe
docs & error message tidy
2016-06-19 15:44:00 -05:00
3b217e7e42
fix getstackinfos docs
2016-06-14 13:09:53 -05:00
3c4098da84
small docs fixes. small typo fixes in sqapi.cpp error messages
2016-06-13 20:19:32 -05:00
09c4e7a8c1
fix docs for 'unsigned right shift operator' to reference >>> instead of <<< ! also minor tidying in same file
2016-06-02 19:24:21 -05:00
7c0550b8ad
printf docs and other small docs tidies
2016-05-15 00:30:15 -05:00
5b50a56e56
docs fixes and formatting
2016-05-05 10:23:55 -05:00
b35c9e827c
fix various typos and incompletely apply very lightweight formatting normalization; clarify sq_getbyhandle applies to class or instance
2016-04-18 06:44:14 -05:00
4fddb87839
tidy metamethods general docs
2016-04-14 18:23:45 -05:00
4305796277
fix metamethod _get documentation from _get(idx,val) to _get(idx)
2016-04-14 18:22:20 -05:00
9218082df1
defferentieate -> differentiate
2016-04-14 18:08:29 -05:00
d02fa17be2
small typo and grammar fixes
2016-04-14 18:07:37 -05:00
9c95df0631
added documentation sources
2016-03-14 23:35:04 +08:00