var createNamedParameters = require("./named-parameters")
var fn = createNamedParameters(["greeting", "person"], function(a, b) {
console.log(a, b)
})
fn.greeting("hello") // set a
fn.person("world") // set b
fn() // console.log gets run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<!-- | |
XSL Utility for Symphony 2 | |
Convert RSS feed date format to Symphony date format | |
Convert RFC 2822 timestamp format to ISO date format minus the time info (Symphony CMS date format) | |
RFC 2822 format: Sun, 7 Jan 2007 12:00:00 GMT | |
ISO 8601 format (minus the time info): 2007-01-07 | |
--> | |
<xsl:stylesheet version="1.0" |