github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

jquery / jquery-ui

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 553
    • 89
  • Source
  • Commits
  • Network (89)
  • Graphs
  • Tree: afaa035

click here to add a description

click here to add a homepage

  • Switch Branches (7)
    • bind
    • devpreview
    • formcontrols
    • master
    • menu
    • panel
    • tooltip
  • Switch Tags (18)
    • 1.9m1
    • 1.8rc3
    • 1.8rc2
    • 1.8rc1
    • 1.8b1
    • 1.8a2
    • 1.8a1
    • 1.8.2
    • 1.8.1
    • 1.8
    • 1.7
    • 1.6rc6
    • 1.6rc5
    • 1.6rc3
    • 1.6rc2
    • 1.6
    • 1.5.2
    • 1.5.1
  • Comments
  • Contributors
Sending Request…

The official jQuery user interface library. — Read more

  Cancel

http://jqueryui.com/

  Cancel
  • HTTP
  • Git Read-Only

This URL has Read+Write access

Core: Better detection of when core is loaded twice. Fixes #5636 - Load 
ui.position before ui.core couse ui.core not execute.
scottgonzalez (author)
Wed May 19 17:33:23 -0700 2010
commit  afaa03575f22bda227ac
tree    406f87fd6f7d88304b7a
parent  fc093e9feb4450b1ab93
M ui/jquery.ui.core.js 15 •••••
Txt ui/jquery.ui.core.js
  • View file @ afaa035
... ...
@@ -7,10 +7,19 @@
7 7
  *
8 8
  * http://docs.jquery.com/UI
9 9
  */
10  
-;jQuery.ui || (function($) {
  10
+
  11
+(function($) {
  12
+
  13
+// prevent duplicate loading
  14
+// this is only a problem because we proxy existing functions
  15
+// and we don't want to double proxy them
  16
+$.ui = $.ui || {};
  17
+if ($.ui.version) {
  18
+  return;
  19
+}
11 20
 
12 21
 //Helper functions and ui object
13  
-$.ui = {
  22
+$.extend($.ui, {
14 23
   version: "@VERSION",
15 24
 
16 25
   // $.ui.plugin is deprecated.  Use the proxy pattern instead.
... ...
@@ -103,7 +112,7 @@ $.ui = {
103 112
     UP: 38,
104 113
     WINDOWS: 91 // COMMAND
105 114
   }
106  
-};
  115
+});
107 116
 
108 117
 //jQuery plugins
109 118
 $.fn.extend({

0 notes on commit afaa035

Please log in to comment.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server