WebUI/AchieveManageWeb/Scripts/knockout-2.2.0.debug.js

(开头部分) 253KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/* NUGET: BEGIN LICENSE TEXT
 *
 * Microsoft grants you the right to use these script files for the sole
 * purpose of either: (i) interacting through your browser with the Microsoft
 * website or online service, subject to the applicable licensing or use
 * terms; or (ii) using the files as included with a Microsoft product subject
 * to that product's license terms. Microsoft reserves all other rights to the
 * files not expressly granted by Microsoft, whether by implication, estoppel
 * or otherwise. Insofar as a script file is dual licensed under GPL,
 * Microsoft neither took the code under GPL nor distributes it thereunder but
 * under the terms set out in this paragraph. All notices and licenses
 * below are for informational purposes only.
 *
 * NUGET: END LICENSE TEXT */
// Knockout JavaScript library v2.2.0
// (c) Steven Sanderson - http://knockoutjs.com/
// License: MIT (http://www.opensource.org/licenses/mit-license.php)

(function(){
    var DEBUG=true;
    (function(window,document,navigator,jQuery,undefined){
        !function(factory) {
            // Support three module loading scenarios
            if (typeof require === 'function' && typeof exports === 'object' && typeof module === 'object') {
                // [1] CommonJS/Node.js
                var target = module['exports'] || exports; // module.exports is for Node.js
                factory(target);
            } else if (typeof define === 'function' && define['amd']) {
                // [2] AMD anonymous module
                define(['exports'], factory);
            } else {
                // [3] No module loader (plain <script> tag) - put directly in global namespace
                factory(window['ko'] = {});
            }
        }(function(koExports){
            // Internally, all KO objects are attached to koExports (even the non-exported ones whose names will be minified by the closure compiler).
            // In the future, the following "ko" variable may be made distinct from "koExports" so that private objects are not externally reachable.
            var ko = typeof koExports !== 'undefined' ? koExports : {};
            // Google Closure Compiler helpers (used only to make the minified file smaller)
            ko.exportSymbol = function(koPath, object) {
                var tokens = koPath.split(".");

                // In the future, "ko" may become distinct from "koExports" (so that non-exported objects are not reachable)
                // At that point, "target" would be set to: (typeof koExports !== "undefined" ? koExports : ko)
                var target = ko;

                for (var i = 0; i < tokens.length - 1; i++)
                    target = target[tokens[i]];
                target[tokens[tokens.length - 1]] = object;
            };
            ko.exportProperty = function(owner, publicName, object) {
                owner[publicName] = object;
            };
            ko.version = "2.2.0";

            ko.exportSymbol('version', ko.version);
            ko.utils = new (function () {
                var stringTrimRegex = /^(\s|\u00A0)+|(\s|\u00A0)+$/g;

                // Represent the known event types in a compact way, then at runtime transform it into a hash with event name as key (for fast lookup)
后面还有 3527 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。