-
Notifications
You must be signed in to change notification settings - Fork 0
Updatable
Malexion edited this page Nov 3, 2016
·
1 revision
Signifies to __.fuse() that this object instead of being overwritten should call .update(object) passed in the object that would otherwise overwrite this object.
var config = new __.lib.Config({ // Config from iterate-js inherits from Updatable and implements .update()
subitem: new __.lib.Config({
option1: true,
option2: false
}),
});
config.update({ subitem: { option2: true } }); // instead of replacing the config subitem it calls update to it.
console.log(config);
- Home
- String Prototype Functions
- Replace All
- Replace While
- Format
- Contains
- Whiteout
- Capitalize
- First Word
- Truncate
- Base Functions
- All
- Class
- Contains
- Count
- Debounce
- Deep All
- Distinct
- Enum
- First
- Filter
- Fuse
- Get Type
- Group
- Index
- Intersect
- Last
- Map
- Match
- Move
- Options
- Get Property
- Rank
- Remove
- Remove At
- Scope
- Search
- Sort
- Switch
- Throttle
- Formats
- Pad Left
- Pad Right
- Type Detection
- Defined
- Set
- Same Type
- Function
- Object
- Array
- Arguments
- Boolean
- String
- Number
- Date
- Null
- Undefined
- NaN
- Math
- Random 16-bit
- Round To
- Round Down To
- Round Up To
- Median
- Sum
- Average
- Max
- Min
- Between
- Percentage
- Generators
- Guid
- Password
- Classes
- Overwrite
- Updatable