Skip to content

Updating code to call Mixin with no parameters #19

Open
computamike wants to merge 2 commits intowebdevian:masterfrom
computamike:master
Open

Updating code to call Mixin with no parameters #19
computamike wants to merge 2 commits intowebdevian:masterfrom
computamike:master

Conversation

@computamike
Copy link
Copy Markdown

Noticed when dealing with a metadata mixin. The code adds an opening parenthesis, and if fields is empty (but exists) the code strips the last 2 chars and adds a ).

image

Alternatively, this code replaces any trailing comma and spaces and then adds a closing parenthesis.

image

Noticed when dealing with a metadata mixin.  The code adds an opening parenthesis, and if ```fields``` is empty (but exists) the code strips the last 2 chars and adds a ```)```.

![image](https://user-images.githubusercontent.com/464876/56817995-a1017880-683e-11e9-8e05-7dc1dada4cb0.png)

Alternatively, this code replaces any trailing comma and spaces and then adds a closing parenthesis.

![image](https://user-images.githubusercontent.com/464876/56818315-47e61480-683f-11e9-883f-3e90fdda293c.png)
Updating code to call Mixin with no parameters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant