github github
  • Home
  • Pricing and Signup
  • Training
  • Gist
  • Blog
  • Login

jquery / jquery-ui

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Download Source
    • 1,067
    • 263
  • Source
  • Commits
  • Network (263)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Switch Branches (8)
    • bind
    • devpreview
    • formcontrols
    • master ✓
    • menu
    • panel
    • tooltip
    • widget-super
  • Switch Tags (22)
    • 1.9m2
    • 1.9m1
    • 1.8rc3
    • 1.8rc2
    • 1.8rc1
    • 1.8b1
    • 1.8a2
    • 1.8a1
    • 1.8.5
    • 1.8.4
    • 1.8.3
    • 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

Comments for jquery-ui   feed

scottgonzalez commented on jquery/jquery-ui Mon Sep 20 06:31:06 -0700 2010
Comment in 52e543a:

This shouldn't affect Chrome at all since it supports minHeight.

Aldri commented on jquery/jquery-ui Mon Sep 20 06:27:51 -0700 2010
Comment in 52e543a:

This modification triggered a bug for a few clients on chrome, their window had a height of ~50px, i had to revert this change to get the normal behaviour (or I could add width: 'auto' in modal options for all my modals but hey, too boring ^)
but I don't know why they had this bug, I couldn't reproduce it on chrome myself

pete-otaqui commented on jquery/jquery-ui Fri Sep 10 08:24:17 -0700 2010
Comment in 4deb824:

That's great Scott, thanks

jdalton commented on jquery/jquery-ui Tue Sep 07 10:32:12 -0700 2010
Comment in 409f5d1:

You can actually do this simpler than the method call...
div.style.cssText = 'min-height:100px;height:auto;padding:0;border-width:0';

scottgonzalez commented on jquery/jquery-ui Tue Sep 07 09:18:13 -0700 2010
Comment on ui/jquery.ui.core.js L225 in 99694e6:

Fixed in 409f5d1

scottgonzalez commented on jquery/jquery-ui Tue Sep 07 09:05:06 -0700 2010
Comment on ui/jquery.ui.core.js L225 in 99694e6:

We could set height, padding, and border as well to ensure it's "safe" from other declared styles.

jdalton commented on jquery/jquery-ui Tue Sep 07 08:54:29 -0700 2010
Comment on ui/jquery.ui.core.js L225 in 99694e6:

Though even .offsetHeight >= 100; might give a false positive a style sheet sets DIVs height to above 100px.

jdalton commented on jquery/jquery-ui Tue Sep 07 08:51:39 -0700 2010
Comment on ui/jquery.ui.core.js L225 in 99694e6:

cool. It can be reduced...

 var div = document.createElement( "div" ), body = document.body;
 div.style.minHeight = "100px";

 $.support.minHeight = body.appendChild(div).offsetHeight >= 100;
 body.removeChild(div);

 // div = null; < - not really needed either just there for dev superstition
scottgonzalez commented on jquery/jquery-ui Tue Sep 07 08:43:49 -0700 2010
Comment on ui/jquery.ui.core.js L225 in 99694e6:

I honestly don't know. This code is adapted from jQuery core: http://github.com/jquery/jquery/blob/master/src/support.js#L104-112

I had the same question, but nobody was around for me to ping when I was implementing this :-P

jdalton commented on jquery/jquery-ui Tue Sep 07 08:36:02 -0700 2010
Comment on ui/jquery.ui.core.js L225 in 99694e6:

Why hide div when it is already removed and about to be nulled ?

scottgonzalez commented on jquery/jquery-ui Fri Sep 03 10:33:14 -0700 2010
Comment in 0a0a39f:

We don't, the test makes sure that destroy isn't called on .detach().

ehynds commented on jquery/jquery-ui Fri Sep 03 10:22:09 -0700 2010
Comment in 0a0a39f:

Why destroy widgets on detach?

jzaefferer commented on jquery/jquery-ui Wed Sep 01 09:02:44 -0700 2010
Comment in 5de8ced:

Wait, thats all?

