You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.
when pasting this breed content from the workflows tutorials in de 095 UI editor:
name: hello_workflow
deployable:
type: application/javascript
definition: |
'use strict';
var vamp = require('vamp-node-client'); // required to interact with the Vamp API
var api = new vamp.Api(); // a new Vamp API object
// create a Vamp event - tag, value, event_type
api.event('tag1:tag2', 'optional_value', 'hello_workflow');
the javascript content is wrapped and escaped when saving and re-opening.
when removing all line breaks at the end, and then adding one line break, the formatting stays intact:
name: hello_workflow
deployable:
type: application/javascript
definition: |
'use strict';
var vamp = require('vamp-node-client'); // required to interact with the Vamp API
var api = new vamp.Api(); // a new Vamp API object
// create a Vamp event - tag, value, event_type
api.event('tag1:tag2', 'optional_value', 'hello_workflow');
The text was updated successfully, but these errors were encountered:
olafmol
changed the title
[095] breed javascript is escaped in certain cases
[095] breed javascript is wrapped and escaped in certain cases
Jul 1, 2017
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
when pasting this breed content from the workflows tutorials in de 095 UI editor:
the javascript content is wrapped and escaped when saving and re-opening.
when removing all line breaks at the end, and then adding one line break, the formatting stays intact:
The text was updated successfully, but these errors were encountered: