combohandler
combohandler copied to clipboard
A simple Yahoo!-style combo handler in Node.js.
Strange enough YUI 3.1.1 seed makes the following request, appending an unnecessary & to the URL: http://yui.yahooapis.com/combo?3.1.1/build/widget/assets/skins/sam/widget.css&3.1.1/build/widget/assets/skins/sam/widget-stack.css&3.1.1/build/overlay/assets/skins/sam/overlay.css& Their service ignores the ampersand, even when it is inserted multiple times, and...
Just fixed the CSS loader/URL rewrites; sorry for any inconsistencies with the style (first contribution in a while to another's repo).
The goal is to fix #23, which it turns out is greatly aided by unit tests that actually test the pattern we claimed to support. :) TODO: - [x] Support...
Normalizing the path on Windows prepends C: and replaces / with \ thus breaking otherwise valid relative urls. This commit fixes it. In addition, it adds support for a new...
The CSS url rewrite does not seem to work. Here is my web directory: ``` C:\work\if\server\web>dir Volume in drive C has no label. Volume Serial Number is 82A9-DF6B Directory of...
Looks like combohandler doesn't serves binary files (images for example) properly, even though proper mime-type is provided via config. I.E. images are served broken due to pollution of original file....
"Classic" combo requests for YUI library follow the "module_name/module_name.js" pattern. "Shorthand" requests will omit the doubled part of the request. ``` text Classical: combo?3.13.0/yui/yui.js Shorthand: combo?3.13.0/yui.js ``` This should be...
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:...
Express middleware used via `app.use()` requires a function, this commit https://github.com/rgrove/combohandler/commit/bc842d9ec1370dcd54d734b90ea7b97dc3140ce7 made `combo.combine()` always return an array.
It would be useful to support combining files which reside in different root paths in one HTTP request. ``` javascript app.get('/js', combo.combine({rootPath: [ __dirname + '/public/js', __dirname + '/shared/js' ]}),...