Skip to content

Commit

Permalink
Replaced YUI's container_core.js with container.js, since the former …
Browse files Browse the repository at this point in the history
…lacked SimpleDialog.

Also took the opportunity to upgrade YUI to 2.8.2 due to security issues described here:

  http://yuilibrary.com/support/2.8.2/

Fixes issue 109
  • Loading branch information
[email protected] authored and [email protected] committed Feb 27, 2011
1 parent 385f67b commit 110de79
Show file tree
Hide file tree
Showing 21 changed files with 4,408 additions and 856 deletions.
2 changes: 1 addition & 1 deletion build/platform-yui.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
//
//= require <yui/yuiloader-dom-event>
//= require <yui/animation>
//= require <yui/container_core>
//= require <yui/container>
//= require <yui/connection>
//= require <yui/treeview>
//
Expand Down
8 changes: 4 additions & 4 deletions third-party/yui/animation.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.8.0r4
http://developer.yahoo.com/yui/license.html
version: 2.8.2r1
*/
(function() {

Expand Down Expand Up @@ -1389,4 +1389,4 @@ YAHOO.util.Easing = {

Y.Scroll = Scroll;
})();
YAHOO.register("animation", YAHOO.util.Anim, {version: "2.8.0r4", build: "2449"});
YAHOO.register("animation", YAHOO.util.Anim, {version: "2.8.2r1", build: "7"});
6 changes: 3 additions & 3 deletions third-party/yui/assets/container-core.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.8.0r4
http://developer.yahoo.com/yui/license.html
version: 2.8.2r1
*/
.yui-overlay,
.yui-panel-container {
Expand Down
6 changes: 3 additions & 3 deletions third-party/yui/assets/container.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.8.0r4
http://developer.yahoo.com/yui/license.html
version: 2.8.2r1
*/
.yui-overlay,
.yui-panel-container {
Expand Down
108 changes: 57 additions & 51 deletions third-party/yui/assets/logger.css
Original file line number Diff line number Diff line change
@@ -1,51 +1,57 @@
/* logger default styles */
/* default width: 31em */
/* default font-size 77% */
.yui-log {padding:1em;width:31em;background-color:#AAA;color:#000;border:1px solid black;font-family:monospace;font-size:77%;text-align:left;z-index:9000;}

/* for containers built from scratch */
.yui-log-container {position:absolute;top:1em;right:1em;}

/* buttons */
.yui-log input {
margin:0;padding:0;
font-family:arial;
font-size:100%;
font-weight:normal;
}
.yui-log .yui-log-btns {position:relative;float:right;bottom:.25em;}

/* header */
.yui-log .yui-log-hd {margin-top:1em;padding:.5em;background-color:#575757;}
.yui-log .yui-log-hd h4 {margin:0;padding:0;font-size:107%;font-weight:bold;color:#FFF;}

/* body */

.yui-log .yui-log-bd {width:100%;height:20em;background-color:#FFF;border:1px solid gray;overflow:auto;} /* height is controlled here: default 20em*/
.yui-log p {margin:1px;padding:.1em;}
.yui-log pre {margin:0;padding:0;}

/* for pre to respect newlines yet wrap long lines */
/* http://www.longren.org/2006/09/27/wrapping-text-inside-pre-tags/ */
.yui-log pre.yui-log-verbose {
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}

/* footer */
.yui-log .yui-log-ft {margin-top:.5em;}
.yui-log .yui-log-ft .yui-log-categoryfilters {}
.yui-log .yui-log-ft .yui-log-sourcefilters {width:100%;border-top:1px solid #575757;margin-top:.75em;padding-top:.75em;}
.yui-log .yui-log-filtergrp {margin-right:.5em;}
/*.yui-log .yui-log-ft ul {margin:0;padding:0;line-height:1.8}
.yui-log .yui-log-ft li {list-style:none;display:inline;white-space:nowrap;}*/

/* logs */
.yui-log .info {background-color:#A7CC25;} /* A7CC25 green */
.yui-log .warn {background-color:#F58516;} /* F58516 orange */
.yui-log .error {background-color:#E32F0B;} /* E32F0B red */
.yui-log .time {background-color:#A6C9D7;} /* A6C9D7 blue */
.yui-log .window {background-color:#F2E886;} /* F2E886 tan */
/*
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
version: 2.8.2r1
*/
/* logger default styles */
/* default width: 31em */
/* default font-size 77% */
.yui-log {padding:1em;width:31em;background-color:#AAA;color:#000;border:1px solid black;font-family:monospace;font-size:77%;text-align:left;z-index:9000;}

/* for containers built from scratch */
.yui-log-container {position:absolute;top:1em;right:1em;}

/* buttons */
.yui-log input {
margin:0;padding:0;
font-family:arial;
font-size:100%;
font-weight:normal;
}
.yui-log .yui-log-btns {position:relative;float:right;bottom:.25em;}

/* header */
.yui-log .yui-log-hd {margin-top:1em;padding:.5em;background-color:#575757;}
.yui-log .yui-log-hd h4 {margin:0;padding:0;font-size:107%;font-weight:bold;color:#FFF;}

/* body */

.yui-log .yui-log-bd {width:100%;height:20em;background-color:#FFF;border:1px solid gray;overflow:auto;} /* height is controlled here: default 20em*/
.yui-log p {margin:1px;padding:.1em;}
.yui-log pre {margin:0;padding:0;}

/* for pre to respect newlines yet wrap long lines */
/* http://www.longren.org/2006/09/27/wrapping-text-inside-pre-tags/ */
.yui-log pre.yui-log-verbose {
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}

/* footer */
.yui-log .yui-log-ft {margin-top:.5em;}
.yui-log .yui-log-ft .yui-log-categoryfilters {}
.yui-log .yui-log-ft .yui-log-sourcefilters {width:100%;border-top:1px solid #575757;margin-top:.75em;padding-top:.75em;}
.yui-log .yui-log-filtergrp {margin-right:.5em;}
/*.yui-log .yui-log-ft ul {margin:0;padding:0;line-height:1.8}
.yui-log .yui-log-ft li {list-style:none;display:inline;white-space:nowrap;}*/

/* logs */
.yui-log .info {background-color:#A7CC25;} /* A7CC25 green */
.yui-log .warn {background-color:#F58516;} /* F58516 orange */
.yui-log .error {background-color:#E32F0B;} /* E32F0B red */
.yui-log .time {background-color:#A6C9D7;} /* A6C9D7 blue */
.yui-log .window {background-color:#F2E886;} /* F2E886 tan */
6 changes: 3 additions & 3 deletions third-party/yui/assets/skins/sam/container-skin.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.8.0r4
http://developer.yahoo.com/yui/license.html
version: 2.8.2r1
*/
/* Panel modality mask styles */
.yui-skin-sam .mask {
Expand Down
6 changes: 3 additions & 3 deletions third-party/yui/assets/skins/sam/container.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions third-party/yui/button.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.8.0r4
http://developer.yahoo.com/yui/license.html
version: 2.8.2r1
*/
/**
* @module button
Expand Down Expand Up @@ -4630,4 +4630,4 @@ version: 2.8.0r4
});

})();
YAHOO.register("button", YAHOO.widget.Button, {version: "2.8.0r4", build: "2449"});
YAHOO.register("button", YAHOO.widget.Button, {version: "2.8.2r1", build: "7"});
8 changes: 4 additions & 4 deletions third-party/yui/calendar.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.8.0r4
http://developer.yahoo.com/yui/license.html
version: 2.8.2r1
*/
(function () {

Expand Down Expand Up @@ -7291,4 +7291,4 @@ YAHOO.widget.CalendarNavigator.prototype = {
__isMac : (navigator.userAgent.toLowerCase().indexOf("macintosh") != -1)

};
YAHOO.register("calendar", YAHOO.widget.Calendar, {version: "2.8.0r4", build: "2449"});
YAHOO.register("calendar", YAHOO.widget.Calendar, {version: "2.8.2r1", build: "7"});
8 changes: 4 additions & 4 deletions third-party/yui/colorpicker.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.8.0r4
http://developer.yahoo.com/yui/license.html
version: 2.8.2r1
*/
/**
* Provides color conversion and validation utils
Expand Down Expand Up @@ -1760,4 +1760,4 @@ YAHOO.util.Color = function() {

YAHOO.widget.ColorPicker = ColorPicker;
})();
YAHOO.register("colorpicker", YAHOO.widget.ColorPicker, {version: "2.8.0r4", build: "2449"});
YAHOO.register("colorpicker", YAHOO.widget.ColorPicker, {version: "2.8.2r1", build: "7"});
8 changes: 4 additions & 4 deletions third-party/yui/connection.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.8.0r4
http://developer.yahoo.com/yui/license.html
version: 2.8.2r1
*/
/**
* The Connection Manager provides a simplified interface to the XMLHttpRequest
Expand Down Expand Up @@ -1543,4 +1543,4 @@ YAHOO.util.Connect =
YCM.uploadFile = _uploadFile;
})();

YAHOO.register("connection", YAHOO.util.Connect, {version: "2.8.0r4", build: "2449"});
YAHOO.register("connection", YAHOO.util.Connect, {version: "2.8.2r1", build: "7"});
Loading

0 comments on commit 110de79

Please sign in to comment.