upgrade to yui 2.5.1
This commit is contained in:
parent
e00050ad1c
commit
ff7d72becc
1632 changed files with 812103 additions and 0 deletions
86
www/extras/yui/examples/logger/index.html
Normal file
86
www/extras/yui/examples/logger/index.html
Normal file
File diff suppressed because one or more lines are too long
169
www/extras/yui/examples/logger/log_autocomplete.html
Normal file
169
www/extras/yui/examples/logger/log_autocomplete.html
Normal file
File diff suppressed because one or more lines are too long
41
www/extras/yui/examples/logger/log_autocomplete_source.html
Normal file
41
www/extras/yui/examples/logger/log_autocomplete_source.html
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
#statesautocomplete {width:20em;}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body class="yui-skin-sam">
|
||||
|
||||
<!-- AutoComplete begins -->
|
||||
<h3>Type a state (will output log messages):</h3>
|
||||
<div id="statesautocomplete">
|
||||
<input id="statesinput">
|
||||
<div id="statescontainer"></div>
|
||||
</div>
|
||||
<!-- AutoComplete ends -->
|
||||
<script type="text/javascript" src="../autocomplete/assets/js/states_jsfunction.js"></script>
|
||||
<script type="text/javascript" src="../../build/yuiloader/yuiloader-beta.js"></script>
|
||||
<script type="text/javascript">
|
||||
var loader = new YAHOO.util.YUILoader();
|
||||
loader.insert({
|
||||
require: ['autocomplete','logger'],
|
||||
base: '../../build/',
|
||||
filter: 'DEBUG',
|
||||
onSuccess: function(loader) {
|
||||
YAHOO.example.LogAutoComplete = new function() {
|
||||
// Instantiate LogReader
|
||||
this.oLogReader = new YAHOO.widget.LogReader();
|
||||
|
||||
// Instantiate DataSource
|
||||
this.oACDS = new YAHOO.widget.DS_JSFunction(getStates);
|
||||
|
||||
// Instantiate AutoComplete
|
||||
this.oAutoComp = new YAHOO.widget.AutoComplete('statesinput','statescontainer', this.oACDS);
|
||||
};
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
157
www/extras/yui/examples/logger/log_basic.html
Normal file
157
www/extras/yui/examples/logger/log_basic.html
Normal file
File diff suppressed because one or more lines are too long
29
www/extras/yui/examples/logger/log_basic_source.html
Normal file
29
www/extras/yui/examples/logger/log_basic_source.html
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="yui-skin-sam">
|
||||
<p><a href="#" id="loglink">Click here</a> to log a simple message.</p>
|
||||
|
||||
<script type="text/javascript" src="../../build/yuiloader/yuiloader-beta.js"></script>
|
||||
<script type="text/javascript">
|
||||
var loader = new YAHOO.util.YUILoader();
|
||||
loader.insert({
|
||||
require: ['fonts','dragdrop','logger'],
|
||||
base: '../../build/',
|
||||
|
||||
onSuccess: function(loader) {
|
||||
YAHOO.util.Event.addListener(YAHOO.util.Dom.get("loglink"), "click", function(e) {
|
||||
YAHOO.util.Event.stopEvent(e);
|
||||
YAHOO.log("This is a simple log message.");
|
||||
});
|
||||
|
||||
// Put a LogReader on your page
|
||||
this.myLogReader = new YAHOO.widget.LogReader();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
585
www/extras/yui/examples/logger/log_reading.html
Normal file
585
www/extras/yui/examples/logger/log_reading.html
Normal file
File diff suppressed because one or more lines are too long
268
www/extras/yui/examples/logger/log_skinning.html
Normal file
268
www/extras/yui/examples/logger/log_skinning.html
Normal file
File diff suppressed because one or more lines are too long
262
www/extras/yui/examples/logger/log_writing.html
Normal file
262
www/extras/yui/examples/logger/log_writing.html
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue