mootools / slick

Standalone CSS Selector Parser and Engine. An official MooTools project.
MIT License
150 stars 22 forks source link

Environment optimized builds #30

Open subtleGradient opened 13 years ago

subtleGradient commented 13 years ago
  1. Use feature detection to figure out what features and bugs the current environment has.
  2. Then deliver a build of Slick.js that contains only the stuff that this specific environment needs.
subtleGradient commented 13 years ago

Dojo is working on this sort of thing with has.js and RequireJS and some other stuff. I'd like to hook into some existing or emerging convention instead of rethinking it ourselves.

subtleGradient commented 13 years ago

Cf. http://comments.gmane.org/gmane.comp.web.dojo.devel/13600

This thread discusses some of the mechanics of our approach to branching such that builds can create using has() branching for to enable build time optimizations based on feature sets:

Cf. https://github.com/kriszyp/ua-optimized

AMD plugin for UA-based optimization of feature-detection-has.js based modules

-- Kris Zyp