Download pool/shard007/JavaScript/0044111_ui.loading.js from Variable-role/sajaniemi_variable_dataset_large: direct link, hf CLI and curl.
- Browser
- Download file 968 Bytes
-
https://huggingface.co/datasets/Variable-role/sajaniemi_variable_dataset_large/resolve/main/pool/shard007/JavaScript/0044111_ui.loading.js
- Command line
-
hf download hf://datasets/Variable-role/sajaniemi_variable_dataset_large/pool/shard007/JavaScript/0044111_ui.loading.js
-
curl -L -o 0044111_ui.loading.js https://huggingface.co/datasets/Variable-role/sajaniemi_variable_dataset_large/resolve/main/pool/shard007/JavaScript/0044111_ui.loading.js
968 Bytes
| /** | |
| * DevExtreme (ui/scheduler/ui.loading.js) | |
| * Version: 16.2.5 | |
| * Build date: Mon Feb 27 2017 | |
| * | |
| * Copyright (c) 2012 - 2017 Developer Express Inc. ALL RIGHTS RESERVED | |
| * EULA: https://www.devexpress.com/Support/EULAs/DevExtreme.xml | |
| */ | |
| ; | |
| var $ = require("jquery"), | |
| viewPortUtils = require("../../core/utils/view_port"), | |
| LoadPanel = require("../load_panel"); | |
| var loading = null; | |
| var createLoadPanel = function(options) { | |
| return new LoadPanel($("<div>").appendTo(options && options.container || viewPortUtils.value()), options) | |
| }; | |
| var removeLoadPanel = function() { | |
| if (!loading) { | |
| return | |
| } | |
| loading.element().remove(); | |
| loading = null | |
| }; | |
| exports.show = function(options) { | |
| removeLoadPanel(); | |
| loading = createLoadPanel(options); | |
| return loading.show() | |
| }; | |
| exports.hide = function() { | |
| if (!loading) { | |
| return $.Deferred().resolve() | |
| } | |
| return loading.hide().done(removeLoadPanel).promise() | |
| }; | |