Skip to content

Paul Armstrong paularmstrong

Organizations

Watermelon-Sauce tenXer
April 17, 2014
Paul Armstrong
  • Paul Armstrong 250ddf4
    change git push to matching for older gits
April 14, 2014
April 14, 2014
April 14, 2014
Paul Armstrong
April 14, 2014
Paul Armstrong
April 12, 2014
Paul Armstrong

Mark the output as safe: {{ keywords|default("D'adamo")|safe }}

April 12, 2014
Paul Armstrong
Using autoescape off in a filter
April 12, 2014
Paul Armstrong
Concat 2 arrays in the template
April 12, 2014
Paul Armstrong

{% set mergedArray = array1.concat(array2) %}

April 10, 2014
Paul Armstrong
use new keyword be error
April 10, 2014
Paul Armstrong

Swig is not directly JavaScript. new doesn't exist in Swig's syntax.

April 07, 2014
Paul Armstrong

Maybe open a pull request?

March 31, 2014
Paul Armstrong

Please provide a repro path and explain "doesn't work". What did you try? What did you expect? What actually happened?

March 27, 2014
Paul Armstrong

filters is not available to set using setDefaults. http://paularmstrong.github.io/swig/docs/api/#SwigOpts

March 26, 2014
Paul Armstrong
Length filter
March 26, 2014
Paul Armstrong

The length filter has been gone since pre 1.0. Use the native object notation: {% if payload.people.length > 0 %}

March 24, 2014
paularmstrong commented on issue paularmstrong/swig#6
Paul Armstrong

Yes, rewrite swig from the ground up. Again. (this is not going to happen... not by me, anyway)

March 23, 2014
Paul Armstrong

Because imports are done during parse/compile, not during render. This is designed this way on purpose.

March 23, 2014
Paul Armstrong
{% import %} doesn't support variables
March 21, 2014
Paul Armstrong
March 21, 2014
March 17, 2014
paularmstrong commented on pull request paularmstrong/swig#439
Paul Armstrong

The purpose of the line you changed in lib/filters.js was that we don't want this to happen. I'm not sure I understand why you would ever want som…

March 15, 2014
Paul Armstrong

Works fine here: https://github.com/paularmstrong/swig-extras/blob/master/tests/filters.test.js#L41-47 Can you provide a full repro test case?

March 14, 2014
Paul Armstrong
Draw order of Line Charts prevent data points from being clicked/hovered
March 14, 2014
paularmstrong commented on issue tenXer/xcharts#71
Paul Armstrong

Duplicate of gh-31. You can find a fix here: #31 (comment)

March 14, 2014
Paul Armstrong
Added swig to koa.
Something went wrong with that request. Please try again.