Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

update jquery-ui to 1.11.4 #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions JqueryUiGrailsPlugin.groovy
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
class JqueryUiGrailsPlugin {
// @todo This MUST be updated when you update the version of jquery ui
static JQUERYUI_VERSION = '1.10.4'
static JQUERYUI_VERSION = '1.11.4'

// Put in here the minor revision of this plugin
static PLUGIN_MINOR_REVISION = ''

// the version attribute must be constant, so manually update this to be
// JQUERYUI_VERSION and PLUGIN_MINOR_REVISION concatenated, with a '.'
// if PLUGIN_MINOR_REVISION isn't blank
def version = '1.10.4'
def version = '1.11.4'


def grailsVersion = '2.0 > *'
Expand Down
23 changes: 13 additions & 10 deletions grails-app/conf/JqueryUiPluginResources.groovy
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
// Resource declarations for Resources plugin
// This is a bit ugly, we'll find a way to make this better in future
def appCtx = grails.util.Holders.grailsApplication.mainContext
def plugin = appCtx.pluginManager.getGrailsPlugin('jquery-ui')
def jqver = plugin.instance.JQUERYUI_VERSION

modules = {
'jquery-ui-base-css' {
resource url: [plugin: 'jqueryUi', dir: 'jquery-ui/css',
file: 'jquery-ui.css'], attrs: [media: 'screen, projection']
resource url: [plugin: 'jqueryUi', dir: 'jquery-ui/css',
file: 'jquery-ui.structure.css'], attrs: [media: 'screen, projection']
}

'jquery-theme' {
resource id: 'theme',
url: [plugin: 'jqueryUi', dir: 'jquery-ui/themes/ui-lightness',
file: 'jquery-ui-' + jqver + '.custom.css'],
attrs: [media: 'screen, projection']
dependsOn 'jquery-ui-base-css'

resource id: 'theme', url: [plugin: 'jqueryUi', dir: 'jquery-ui/css',
file: 'jquery-ui.ui-lightness.theme.css'], attrs: [media: 'screen, projection']
}

'jquery-ui' {
dependsOn 'jquery', 'jquery-theme'

resource id: 'js', url: [plugin: 'jqueryUi', dir: 'jquery-ui/js', file: "jquery-ui-${jqver}.custom.min.js"],
resource id: 'js', url: [plugin: 'jqueryUi', dir: 'jquery-ui/js', file: "jquery-ui.min.js"],
nominify: true, disposition: 'head'
}

'jquery-ui-dev' {
dependsOn 'jquery-dev', 'jquery-theme'

resource id: 'js', url:[plugin: 'jqueryUi', dir:'jquery-ui/js', file:"jquery-ui-${jqver}.custom.js"]
resource id: 'js', url:[plugin: 'jqueryUi', dir:'jquery-ui/js', file:"jquery-ui.js"]
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading