components / foundation

Shim repository for Foundation.
http://foundation.zurb.com/
11 stars 13 forks source link

[Composer] RequireJS Shim information #4

Closed RobLoach closed 11 years ago

RobLoach commented 11 years ago

We could add the shim details to the project. I believe it would just be exports "window.Foundation".

{
  "extra": {
    "component": {
      "shim": {
        "exports": "window.Foundation"
      }
    }
  }
}

Don't think deps makes sense since it can depend on either zepto or jquery.

hjr3 commented 11 years ago

Np, will do! On Apr 20, 2013 10:23 AM, "Rob Loach" notifications@github.com wrote:

We could add the shim http://www.requirejs.org/docs/api.html#config-shimdetails to the project. I believe it would just be exports "window.Foundation".

{ "extra": { "component": { "shim": { "exports": "window.Foundation" } } }}

Don't think deps makes sense since it can depend on either zepto or jquery.

— Reply to this email directly or view it on GitHubhttps://github.com/components/foundation/issues/4 .

RobLoach commented 11 years ago

6