Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
composer.json file added for composer (dependency manager)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gta-Cool committed Jun 28, 2014
1 parent 14557ed commit 3413d50
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "components/jquery-cookie",
"description": "A simple, lightweight jQuery plugin for reading, writing and deleting cookies",
"keywords": [
"cookie",
"jQuery",
"javascript",
"js"
],
"license": "MIT",
"type": "component",
"homepage": "https://github.com/carhartl/jquery-cookie",
"authors": [
{
"name": "Klaus Hartl",
"homepage": "https://github.com/carhartl"
}
],
"require": {
"robloach/component-installer": "*",
"components/jquery": ">=1.2,<1.11-dev"
},
"extra": {
"component": {
"scripts": [
"jquery.cookie.js"
]
}
}
}

3 comments on commit 3413d50

@vworldat
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is the jquery version limited to <1.11? This should work even with jquery 2.x, and I can't install it with jquery 1.11.

@Gta-Cool
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, the jQuery branch should be chosen and not be forced. I will correct that promptly.


It's done, you might use it now with the jQuery 2.x branch. Thanks for your report.

@vworldat
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for the quick fix!

Please sign in to comment.