mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-17 06:48:59 +08:00
Moved "framework" to "iii".
This commit is contained in:
26
yii/assets/yii.debug.js
Normal file
26
yii/assets/yii.debug.js
Normal file
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* Yii debug module.
|
||||
*
|
||||
* This JavaScript module provides the functions needed by the Yii debug toolbar.
|
||||
*
|
||||
* @link http://www.yiiframework.com/
|
||||
* @copyright Copyright (c) 2008 Yii Software LLC
|
||||
* @license http://www.yiiframework.com/license/
|
||||
* @author Qiang Xue <qiang.xue@gmail.com>
|
||||
* @since 2.0
|
||||
*/
|
||||
|
||||
yii.debug = (function ($) {
|
||||
return {
|
||||
load: function (id, url) {
|
||||
$.ajax({
|
||||
url: url,
|
||||
//dataType: 'json',
|
||||
success: function(data) {
|
||||
var $e = $('#' + id);
|
||||
$e.html(data);
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
})(jQuery);
|
||||
Reference in New Issue
Block a user