Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipeline Operator #691

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

raphaelkieling
Copy link

Implemented Pipeline Operator, i did use #139 and #261 to understand the problem.

You can use | or |>

let data = {
   variable: "MyAwesomeVariable",
   pipelineOne: function(value){
      return value.toLowerCase();
   },
   pipelineTwo: function(value){
      return value + " two";
   }
}
{{ variable | pipelineOne }}
{{ variable |> pipelineOne }}
{{ variable |> pipelineOne  |> pipelineTwo }}

Kieling and others added 3 commits February 5, 2019 20:16
@raphaelkieling
Copy link
Author

Travis had a error with.

util.js:538
  ctor.prototype = Object.create(superCtor.prototype, {
                                          ^
TypeError: Cannot read property 'prototype' of undefined

will I need a configuration or something?

Kieling added 2 commits February 6, 2019 11:04
The default value was returned. But i need the value returned from pipelines
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