Skip to content

Commit

Permalink
Updating jQuery to version 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
scoumbourdis committed Sep 30, 2020
1 parent 606b80a commit a6f796d
Show file tree
Hide file tree
Showing 7 changed files with 3,470 additions and 3,963 deletions.
14 changes: 7 additions & 7 deletions application/libraries/Grocery_CRUD.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @package grocery CRUD
* @copyright Copyright (c) 2010 through 2014, John Skoumbourdis
* @license https://github.com/scoumbourdis/grocery-crud/blob/master/license-grocery-crud.txt
* @version 1.6.1
* @version 1.6.4
* @author John Skoumbourdis <scoumbourdisj@gmail.com>
*/

Expand Down Expand Up @@ -495,7 +495,7 @@ protected function get_type($db_type)
*
* @package grocery CRUD
* @author John Skoumbourdis <scoumbourdisj@gmail.com>
* @version 1.6.1
* @version 1.6.4
* @link http://www.grocerycrud.com/documentation
*/
class grocery_CRUD_Model_Driver extends grocery_CRUD_Field_Types
Expand Down Expand Up @@ -1622,7 +1622,7 @@ protected function ajax_relation($state_info)
*
* @package grocery CRUD
* @author John Skoumbourdis <scoumbourdisj@gmail.com>
* @version 1.6.1
* @version 1.6.4
*/
class grocery_CRUD_Layout extends grocery_CRUD_Model_Driver
{
Expand Down Expand Up @@ -3131,7 +3131,7 @@ protected function get_views_as_string()
*
* @package grocery CRUD
* @author John Skoumbourdis <scoumbourdisj@gmail.com>
* @version 1.6.1
* @version 1.6.4
*/
class grocery_CRUD_States extends grocery_CRUD_Layout
{
Expand Down Expand Up @@ -3583,7 +3583,7 @@ protected function getAjaxRelationManytoManyUrl()
* @package grocery CRUD
* @copyright Copyright (c) 2010 through 2014, John Skoumbourdis
* @license https://github.com/scoumbourdis/grocery-crud/blob/master/license-grocery-crud.txt
* @version 1.6.1
* @version 1.6.4
* @author John Skoumbourdis <scoumbourdisj@gmail.com>
*/

Expand All @@ -3606,9 +3606,9 @@ class Grocery_CRUD extends grocery_CRUD_States
*
* @var string
*/
const VERSION = "1.6.1";
const VERSION = "1.6.4";

const JQUERY = "jquery-1.11.1.min.js";
const JQUERY = "jquery-2.2.4.min.js";
const JQUERY_UI_JS = "jquery-ui-1.10.3.custom.min.js";
const JQUERY_UI_CSS = "jquery-ui-1.10.1.custom.min.css";

Expand Down
4 changes: 0 additions & 4 deletions assets/grocery_crud/js/jquery-1.11.1.min.js

This file was deleted.

1 change: 0 additions & 1 deletion assets/grocery_crud/js/jquery-1.11.1.min.map

This file was deleted.

4 comments on commit a6f796d

@mckaygerhard
Copy link

Choose a reason for hiding this comment

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

@scoumbourdis does you check compatibility for jquery 2.X from upgrading jquery 1.11.x ?

@scoumbourdis
Copy link
Owner Author

Choose a reason for hiding this comment

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

Hello @mckaygerhard yes I did. Did you have any issues with the upgrade?

@mckaygerhard
Copy link

Choose a reason for hiding this comment

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

i have my own up'grade that still uses 1.X in fact 1.12.4 at the codeigniterpowered group so i still does not test this commit ..

@scoumbourdis
Copy link
Owner Author

Choose a reason for hiding this comment

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

No worries, you can always use the function unset_jquery and use your own jQuery version. So far we didn't have any known issue from any version of jQuery 1,2 or 3

Please sign in to comment.