Austin
Austin

Reputation: 3080

What Version of Foundation Am I using? (NodeJS/Grunt)

I am new to using both NodeJS and Grunt and I am trying to figure out how I can find what version of Foundation I am using. I have been checking random files such as my "Gruntfile" and using the keyword "foundation" hoping I can find something such as src=*foundation* which would contain a version number, but I am having no luck.

Is there is a quick way using either GitBash or Node.js command prompt to find my Foundation version, or by looking at another file?

P.S. I have tried random file locations using the command "foundation version" with no luck either on both of the above prompts.

Upvotes: 0

Views: 93

Answers (2)

J.G.Sebring
J.G.Sebring

Reputation: 5964

Foundation adds a global object, Foundation in which you'll find the parameter version.

Print it as debug parameter in you javascript or fire up your browser javascript console and type:

Foundation.version

Upvotes: 1

Sathish
Sathish

Reputation: 2180

Are you asking about http://foundation.zurb.com/ ?, i dont think that you can find it via NodeJS/Grunt Cmd lines.

If you use bower, it may have the version in bower.json while installing.

Upvotes: 1

Related Questions