Skip to content

Commit

Permalink
Merge pull request #3 from twisterghost/gms2-port
Browse files Browse the repository at this point in the history
Gms2 support
  • Loading branch information
twisterghost authored Jan 20, 2017
2 parents 63e6be9 + b80d8e5 commit 164f287
Show file tree
Hide file tree
Showing 164 changed files with 4,953 additions and 19 deletions.
20 changes: 1 addition & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gdash - GML utility library

Version 1.3.0
Version 2.0.0

## Introduction

Expand Down Expand Up @@ -30,7 +30,6 @@ Download [the latest release](https://github.com/twisterghost/gdash/releases) an
* [_length](#_lengthcollection)
* [_log](#_loganything)
* [_map](#_mapcolletion-mapscript)
* [_object](#_object)
* [_partial](#_partialscript-arg0-arg1--arg13)
* [_push](#_pusharray-value)
* [_reduce](#_reducecollection-reducerscript)
Expand Down Expand Up @@ -350,23 +349,6 @@ _map(map, divideByTwo, ds_type_map);
// => [3, 5]
```

### `_object()`

Returns a blank object

To use this function, make an object resource called `_gdash_object`

```
@param {String} A category to set on this object as the `type` variable
@returns {Instance} A blank object instance
@example
var data = _object('test');
data.hello = 'world';
show_debug_message(data.type);
// => prints "test"
```

### `_partial(script, arg0, arg1 ... arg13)`

Creates a partial function identifier for use in place of raw scripts in gdash functions, or with the use of _run.
Expand Down
Loading

0 comments on commit 164f287

Please sign in to comment.