Skip to content
Browse files

Fix: Make was building invalid JSON files for the component.json file

  • Loading branch information...
1 parent eafd70f commit e7e0fb83f049b30996b368b27cdfdab21557cdc6 @DataTables committed Oct 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/make.sh
View
2 scripts/make.sh
@@ -149,7 +149,7 @@ cat <<EOF > component.json
"version": "${VERSION}",
"main": [
"./media/js/jquery.dataTables.js",
- "./media/css/jquery.dataTables.css",
+ "./media/css/jquery.dataTables.css"
],
"dependencies": {
"jquery": "~1.8.0"

12 comments on commit e7e0fb8

@vendethiel

Any ideas for older versions ? I'd like to use it now :(.

@DataTables
Owner

There is already a commit for the 1.9.x branch with this fix and in the master for 1.10 development.

You should be able to install with bower using DataTables#1.9.4. Does that not work for you?

@vendethiel

Nope, it doesn't work with datatables: "1.9.4" or "latest".

@DataTables
Owner

Works just fine for me:

:~ allan$ bower install DataTables#1.9.4
bower cloning git://github.com/DataTables/DataTables
bower cached git://github.com/DataTables/DataTables
bower fetching datatables
bower checking out DataTables#1.9.4
bower copying /Users/allan/.bower/datatables
bower cloning git://github.com/components/jquery.git
bower cached git://github.com/components/jquery.git
bower fetching jquery
bower checking out jquery#1.4.4
bower copying /Users/allan/.bower/jquery
:~ allan$

@vendethiel

bower cloning git://github.com/DataTables/DataTables
bower cached git://github.com/DataTables/DataTables
bower fetching datatables
stdout > HEAD is now at 46d483d Tests: With the change for the state saving into localStorage we need to update the state destroy in the unit tests

bower checking out DataTables#1.9.4
bower error Failed to parse json
Unexpected token ]

@DataTables
Owner

And you used bower install datatables#1.9.4 ?

@vendethiel

Yep. I also just cache-cleaned

@DataTables
Owner

I'm at a loss then I'm afraid. You could just download the package from http://datatables.net/download :-)

@vendethiel

that's what I'm using right now

@vendethiel

Can you try to cache-clean too ?

@DataTables
Owner

Try it now :-)

@vendethiel

Nice, thanks !

Please sign in to comment.
Something went wrong with that request. Please try again.