Skip to content

Commit dc67d2c

Browse files
committed
Protect all copyright notices against minification
For instance, this is useful for the jquery-ui-rails gem, which does not use jQuery UI's own minification, but relies on Rails to minify the files where necessary. Rails in turn uses UglifyJS for JS and YUI for CSS, both of which respect the /*! ... */ convention. (cherry picked from commit 37dcc3e, dropped menu, spinner and tooltip)
1 parent 9631a41 commit dc67d2c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+42
-42
lines changed

themes/base/jquery.ui.accordion.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Accordion @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

themes/base/jquery.ui.all.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI CSS Framework @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

themes/base/jquery.ui.autocomplete.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Autocomplete @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

themes/base/jquery.ui.base.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI CSS Framework @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

themes/base/jquery.ui.button.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Button @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

themes/base/jquery.ui.core.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI CSS Framework @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

themes/base/jquery.ui.datepicker.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Datepicker @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

themes/base/jquery.ui.dialog.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Dialog @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

themes/base/jquery.ui.progressbar.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Progressbar @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

themes/base/jquery.ui.resizable.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Resizable @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

themes/base/jquery.ui.selectable.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Selectable @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

themes/base/jquery.ui.slider.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Slider @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

themes/base/jquery.ui.tabs.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Tabs @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

themes/base/jquery.ui.theme.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI CSS Framework @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.effects.blind.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Effects Blind @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.effects.bounce.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Effects Bounce @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.effects.clip.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Effects Clip @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.effects.core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Effects @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.effects.drop.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Effects Drop @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.effects.explode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Effects Explode @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.effects.fade.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Effects Fade @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.effects.fold.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Effects Fold @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.effects.highlight.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Effects Highlight @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.effects.pulsate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Effects Pulsate @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.effects.scale.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Effects Scale @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.effects.shake.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Effects Shake @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.effects.slide.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Effects Slide @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.effects.transfer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Effects Transfer @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.ui.accordion.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Accordion @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.ui.autocomplete.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Autocomplete @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.ui.button.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Button @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.ui.datepicker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Datepicker @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.ui.dialog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Dialog @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.ui.draggable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Draggable @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.ui.droppable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Droppable @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.ui.position.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Position @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.ui.progressbar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Progressbar @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.ui.resizable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Resizable @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.ui.selectable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Selectable @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.ui.slider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Slider @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.ui.sortable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Sortable @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

ui/jquery.ui.tabs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*!
22
* jQuery UI Tabs @VERSION
33
*
44
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)

0 commit comments

Comments
 (0)