Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

custom combo url template (a la stockpile) #25

Open
caridy opened this issue May 23, 2013 · 1 comment
Open

custom combo url template (a la stockpile) #25

caridy opened this issue May 23, 2013 · 1 comment

Comments

@caridy
Copy link

caridy commented May 23, 2013

YUI-Stockpile supports a custom template to build the combo url thru the loader that does not rely on the querystring (few reasons behind that [1]). E.g:

comboBase: "/combo~",
comboSep:  "~"

I see few options here:

  • expose parseQuery routine so it can be hacked
  • provide some basic configurations to specify comboSep and comboBase, and use those to parse the url

[1] http://www.yuiblog.com/blog/2012/11/06/managing-your-javascript-modules-with-yui-3-stockpile-2/

@evocateur
Copy link
Collaborator

This smells like middleware, to me. The second option (basic config) sounds cleaner to me, though I'm not sure comboBase ports directly from YUI config to combohandler's Express route convention.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants