sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
d9414ee1d2cfb474fb54bf9d67580ea71e94942999011768f8871bb9a49835f2
Java
67,070
1,581
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package nl.systemsgenetics.downstreamer.pathway; import cern.colt.matrix.tdouble.DoubleFactory2D; import cern.colt.matrix.tdouble.Dou...
e4e500ce1ae7143b10468bc3c4dbed52c7e7f59b9510a73f9bc293f3b08cb18d
Java
67,258
1,948
/*- * #%L * Triangulated surface for deforming in 3D. * %% * Copyright (C) 2013 - 2023 University College London * %% * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restricti...
9f5006ba577a8a9dd7fddf093333b5d5f4306ec85e9cef9cb2fa2df07be4cf5b
Java
69,981
1,838
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.molgenis.genotype.bgen; import com.github.luben.zstd.Zstd; import com.google.common.math.IntMath; //import io.airlift.compress.zstd.ZstdDecompressor; import org.apache.logging.log4j.Logger; import org.apache...
001d233160a33a102a41c5a992c2043f246a81d33b68cf9b1e9b04467441b39f
Java
70,307
1,572
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package eqtlmappingpipeline.metaqtl3; import cern.colt.matrix.tint.IntMatrix2D; import cern.colt.matrix.tint.impl.DenseIntMatrix2D; import cern.colt.matrix.tint.impl.DenseLargeIntMatrix2D; import com.itextpdf.text.Docum...
75864417e47e2865f5782c052f512405f42e1b6ff89d073bb001db98842e44fb
Java
70,452
1,847
package mbqtl.vcf; import cern.colt.matrix.tdouble.DoubleFactory2D; import cern.colt.matrix.tdouble.DoubleMatrix2D; import cern.colt.matrix.tdouble.algo.DenseDoubleAlgebra; import cern.colt.matrix.tdouble.impl.DenseDoubleMatrix2D; import mbqtl.matrix.ShortMatrix2D; import mbqtl.vcf.filter.genotypefilters.VCFGenotypeF...
f82ec31717b13ff7f563e9ea74b40d561738d65e805c5c85b9545e4bd4a505c2
Java
71,680
1,302
package mbqtl; import mbqtl.datastructures.Dataset; import mbqtl.stat.*; import mbqtl.vcf.VCFVariant; import mbqtl.vcf.VCFVariantProvider; import mbqtl.enums.*; import umcg.genetica.console.ProgressBar; import umcg.genetica.containers.Triple; import umcg.genetica.enums.Chromosome; import umcg.genetica.enums.Strand; im...
74122851b44eaa3012bae9a25021eebb275426ea1e5a914b14c4939f07343b9f
Java
73,109
2,073
/*- * #%L * Triangulated surface for deforming in 3D. * %% * Copyright (C) 2013 - 2023 University College London * %% * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restricti...
cee74062f5c8d45af45b1a1eb45d9ee4e7ff2b7929e6729551be3c1d09f15f54
Java
76,387
1,585
package eqtlmappingpipeline.normalization; import cern.colt.matrix.tdouble.DoubleMatrix1D; import org.apache.commons.math3.stat.ranking.NaNStrategy; import org.apache.commons.math3.stat.ranking.NaturalRanking; import org.apache.commons.math3.stat.ranking.TiesStrategy; import org.apache.commons.math3.stat.regression.O...
8bc43d1cef341f9b0b339975a1f5c3d30f0b4562eaf43fcacd3812c7046c3103
Java
95,459
1,903
///* // * To change this template, choose Tools | Templates // * and open the template in the editor. // */ // //package umcg.genetica.legacy; // //import java.io.*; //import java.util.*; //import java.awt.image.*; //import java.awt.*; //import java.rmi.Remote; //import java.util.regex.Pattern; //import umcg.genetica.m...
b551e054652bfc90fb4d62431691febe915b004be9af571616b3e872d3b96d1d
Java
97,005
2,539
/* * @Author: your name * @Date: 2021-01-21 11:36:58 * @LastEditTime: 2022-08-23 23:19:12 * @LastEditors: onetism onetism@163.com * @Description: In User Settings Edit * @FilePath: \LightFieldMicroscopy_ImageJPlugin\src\Auto_LF_Deconvolution.java */ /* * To the extent possible under law, the ImageJ developers...
c43fdea3cf59b6da0d7d5727bed483d396a0c4686429f326c41542813e4f7ef0
Java
110,164
3,482
/*- * #%L * Triangulated surface for deforming in 3D. * %% * Copyright (C) 2013 - 2023 University College London * %% * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restricti...
1f820e8911b71fdaa0f4fa4370351a54a9d5300a2c0edd80a3ef8803fd2ac23d
Java
161,395
4,529
/* * Class Fmath * * USAGE: Mathematical class that supplements java.lang.Math and contains: * the main physical constants * trigonemetric functions absent from java.lang.Math * some useful additional mathematical functions * some conversion functions * * ...
bed88088b0546fa23b0a9f309d0715deb15897a88e4cc0e403b5f6dc0d34dfc5
JavaScript
34
3
module.exports = { 'port': 8333 }
cd88bbebb42825a5a9e65839fad5cdb5107c1b547004bf75639b960936786cc6
JavaScript
41
1
/* Add here all your JS customizations */
2aa110e4e62e2e6b8125f126847c419e6a46a6fd6947bd8f33494d2cc67f096d
JavaScript
54
5
define( function() { "use strict"; return []; } );
618564a5d0eb5ec66385f16d5830914d288ba64af5be9e06c82913df233b7305
JavaScript
60
5
define( function() { "use strict"; return ( /\?/ ); } );
1f31251f46602813b49c9e8acc007e3a760c27a8a4e87835d2641bf0afb0ae6c
JavaScript
62
5
define( function() { "use strict"; return Date.now(); } );
3472dfd8530590c9b0af82234f8f53e59ad376f4861f3633659065717998aada
JavaScript
66
3
define( [ "./selector-sizzle" ], function() { "use strict"; } );
3431de771b6949515ecbebd7e53bd1449a03f86d3afd071b0f2874b3d4951d33
JavaScript
67
5
define( function() { "use strict"; return window.location; } );
fa0343ecf1321a3cb8ccc04fcc38cdc792fcd1bbfeacc6e09413b28de8642c47
JavaScript
67
5
define( function() { "use strict"; return window.document; } );
4e40005a62cc09cd747d9273ff58afd10ea80184fe973a062237dec7d357eab5
JavaScript
73
5
define( function() { "use strict"; return Object.getPrototypeOf; } );
724ee9c9eb8f958032722fead38328dac54d635c861080c61eedcba469bfb44b
JavaScript
79
7
define( [ "./arr" ], function( arr ) { "use strict"; return arr.push; } );
f38f4f429979d770af022e39280c81c19bd062e029a2f1d5af31b74b22834569
JavaScript
79
5
define( function() { "use strict"; return ( /^(?:checkbox|radio)$/i ); } );
45b07f4e2552e04cee31e1787639eb23e47eae1e4bf4e79004bdccefe4c94fd1
JavaScript
80
7
define( [ "./arr" ], function( arr ) { "use strict"; return arr.slice; } );
87e2d0c9c9dd10319b81b6d7c39f973e1fee9f21c8c3f2e46850367370fbd95a
JavaScript
81
7
define( [ "./arr" ], function( arr ) { "use strict"; return arr.concat; } );
3013d422b24ec5feced9c8baa4ed520df56b0d18de6bf936e3ad86e155b61931
JavaScript
82
6
define( function() { "use strict"; // [[Class]] -> type pairs return {}; } );
43387389ac188a66a56e983cf000138b0e01fb189118d2e34602a1bfb1582ad1
JavaScript
82
7
define( [ "./arr" ], function( arr ) { "use strict"; return arr.indexOf; } );
19873a0a549b4cdb2083b9cfe6b7dd79b5dd509f67fdbe3a707660a442417085
JavaScript
84
7
define( [ "../Data" ], function( Data ) { "use strict"; return new Data(); } );
a48aeedef155707ae24d591a25f45321ba5069dfc37a9c8d15a063899ec5033e
JavaScript
88
5
define( function() { "use strict"; return [ "Top", "Right", "Bottom", "Left" ]; } );
c364a66b3fc5392b485485721344e67795cf475452e8fd45add21848afb2aaea
JavaScript
92
7
define( [ "./hasOwn" ], function( hasOwn ) { "use strict"; return hasOwn.toString; } );
c73a1518e6e67f8ba4a43644bcff7230f12f05aefe3db43932c90a9629ccb151
JavaScript
92
5
define( function() { "use strict"; return ( /^$|^module$|\/(?:java|ecma)script/i ); } );
638d3756851044ba982d9d47f79de777d52600039836aae2974921d2b55d4795
JavaScript
100
5
define( function() { "use strict"; return ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; } );
ea01f21d1aa804bbc9302435084063ef4ed03cce1f39f8fcaebb1d615f98dc95
JavaScript
102
1
const language = en; //available languages: english (en), hungarian (hu), french (fr), portuguese (pt)
1e1f3bb24a26c30bbe091221807b81e7bafcf47c0b928b019db0800f369a2def
JavaScript
104
7
define( [ "./class2type" ], function( class2type ) { "use strict"; return class2type.toString; } );
5069ee1244b38c30ddef600fcbf152bfc1c2b8de1ae9ffc2df05cf206d09e944
JavaScript
105
7
define( [ "./document" ], function( document ) { "use strict"; return document.documentElement; } );
b107b9a193f07762e489ba848f41420cde26e84f8e0a0f0ad1d099cab419b209
JavaScript
110
7
define( [ "./class2type" ], function( class2type ) { "use strict"; return class2type.hasOwnProperty; } );
f32988ec45b092310c6217776ba91200ee46e8acc2b9bf58a824f9a64c45d58b
JavaScript
110
7
define( [ "./fnToString" ], function( fnToString ) { "use strict"; return fnToString.call( Object ); } );
5cc3f35ae1def38e30a9b4d263f6ce437219f5be7a9cf324f226d444b7eb2f66
JavaScript
117
6
define( function() { "use strict"; // All support tests are defined in their respective modules. return {}; } );
cc657380ad359c433e5a10f5c03ce1f3aeb5c27464e0f482fbfadff7136b5e18
JavaScript
123
7
define( [ "./cssExpand" ], function( cssExpand ) { "use strict"; return new RegExp( cssExpand.join( "|" ), "i" ); } );
f3b6c96243310111215b4757a41078a606d1723b37fdbef4c0398e0a340205ba
JavaScript
126
8
define( function() { "use strict"; return function isWindow( obj ) { return obj != null && obj === obj.window; }; } );
90ca035634cb168ec6e5393e3670cb3fef67af08a9b59a8785ef9c4d9962bf1f
JavaScript
128
8
define( [ "../../core", "../../selector" ], function( jQuery ) { "use strict"; return jQuery.expr.match.needsContext; } );
2d196e11a9b97bb6d20ed5a420e8f2d88c2f3e71f20eb07a504e43d03002f5ab
JavaScript
131
7
define( [ "../../var/pnum" ], function( pnum ) { "use strict"; return new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); } );
7023b839e7f108d2ac4ad2c2e698256c3ecfebd61514a0c71f3e0d10804e8635
JavaScript
133
11
define( [ "../var/support" ], function( support ) { "use strict"; support.focusin = "onfocusin" in window; return support; } );
01dede0a8d00c1a942894d65147508c3c091a37982bdce4fe24981ff2d600f63
JavaScript
135
4
export function cleanUrl(url) { const regex = /^http|^https|^\/|^\.\/|^\.\.\//i; return regex.test(url) ? url : `http://${url}`; }
9d5f11fa3f30945d0b888f3d5075a8c7a5fbc64e9c5221ec0759eedeb9091346
JavaScript
136
9
define( [ "../var/pnum" ], function( pnum ) { "use strict"; return new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); } );
19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635
JavaScript
147
2
// Place all the behaviors and hooks related to the matching controller here. // All this logic will automatically be available in application.js.
747bece2a55364aa0ff01716bbe2bc44f6e60ac4ee5bb0cded010ba14d48f91c
JavaScript
148
7
$(function () { 'use strict' $('[data-toggle="offcanvas"]').on('click', function () { $('.offcanvas-collapse').toggleClass('open') }) })
2e2ae52387e8fddad159ca3a0086c01460a42abf43cd250b9ee3075ee1460122
JavaScript
168
13
define( [ "../core" ], function( jQuery ) { "use strict"; jQuery.readyException = function( error ) { window.setTimeout( function() { throw error; } ); }; } );
36b1997841b543260c465c5b799c9550bd6937088c18015c9e84e708dd86a716
JavaScript
178
13
define( function() { "use strict"; function nodeName( elem, name ) { return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); }; return nodeName; } );
824de52f7be6299cfd829efc7f2f0b8459c0c0d452c257a6e72d7def3cd5f344
JavaScript
194
9
var DOCUMENTATION_OPTIONS = { URL_ROOT: '', VERSION: '', LANGUAGE: 'None', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true, SOURCELINK_SUFFIX: '.txt' };
3012be369548475580f3d533ac8e80f58845e6e67706ecc6c31f046e1065004c
JavaScript
200
8
import 'popper.js' import $ from 'jquery' import bootstrap from '../../../dist/js/bootstrap' $(() => { $('#resultUID').text(bootstrap.Util.getUID('bs')) $('[data-toggle="tooltip"]').tooltip() })
dc7e2519a9e5fe78d99ff7b5ee6d64d137fa669e97112589d664569becf25a0e
JavaScript
202
8
define( function() { "use strict"; // Only count HTML whitespace // Other whitespace should count in values // https://infra.spec.whatwg.org/#ascii-whitespace return ( /[^\x20\t\r\n\f]+/g ); } );
984db280790a672293aab76d12f5f83be806f2400054c9f2dc1d7c9550bcf224
JavaScript
217
13
define( [ "./core", "./attributes/attr", "./attributes/prop", "./attributes/classes", "./attributes/val" ], function( jQuery ) { "use strict"; // Return jQuery for attributes-only inclusion return jQuery; } );
08f57cfd88776798d067d0639bbdfe8422c055f8a177f45ac46a64c5fc79d369
JavaScript
218
17
define( function() { "use strict"; return function( n, elem ) { var matched = []; for ( ; n; n = n.nextSibling ) { if ( n.nodeType === 1 && n !== elem ) { matched.push( n ); } } return matched; }; } );
af2060bb44dc4437c067083e82196c9ed31426484cb778920a2dd1b6f26004e0
JavaScript
220
11
const { defineConfig } = require('cypress'); module.exports = defineConfig({ video: true, projectId: "2a7irk", e2e: { setupNodeEvents(on, config) { // implement node event listeners here }, }, });
078b637c2ee08770301544edbfc7a6b1a60d0c6e7646fbf163f4eb143b779f52
JavaScript
234
7
// Your web app's Firebase configuration import firebase_config from './firebase_config.json' assert { type: 'JSON' }; // Initialize Firebase firebase.initializeApp(firebase_config); firebase.analytics(); var auth = firebase.auth();
235e18352508df8affbbb824d872bfc96f9298bf4c492d6bcd911b445fb67e90
JavaScript
234
8
import React from 'react'; import {Meteor} from 'meteor/meteor'; import {render} from 'react-dom'; import {renderRoutes} from './routes'; Meteor.startup(() => { render(renderRoutes(), document.getElementById('app-content')); });
f1431c3069f21c41677db7b824057ff241f8bbd3760842861b5d64a49c839eb6
JavaScript
238
14
'use strict' module.exports = (ctx) => ({ map: ctx.file.dirname.includes('examples') ? false : { inline: false, annotation: true, sourcesContent: true }, plugins: { autoprefixer: { cascade: false } } })
50da7e972f84f94653ba5620a43f4079facfe2d267cf1b816c67bbbf8017e968
JavaScript
244
15
define( [ "../core", "../selector", "../effects" ], function( jQuery ) { "use strict"; jQuery.expr.pseudos.animated = function( elem ) { return jQuery.grep( jQuery.timers, function( fn ) { return elem === fn.elem; } ).length; }; } );
921a8cc818613c77c896f004c404bb852d7128c5b3d7d43050ad427b6c222df5
JavaScript
244
7
define( function() { "use strict"; // rsingleTag matches a string consisting of a single HTML element with no attributes // and captures the element's name return ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); } );
0382488ae0d2533649cd3326d60ee3a52f7116edcd519c80a1632e9818730e3d
JavaScript
248
15
export default class Sse3dSelector { constructor(scene) { this.scene = scene; this.polygon = []; } pushPoint(x, y) { this.polygon.push([x, y]); } deactivate() { this.polygon.length = 0; } }
3499ec8d97d97649bd60624b044113c364f9e5342d31d01522d3490e4e5adee8
JavaScript
255
6
const level = 2; //available levels: 0, 1, 2 const fixationDuration = 500; const letterDuration = 1500; const feedBackDuration = 1000; const language = en; //available languages: english (en), hungarian (hu), french (fr), spanish (es) and portuguese (pt)
090d179813ac5a0912778ef584a1acde9f84e85a21e8895d07573e9d2d85a563
JavaScript
274
9
var DOCUMENTATION_OPTIONS = { URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), VERSION: 'v4.1', LANGUAGE: 'None', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true, SOURCELINK_SUFFIX: '.txt' };
5482acda318e894749c5887cf6e1500ed462bb80553bcf6e6448bfb3f04c0875
JavaScript
289
1
(function(e){"use strict";e("#portletRefresh").on("click",function(e){e.preventDefault(),window.location.reload()}),e("#portletReset").on("click",function(e){e.preventDefault(),store.remove("__portletOrder"),store.remove("__portletState"),window.location.reload()})}).apply(this,[jQuery]);
fff64afed81de81bd8cd83717b30e4390e17e869d2ab48790ab4f76777fdce1b
JavaScript
304
8
define( function() { "use strict"; // rtagName captures the name from the first start tag in a string of HTML // https://html.spec.whatwg.org/multipage/syntax.html#tag-open-state // https://html.spec.whatwg.org/multipage/syntax.html#tag-name-state return ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); } );
3feb2005460b559bb7a3a7cd57ffc7db6a088ad7a96f3de69ad36d8d20903398
JavaScript
305
20
module.exports = { presets: [ [ '@babel/env', { loose: true, modules: false, exclude: ['transform-typeof-symbol'] } ] ], plugins: [ '@babel/plugin-proposal-object-rest-spread' ], env: { test: { plugins: [ 'istanbul' ] } } };
b5bd683cd877bbbe230855eba3b25643991ad232513666094292fb27ebd2c0ff
JavaScript
312
14
const { exec } = require("child_process"); exec("ls -la", (error, stdout, stderr) => { if (error) { console.log(`error: ${error.message}`); return; } if (stderr) { console.log(`stderr: ${stderr}`); return; } console.log(`stdout: ${stdout}`); });
38ad950e9bed5e23ed49f9da4436e59daf96be55062f2b9c8e4451bf35728cc2
JavaScript
317
15
define( [ "../core", "../selector" ], function( jQuery ) { "use strict"; jQuery.expr.pseudos.hidden = function( elem ) { return !jQuery.expr.pseudos.visible( elem ); }; jQuery.expr.pseudos.visible = function( elem ) { return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); }; } );
df9bb083e3899397124dcecfeede435a76c799f451570ddf99ada79efb1fa374
JavaScript
318
19
define( function() { "use strict"; /** * Determines whether an object can have data */ return function( owner ) { // Accepts only: // - Node // - Node.ELEMENT_NODE // - Node.DOCUMENT_NODE // - Object // - Any return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); }; } );
02b53a0b873d484d796cd24cc6b0c12704b01720dd08682068c54e5cb06a0ac3
JavaScript
346
22
define( [ "../core", "../event" ], function( jQuery ) { "use strict"; // Attach a bunch of functions for handling common AJAX events jQuery.each( [ "ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend" ], function( i, type ) { jQuery.fn[ type ] = function( fn ) { return this.on( t...
fc802fa0382dc393cfbf3b4d90c6d56b2c9eb439db374a6510902bd6a7d1fde8
JavaScript
355
12
var DOCUMENTATION_OPTIONS = { URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), VERSION: '1.0.4', LANGUAGE: 'None', COLLAPSE_INDEX: false, BUILDER: 'html', FILE_SUFFIX: '.html', LINK_SUFFIX: '.html', HAS_SOURCE: true, SOURCELINK_SUFFIX: '.txt',...
861a42de71363b767bfa80320fb54f6439ed36b54048e8a27b05ad4315bf0a73
JavaScript
362
14
define( [ "../var/rnothtmlwhite" ], function( rnothtmlwhite ) { "use strict"; // Strip and collapse whitespace according to HTML spec // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace function stripAndCollapse( value ) { var tokens = value.match( rnothtmlwhite ) || []; return tokens.join( ...
63fe579b32790ec76aca3f96a194479874934b9c0f78ca72833784b2d6dae1c9
JavaScript
370
9
const language = en; //available languages: english (en), hungarian (hu) const numberOfPracticeBlocks = 2; const numberOfBlocks = 25; const numberOfBlockElements = 80; const numberOfSequenceRepetitions = 10; const patternTrialImage = "url(static/images/dalmata.jpg)"; const randomTrialImage = "url(static/images/dalmata....
463a2f72ff6786cf9c99b3ad39ea0cb7773af9ee3b7a1b6d6ad4147491f68e05
JavaScript
371
22
define( [ "../../core" ], function( jQuery ) { "use strict"; return function( elem, dir, until ) { var matched = [], truncate = until !== undefined; while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { if ( elem.nodeType === 1 ) { if ( truncate && jQuery( elem ).is( until ) ) { break; } matc...
1198e692585efd95d1dd477721cbbf5b8e9985864ad727f61f483addc688dbe7
JavaScript
379
20
define( [ "../var/class2type", "../var/toString" ], function( class2type, toString ) { "use strict"; function toType( obj ) { if ( obj == null ) { return obj + ""; } // Support: Android <=2.3 only (functionish RegExp) return typeof obj === "object" || typeof obj === "function" ? class2type[ toString.call( ...
dcbd29859ebd3cad6cde0fb1c527f50f95fb9f1f888829c5116df34f77b30c8c
JavaScript
381
22
define( [ "../data/var/dataPriv" ], function( dataPriv ) { "use strict"; // Mark scripts as having already been evaluated function setGlobalEval( elems, refElements ) { var i = 0, l = elems.length; for ( ; i < l; i++ ) { dataPriv.set( elems[ i ], "globalEval", !refElements || dataPriv.get( refElement...
4884deb1eff9f9243cccce776cf52f96f676f994cd61600dd57bd627af618188
JavaScript
392
14
'use strict' const pkg = require('../package.json') const year = new Date().getFullYear() function getBanner(pluginFilename) { return `/*! * Bootstrap${pluginFilename ? ` ${pluginFilename}` : ''} v${pkg.version} (${pkg.homepage}) * Copyright 2011-${year} ${pkg.author} * Licensed under MIT (https://github.com/...
6730bc5423dbd89b92d172de412ff625d1bd3a85f6d282aa4f6521e1b258c651
JavaScript
393
26
(function( $ ) { 'use strict'; /* Refresh page */ $('#portletRefresh').on('click', function(ev) { ev.preventDefault(); window.location.reload(); }); /* Restore to default */ $('#portletReset').on('click', function(ev) { ev.preventDefault(); store.remove('__portletOrder'); store.remove('__portlet...
a579ba3a121e9a1772393bf9c7888a335015b33baa72431a49fc107b8646d990
JavaScript
401
17
define( function() { "use strict"; return function( elem ) { // Support: IE <=11 only, Firefox <=30 (#15098, #14150) // IE throws on elements created in popups // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" var view = elem.ownerDocument.defaultView; if ( !view || !view.op...
1c029fdce4b7c0e09eac3f55654fd2407984a5e39b0918c18db217deee8dc148
JavaScript
409
20
/* eslint-env node */ const resolve = require('rollup-plugin-node-resolve') const commonjs = require('rollup-plugin-commonjs') const babel = require('rollup-plugin-babel') module.exports = { input: 'js/tests/integration/bundle.js', output: { file: 'js/coverage/bundle.js', format: 'iife' }, plugins: [ ...
8599cdc7e45d1ffdd1260abe066feb2cf2df28af8a0b51d67475c8e25656e467
JavaScript
411
19
define( [ "./core", "../external/sizzle/dist/sizzle" ], function( jQuery, Sizzle ) { "use strict"; jQuery.find = Sizzle; jQuery.expr = Sizzle.selectors; // Deprecated jQuery.expr[ ":" ] = jQuery.expr.pseudos; jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; jQuery.text = Sizzle.getText; jQuery.isXMLDoc = Siz...
503ffa9cc56c9b5501ccf3d9fd75d0aa6541060255c175df56042fd04d394428
JavaScript
428
13
define( function() { "use strict"; return function isFunction( obj ) { // Support: Chrome <=57, Firefox <=52 // In some browsers, typeof returns "function" for HTML <object> elements // (i.e., `typeof document.createElement( "object" ) === "function"`). // We don't want to classify *any* DOM...
7bfb38e3c264db3d46f034641bd17aeebb19190e7c75bc7b634db2d03b8e4e20
JavaScript
429
13
#!/usr/bin/env node // Entry point for the repo's .mcp.json and the plugin manifests. // Plain Node, no dependencies; skills that need the CARLA client use `PYTHON`. "use strict"; const [major] = process.versions.node.split(".").map(Number); if (major < 12) { process.stderr.write( `carla-agentic-tools needs Node...
83a7f59ca27e1a568558e0bd8039a3804d8a8cbffdbd095cc370c29c11f87a7b
JavaScript
449
15
console.log('Client side java script file') // const experimentForm = document.querySelector('form') // const modelNameIn = document.querySelector('modelNameIn') // experimentForm.addEventListener('submit',(e) => { // e.preventDefault() // const modelName = modelNameIn.value // console.log('testing') ...
bc0d294f0ce6a90ba87fd18f93953d27d83200d1f71fba4c18e6abe5467ebdc7
JavaScript
484
24
import Sse3dSelector from "./Sse3dSelector"; export default class extends Sse3dSelector { mouseDown(ev) { if (ev.which == 3) { this.pushPoint(ev.offsetX, ev.offsetY); } } mouseUp(ev) { if (ev.which == 3) { this.scene.selectByPolygon(this.polygon); ...
a59ce5aab0db7baf63058b93e7d1bf17df5a34d85fc49d505b64f4883dba18c4
JavaScript
502
17
// package metadata file for Meteor.js Package.describe({ name: 'twbs:bootstrap', // https://atmospherejs.com/twbs/bootstrap summary: 'The most popular front-end framework for developing responsive, mobile first projects on the web.', version: '4.4.1', git: 'https://github.com/twbs/bootstrap.git' }); Package....
4d2a84fd80c48ffdd1a83aac82574419e54b2e0f0c7be263252be21f15bb00e9
JavaScript
520
26
define( function() { "use strict"; // A method for quickly swapping in/out CSS properties to get correct calculations. return function( elem, options, callback, args ) { var ret, name, old = {}; // Remember the old values, and insert the new ones for ( name in options ) { old[ name ] = elem.style[ name ]; e...
480b1f1c03dbcddfa6812989be4d296a7fb39a24c38eaeb06f6451aee64e93cf
JavaScript
530
26
define( function() { "use strict"; function addGetHookIf( conditionFn, hookFn ) { // Define the hook, we'll check on the first run if it's really needed. return { get: function() { if ( conditionFn() ) { // Hook not needed (or it's not possible to use it due // to missing dependency), remove it. ...
bb59b746890b60b2f5bf2671b5deee6a023c451dda7fe08aca0682dae02a89d1
JavaScript
545
23
define( [], function() { "use strict"; // Matches dashed string for camelizing var rmsPrefix = /^-ms-/, rdashAlpha = /-([a-z])/g; // Used by camelCase as callback to replace() function fcamelCase( all, letter ) { return letter.toUpperCase(); } // Convert dashed to camelCase; used by the css and data modules // Su...
3b088a2bd9acbbd35c5d970ce522b116736e663ba2f154c426585f3b59c6fca7
JavaScript
559
30
define( [ "../core" ], function( jQuery ) { "use strict"; // Cross-browser xml parsing jQuery.parseXML = function( data ) { var xml; if ( !data || typeof data !== "string" ) { return null; } // Support: IE 9 - 11 only // IE throws on parseFromString with invalid input. try { xml = ( new window.DOMParser()...
d672702cbc3a2912a286761cca0fac042b2cfd66496eebab37fd331cc775c7e3
JavaScript
581
22
import {Meteor} from 'meteor/meteor'; SseSamples = new Mongo.Collection("SseSamples"); SseProps = new Mongo.Collection("SseProps"); if (Meteor.isServer) { Meteor.publish("sse-data-descriptor", function (imageUrl) { return SseSamples.find({url: imageUrl}); }); Meteor.publish("sse-labeled-images", ...
ac7a2c35a4f9766ca14a639bac9671fd936ecf49c9e9ac3d4b0a950f1491daa0
JavaScript
608
34
define( [ "../core" ], function( jQuery, noGlobal ) { "use strict"; var // Map over jQuery in case of overwrite _jQuery = window.jQuery, // Map over the $ in case of overwrite _$ = window.$; jQuery.noConflict = function( deep ) { if ( window.$ === jQuery ) { window.$ = _$; } if ( deep && window.jQuery =...
d3348b12afcb8eca49855ccac77257bc3e2b2525214bd0620cf56b212faeee37
JavaScript
615
24
export function node(params, alias, data, displayDiv) { // Traditional DOM manipulation is used here as a // hacky way to not have to force partial redraws const div = displayDiv; div.innerHTML = ''; for (const j of params.edges) { for (const i of data.edges) { if (i.id === j) { div.innerHTM...
d49fffdfb75415de0197c582136349c7c6219f8ffbeae7c867d0604657c189e7
JavaScript
622
40
define( [ "./core", "./selector", "./traversing", "./callbacks", "./deferred", "./deferred/exceptionHook", "./core/ready", "./data", "./queue", "./queue/delay", "./attributes", "./event", "./event/focusin", "./manipulation", "./manipulation/_evalUrl", "./wrap", "./css", "./css/hiddenVisibleSelectors",...
fcb28a4302e38ed0cf1cb3a1208ce57711c853ce3529015847a96599e33f7e90
JavaScript
631
20
define( [ "../var/document", "../var/support" ], function( document, support ) { "use strict"; // Support: Safari 8 only // In Safari 8 documents created via document.implementation.createHTMLDocument // collapse sibling forms: the second one becomes a child of the first one. // Because of that, this security measu...
1b7fa0c9850f2dc3d8c96e2a2cac7a74a14e878be8e14ff9721d113f4200cf5d
JavaScript
636
24
define( [ "../core", "../queue", "../effects" // Delay is optional because of this dependency ], function( jQuery ) { "use strict"; // Based off of the plugin by Clint Helfers, with permission. // https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ jQuery.fn.delay = f...
02e8b1a3463d66a215659074defcf8d3c8451b337e4373e5089f6e25101fb9bf
JavaScript
639
14
jsToolBar.strings = {}; jsToolBar.strings['Strong'] = 'Strong'; jsToolBar.strings['Italic'] = 'Italic'; jsToolBar.strings['Underline'] = 'Underline'; jsToolBar.strings['Deleted'] = 'Deleted'; jsToolBar.strings['Code'] = 'Inline Code'; jsToolBar.strings['Heading 1'] = 'Heading 1'; jsToolBar.strings['Heading 2'] = 'Headi...
b9d2acd37e19fd453686fa37f72899575d047cbc5c810e187647f076dec22b42
JavaScript
640
21
define( [ "../core", "../deferred" ], function( jQuery ) { "use strict"; // These usually indicate a programmer mistake during development, // warn about them ASAP rather than swallowing them by default. var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; jQuery.Deferred.exceptionHook = fun...
1afe476a13516485fbfd0bcb71e4147bb118cec03026ccaff816a362eb155e71
JavaScript
649
29
define( [ "../core", "../event", "./trigger" ], function( jQuery ) { "use strict"; jQuery.each( ( "blur focus focusin focusout resize scroll click dblclick " + "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + "change select submit keydown keypress keyup contextmenu" ).split( " " ), fun...
ada1b9804eca2f7341327be0ccd470efef5519226599170f2f6ff08a249632d7
JavaScript
650
32
define( [ "../core", "../core/nodeName" ], function( jQuery, nodeName ) { "use strict"; function getAll( context, tag ) { // Support: IE <=9 - 11 only // Use typeof to avoid zero-argument method invocation on host objects (#15151) var ret; if ( typeof context.getElementsByTagName !== "undefined" ) { ret = c...