rdworth commented on jquery/jquery-ui Wed Sep 01 07:05:14 -0700 2010
Comment in 5de8ced:

Beautiful!

scottgonzalez commented on jquery/jquery-ui Mon Aug 30 05:40:20 -0700 2010
Comment in 1e28040:

I did this for consistency with core. We could make this change and see about getting it into core as well.

bugbegone commented on jquery/jquery-ui Sun Aug 29 13:45:12 -0700 2010
Comment on tests/unit/swarminject.js L8 in d8bee22:

uhm you forgot to replace localhost with the correct swarm url swarm.jquery.org now all tests fail due to timeout.
I temporarily redirected lcoalhost to swarm.jquery.org to be able to run the testswarm tests

jzaefferer commented on jquery/jquery-ui Sun Aug 29 11:11:30 -0700 2010
Comment in 9e8e339:

Fixed it here: http://github.com/jquery/jquery-ui/commit/d8bee228b37e1dd3b6e81a145729b762cdf90b09

jzaefferer commented on jquery/jquery-ui Sun Aug 29 02:45:06 -0700 2010
Comment in 1e28040:

I think it would be even more useful to do throw new Error("[message]") - that way the exception will contain fileName and lineNumber properties, making debugging even easier.

A quick Firebug test seems to confirm that, but I'm actually not sure about the exact semantics of throw and Error...

jzaefferer commented on jquery/jquery-ui Sun Aug 29 02:29:04 -0700 2010
Comment in 9e8e339:

You're right, thanks for sharing. One way to fix this would be to split the TestSwarm inject code into its own file, load that at the end and put the testsuite.js back in order where it belongs.

bugbegone commented on jquery/jquery-ui Sat Aug 28 16:44:12 -0700 2010
Comment in 9e8e339:

Doesn't this change cause an error when the test is run? Because the order in which the js-files are loaded matters.

When testsuite.js is loaded after the xxx_defaults.js file (e.g. sortable_defaults.js) the call to commonWidgetTests(...) fails as it is still undefined. Because it is defined in testsuite.js which previously was loaded before sortable_defaults.js.

This holds true for all unit-tests touched in this commit. droppable, sortable, selectable, resizable

I noticed this when running the tests via swarm.jquery.org where many jobs for jquery-ui tests show a black Err label instead of a green 1 test passed (disabled dummy test) sign

« PreviousNext »
Dedicated Server Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
  • Blog
  • Support
  • Training
  • Job Board
  • Shop
  • Contact
  • API
  • Status
  • © 2010 GitHub Inc. All rights reserved.
  • Terms of Service
  • Privacy
  • Security
  • English
  • Deutsch
  • Français
  • 日本語
  • Português (BR)
  • Русский
  • 中文
  • See all available languages

Your current locale selection: English. Choose another?

  • English
  • Afrikaans
  • Català
  • Čeština
  • Deutsch
  • Español
  • Français
  • Hrvatski
  • Indonesia
  • Italiano
  • 日本語
  • Nederlands
  • Norsk
  • Polski
  • Português (BR)
  • Русский
  • Српски
  • Svenska
  • 中文

Keyboard Shortcuts

Site wide shortcuts

s
Focus site search
?
Bring up this help dialog

Commit list

j
Move selected down
k
Move selected up
t
Open tree
p
Open parent
c or o or enter
Open commit

Pull request list

j
Move selected down
k
Move selected up
o or enter
Open issue

Issues

j
Move selected down
k
Move selected up
x
Toggle select target
o or enter
Open issue
I
Mark selected as read
U
Mark selected as unread
e
Close selected
y
Remove selected from view
c
Create issue
l
Create label
i
Back to inbox
u
Back to issues
/
Focus issues search

Network Graph

← or h
Scroll left
→ or l
Scroll right
↑ or k
Scroll up
↓ or j
Scroll down
t
Toggle visibility of head labels
shift ← or shift h
Scroll all the way left
shift → or shift l
Scroll all the way right
shift ↑ or shift k
Scroll all the way up
shift ↓ or shift j
Scroll all the way down