UNPKG

@themost/web

Version:

MOST Web Framework 2.0 - Web Server Module

15 lines (12 loc) 419 B
// @themost-framework 2.0 Codename Blueshift Copyright (c) 2017-2025, THEMOST LP All rights reserved (function(window) { var $ = window.jQuery; $.fn.outerHTML = $.fn.outer = function () { return $(this).clone().wrap('<div></div>').parent().html(); }; $.extend($.expr[':'],{ required: function(a) { return $(a).attr('required') === 'required'; } }); })(window);