Cerem Cem ASLAN

Results 156 comments of Cerem Cem ASLAN

I'm not sure if you missed my comment or not, so I'm putting it here: https://github.com/johanhaleby/bash-templater/pull/11#discussion_r549822057

Can we use this in place of Gulp?

Thanks. Shouldn't this behavior changed? Why would somebody use an operator as an operator while defining an object?

```ls callFunc param, anotherParam, someFlag ``` is okay, however the following - which is my vote - will throw syntax error: ```ls callFunc param, anotherParam, someFlag ``` Second one is...

Yes, I recall a conversation something like that. But in this case I only propose to have only TAB to indent... That won't add extra load except for a few...

Following function (taken from [stackoverflow](http://stackoverflow.com/a/383245/1952991)) does what `jQuery.extend(true, ...)` does: ``` export function merge obj1, obj2 for p of obj2 try if obj2[p].constructor ~= Object obj1[p] = obj1[p] `merge` obj2[p]...

@igl Examples are giving different results. Your version behaves like `a

Here is the modified version of yours: ``` export function merge (obj1, ...sources) for obj2 in sources for p of obj2 try throw if obj2[p]@@ !~= Object obj1[p] = obj1[p]...

@vendethiel because of checking style of `@@` or checking `@@` in the first place?

Is the following ok: ``` function merge (obj1, ...sources) for obj2 in sources for p of obj2 try throw if obj2[p] not instanceof Object obj1[p] = obj1[p] `merge` obj2[p] catch...