Conversation
jquery-weui.js v0.7.1
|
/**
(function($) { $.fn.transitionEnd = function(callback) { }; $.support = (function() { $.touchEvents = { $.getTouchPosition = function(e) { $.fn.scrollHeight = function() { $.fn.transform = function(transform) { $.getTranslate = function (el, axis) { }; $.cancelAnimationFrame = function (id) { $.fn.join = function(arg) { $.fn.data = function(key, value) { }; })($); /=========================== })();
}($);
}($);og.addClass("weui_toast_visible"); var hide = function(callback) { $.toast = function(text, style, callback) { ' + (text || "已经完成") + ' ', className);} $.showLoading = function(text) { '; ';for(var i=0;i<12;i++) { html += ''; } html += ' html += ' ' + (text || "数据加载中") + ' ';show(html, 'weui_loading_toast'); } $.hideLoading = function() { var toastDefaults = $.toast.prototype.defaults = { }($);
}($); /* =============================================================================== +function ($) { var PTR = function(el) { PTR.prototype.touchStart = function(e) { PTR.prototype.touchMove= function(e) { }; PTR.prototype.attachEvents = function() { var pullToRefresh = function(el) { var pullToRefreshDone = function(el) { $.fn.pullToRefresh = function() { $.fn.pullToRefreshDone = function() { }($); /* =============================================================================== var Infinite = function(el, distance) { Infinite.prototype.scroll = function() { Infinite.prototype.attachEvents = function(off) { var infinite = function(el) { $.fn.infinite = function(distance) { }($); /* global $:true */ var ITEM_ON = "weui_bar_item_on"; var showTab = function(a) { } $.showTab = showTab; $(document).on("click", ".weui_tabbar_item, .weui_navbar_item", function(e) { }); }($); /* global $:true */
}($); /=========================== })($); /======================================================
/* global $:true */
}($); /====================================================== }; var format = function(d) { $.fn.calendar = function (params, args) { }; defaults = $.fn.calendar.prototype.defaults = { ' + ','' + '' + '' + ' yearPicker: true, yearPickerTemplate: ' ' + ','' + '' + '' + ' weekHeader: true, // Common settings scrollToInput: true, inputReadOnly: true, convertToPopover: true, onlyInPopover: false, toolbar: true, toolbarCloseText: 'Done', toolbarTemplate: '', /* Callbacks onMonthAdd onChange onOpen onClose onDayClick onMonthYearChangeStart onMonthYearChangeEnd */ }; }($); /* global $:true /
}($); /======================================================
}($); /* =============================================================================== var noti, defaults, timeout, start, diffX, diffY; var touchStart = function(e) { }; }; var attachEvents = function(el) {
attachEvents(noti); } }; $.closeNotification = function() { }; defaults = $.noti.prototype.defaults = { ' + ''{{#if media}} {{media}} {{/if}}' +' ' + ' +'{{#if title}} {{title}} {{/if}}' +'{{#if text}} {{text}} {{/if}}' +' '' + ' }; }($); |
jquery-weui.js v0.7.1