Skip to content

Commit

Permalink
update 外围模块
Browse files Browse the repository at this point in the history
  • Loading branch information
RubyLouvre committed Nov 28, 2012
1 parent a66c26f commit 56c0e5d
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion more/dropdown.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define('dropdown',[ '$css',"./avalon" ], function(){
define('dropdown',[ '$css',"./avalon" ], function($){
$.log("已加载dropdown模块",7)
$.ui = $.ui || {};
var defaults = {
Expand Down
2 changes: 1 addition & 1 deletion more/ejs.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define( ["$lang"],function(){
define( ["$lang"],function($){
$.log("已加载ejs模块!", 7)
$.ejs = function( id,data,opts){
var el, source
Expand Down
2 changes: 1 addition & 1 deletion more/hashchange.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define("hashchange", ["$event"], function(){
define("hashchange", ["$event"], function($){
$.log("已加载hashchange模块")

var hashchange = 'hashchange', DOC = document, documentMode = DOC.documentMode,
Expand Down
2 changes: 1 addition & 1 deletion more/menu.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define("menu",["$node","$event","$attr","$css"],function(){
define("menu",["$node","$event","$attr","$css"],function($){

var defaults = {
data:[],
Expand Down
2 changes: 1 addition & 1 deletion more/scrollbar.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define("scrollbar", "css",function( ){
define("scrollbar", ["css"],function( $){
$.fn.hasScrollBar = function() {
var node = this[0],ret = false;
if ((node.clientHeight < node.scrollHeight) || (node.clientWidth < node.scrollWidth)) {
Expand Down
2 changes: 1 addition & 1 deletion more/store.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define("store", this.JSON && JSON.parse ? ["support"] :["$support","./json2"], function(){
define("store", this.JSON && JSON.parse ? ["support"] :["$support","./json2"], function($){
var store = {
//一些接口(空实现)
disabled: false,
Expand Down
2 changes: 1 addition & 1 deletion more/tab.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define("tab", ["$node","$event","$attr","$css"],function(){
define("tab", ["$node","$event","$attr","$css"],function($){

var Tab = $.factory({
init: function(el, opts){
Expand Down
2 changes: 1 addition & 1 deletion node.js
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ define( "node", "mass,$support,$class,$query,$data".split(","),function( $ ){
tr: [ 2, "<table><tbody>", "</tbody></table>" ],
td: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ],
//IE678在用innerHTML生成节点时存在BUG,不能直接创建script,link,meta,style与HTML5的新标签
_default: $.support.createAll ? [ 0, "", "" ] : [ 1, "X<div>", "</div>" ]
_default: $.support.createAll ? [ 0, "", "" ] : [ 1, "X<div>", "" ]//div可以不用闭合
};

tagHooks.optgroup = tagHooks.option;
Expand Down

0 comments on commit 56c0e5d

Please sign in to comment.