sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
adb9be65af8600721a892e30492f5b1693984a99d57451621647588e461a782e
JavaScript
931
16
jsToolBar.strings = {}; jsToolBar.strings['Strong'] = 'หนา'; jsToolBar.strings['Italic'] = 'เอียง'; jsToolBar.strings['Underline'] = 'ขีดเส้นใต้'; jsToolBar.strings['Deleted'] = 'ขีดฆ่า'; jsToolBar.strings['Code'] = 'โค๊ดโปรแกรม'; jsToolBar.strings['Heading 1'] = 'หัวข้อ 1'; jsToolBar.strings['Heading 2'] = 'หัวข้อ 2';...
85fb71d2abd99d0970e8154220f2f7c58eb36930540d0c56118aa1e1069ded56
JavaScript
932
20
// jsToolBar EU language // Author: Ales Zabala Alava (Shagi), <shagi@gisa-elkartea.org> // 2010-01-25 // Distributed under the same terms as the jsToolBar itself. jsToolBar.strings = {}; jsToolBar.strings['Strong'] = 'Lodia'; jsToolBar.strings['Italic'] = 'Etzana'; jsToolBar.strings['Underline'] = 'Azpimarra'; jsToolB...
ed12b2acb2a23ba3d4b73547f913f6ffdf301b89a275215d4681e0f1f098d05d
JavaScript
932
23
/* Danish initialisation for the jQuery UI date picker plugin. */ /* Written by Jan Christensen ( deletestuff@gmail.com). */ jQuery(function($){ $.datepicker.regional['da'] = { closeText: 'Luk', prevText: '&#x3c;Forrige', nextText: 'Næste&#x3e;', currentText: 'Idag', monthNames: ['Januar','Feb...
37f8ae9960167541bea5fb53f763ab0e974a62737d0994dda505ae03ffbd41ab
JavaScript
934
23
/* Swedish initialisation for the jQuery UI date picker plugin. */ /* Written by Anders Ekdahl ( anders@nomadiz.se). */ jQuery(function($){ $.datepicker.regional['sv'] = { closeText: 'Stäng', prevText: '&laquo;Förra', nextText: 'Nästa&raquo;', currentText: 'Idag', monthNames: ['Januari','Febru...
5f00f2538fb10854e1927d3af6a0798e389fe8099dd5a8ba12098f4f85b2e654
JavaScript
937
17
/** * Select2 Latvian translation. * * @author Uriy Efremochkin <efremochkin@uriy.me> */ (function ($) { "use strict"; $.extend($.fn.select2.defaults, { formatNoMatches: function () { return "Sakritību nav"; }, formatInputTooShort: function (input, min) { var n = min - input.length; return...
b0b09f9ec839d1c6fa1a708567aa4588e92287447f0f05399d87402eec8aaf2e
JavaScript
939
23
/* Latvian (UTF-8) initialisation for the jQuery UI date picker plugin. */ /* @author Arturas Paleicikas <arturas.paleicikas@metasite.net> */ jQuery(function($){ $.datepicker.regional['lv'] = { closeText: 'Aizvērt', prevText: 'Iepr', nextText: 'Nāka', currentText: 'Šodien', monthNames: ['Janvāris','Februāris...
14ca80668bef591c78bb12fe4a79ad53cb2a53c1cb8b14d09eb3e37cb29fdc0f
JavaScript
940
22
/** * Select2 Croatian translation. * * @author Edi Modrić <edi.modric@gmail.com> * @author Uriy Efremochkin <efremochkin@uriy.me> */ (function ($) { "use strict"; $.extend($.fn.select2.defaults, { formatNoMatches: function () { return "Nema rezultata"; }, formatInputTooShort: function (...
728df7b862e3bac990779ee30e0091f11de81957a5ce3eda9a452dedf3160d66
JavaScript
941
23
/* Chinese initialisation for the jQuery UI date picker plugin. */ /* Written by Ressol (ressol@gmail.com). */ jQuery(function($){ $.datepicker.regional['zh-TW'] = { closeText: '關閉', prevText: '&#x3c;上月', nextText: '下月&#x3e;', currentText: '今天', monthNames: ['一月','二月','三月','四月','五月','六月', '七月','八月','九月','十...
1a707dc54f4a8e489b304fc9d97b19596e9deafca856075df78e5cf1e7f71a00
JavaScript
943
37
import Sse3dSelector from "./Sse3dSelector"; export default class extends Sse3dSelector { mouseDown(ev) { if (ev.which == 3) { this.pushPoint(ev.offsetX, ev.offsetY); this.startX = ev.offsetX; this.startY = ev.offsetY; } } mouseUp(ev) { if (ev.w...
8e4d137245d5e9db6b57fe5af2665bd556498349a237d9d1559e313945e339e1
JavaScript
947
23
/* Chinese initialisation for the jQuery UI date picker plugin. */ /* Written by Cloudream (cloudream@gmail.com). */ jQuery(function($){ $.datepicker.regional['zh-CN'] = { closeText: '关闭', prevText: '&#x3c;上月', nextText: '下月&#x3e;', currentText: '今天', monthNames: ['一月','二月','三月','四月','五月','六月', '七月','八月','...
2daad7ab8add9b2dffb8d9468e00133935e9487bb1b5461e91e52af1c6591af5
JavaScript
951
23
/* Estonian initialisation for the jQuery UI date picker plugin. */ /* Written by Mart Sõmermaa (mrts.pydev at gmail com). */ jQuery(function($){ $.datepicker.regional['et'] = { closeText: 'Sulge', prevText: 'Eelnev', nextText: 'Järgnev', currentText: 'Täna', monthNames: ['Jaanuar','Veebruar','Märts','Aprill...
3638fdd721b879fb0dad5af2bad0bc2f48783723774f6fcafbf52771bdcd257a
JavaScript
953
53
/* globals Chart:false, feather:false */ (function () { 'use strict' feather.replace() // Graphs var ctx = document.getElementById('myChart') // eslint-disable-next-line no-unused-vars var myChart = new Chart(ctx, { type: 'line', data: { labels: [ 'Sunday', 'Monday', ...
58ae39bb39a64c18a7fc9a25e59cf906b9b6c3b20a5968eb6c58fe3e14b8d263
JavaScript
960
23
/* Lithuanian (UTF-8) initialisation for the jQuery UI date picker plugin. */ /* @author Arturas Paleicikas <arturas@avalon.lt> */ jQuery(function($){ $.datepicker.regional['lt'] = { closeText: 'Uždaryti', prevText: '&#x3c;Atgal', nextText: 'Pirmyn&#x3e;', currentText: 'Šiandien', monthNames: ['Sausis','Vasa...
b13f1e7b5fc051d290c856f24cc55dfffa4a455e175ced8edb871459923ce045
JavaScript
965
33
$(document).ready(function() { /* If we're viewing a tag or branch, don't display it in the revision box */ var branch_selected = $('#branch').length > 0 && $('#rev').val() == $('#branch').val(); var tag_selected = $('#tag').length > 0 && $('#rev').val() == $('#tag').val(); if (branch_selected || tag_sel...
123ab09e9e254f4840bc427bb7075a29584ec7a770dbc5952ff90bdb6c1a993b
JavaScript
975
16
jsToolBar.strings = {}; jsToolBar.strings['Strong'] = 'Жирный'; jsToolBar.strings['Italic'] = 'Курсив'; jsToolBar.strings['Underline'] = 'Подчеркнутый'; jsToolBar.strings['Deleted'] = 'Зачеркнутый'; jsToolBar.strings['Code'] = 'Вставка кода'; jsToolBar.strings['Heading 1'] = 'Заголовок 1'; jsToolBar.strings['Heading 2'...
b1c419a5444dfe0e3feb2c6d9269439dea6bf890a867e1fdde00b19fc6e04954
JavaScript
975
23
/* Finnish initialisation for the jQuery UI date picker plugin. */ /* Written by Harri Kilpiö (harrikilpio@gmail.com). */ jQuery(function($){ $.datepicker.regional['fi'] = { closeText: 'Sulje', prevText: '&#xAB;Edellinen', nextText: 'Seuraava&#xBB;', currentText: 'T&#xE4;n&#xE4;&#xE4;n', monthNames: ['Tammik...
09293d0cf867b4c72aacef0ae1fbc7088c00eeccedb19008af44ec7ba7bf47ee
JavaScript
980
23
/* Brazilian initialisation for the jQuery UI date picker plugin. */ /* Written by Leonildo Costa Silva (leocsilva@gmail.com). */ jQuery(function($){ $.datepicker.regional['pt-BR'] = { closeText: 'Fechar', prevText: '&#x3c;Anterior', nextText: 'Pr&oacute;ximo&#x3e;', currentText: 'Hoje', monthNames: ['Janeir...
7cbe21978132c7defd5691d0c8cb651f3759a5b51022ad1bd98aa1979787b985
JavaScript
989
24
/* Slovenian initialisation for the jQuery UI date picker plugin. */ /* Written by Jaka Jancar (jaka@kubje.org). */ /* c = &#x10D;, s = &#x161; z = &#x17E; C = &#x10C; S = &#x160; Z = &#x17D; */ jQuery(function($){ $.datepicker.regional['sl'] = { closeText: 'Zapri', prevText: '&lt;Prej&#x161;nji', nextText: 'Nas...
4dfe6442bfdc068bd4bc11b9f42a4e214bee58642f7b912966f0fb508ac8ca29
JavaScript
990
30
// Create service client module using ES6 syntax. //import { S3Client } from "@aws-sdk/client-s3"; // Set the AWS Region. //const REGION = "us-east-1"; // Create an Amazon S3 service client object. //const s3Client = new S3Client({ region: REGION }); //export { s3Client }; // Import required AWS SDK clients an...
710f0d809d0415772fae74489ca11c6e446c7400a53e3e13aa54785d58865634
JavaScript
991
26
/* Romanian initialisation for the jQuery UI date picker plugin. * * Written by Edmond L. (ll_edmond@walla.com) * and Ionut G. Stan (ionut.g.stan@gmail.com) */ jQuery(function($){ $.datepicker.regional['ro'] = { closeText: 'Închide', prevText: '&laquo; Luna precedentă', nextText: 'Luna următoare &raquo;', ...
c8d315ed700da62b2a6f26dc4177b4c862c92c4dc1bf671a24e39e55bbe18b37
JavaScript
996
17
/** * Select2 Serbian translation. * * @author Limon Monte <limon.monte@gmail.com> */ (function ($) { "use strict"; $.extend($.fn.select2.defaults, { formatNoMatches: function () { return "Ništa nije pronađeno"; }, formatInputTooShort: function (input, min) { var n = min - input.length; re...
67fa09bf3d86e043d8fb831f269c23f6a3ca18aa3022343465794bcc55e26767
JavaScript
1,001
17
/** * Select2 Thai translation. * * Author: Atsawin Chaowanakritsanakul <joke@nakhon.net> */ (function ($) { "use strict"; $.extend($.fn.select2.defaults, { formatNoMatches: function () { return "ไม่พบข้อมูล"; }, formatInputTooShort: function (input, min) { var n = min - input.length; retur...
ae0b0d23c7654063e4ae79097636ee6bf4dd5ed25b0589d6e8cd9a04117f2e75
JavaScript
1,002
17
/** * Select2 Macedonian translation. * * Author: Marko Aleksic <psybaron@gmail.com> */ (function ($) { "use strict"; $.extend($.fn.select2.defaults, { formatNoMatches: function () { return "Нема пронајдено совпаѓања"; }, formatInputTooShort: function (input, min) { var n = min - input.len...
140bde630e2d5551768fff1a03ed188ffb55cdfb465f2c02e3f549cd5e0f67a5
JavaScript
1,016
17
/** * Select2 Georgian (Kartuli) translation. * * Author: Dimitri Kurashvili dimakura@gmail.com */ (function ($) { "use strict"; $.extend($.fn.select2.defaults, { formatNoMatches: function () { return "ვერ მოიძებნა"; }, formatInputTooShort: function (input, min) { var n = min - input.lengt...
3bf66d5caef7d6f0399861c60ba679c0b0f289af1547a32a847f27bb92a4a803
JavaScript
1,016
23
/* Hebrew initialisation for the UI Datepicker extension. */ /* Written by Amir Hardon (ahardon at gmail dot com). */ jQuery(function($){ $.datepicker.regional['he'] = { closeText: 'סגור', prevText: '&#x3c;הקודם', nextText: 'הבא&#x3e;', currentText: 'היום', monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','...
e2eeab53ca9b34575118bb66d8ba31c867da00717648586a5034dbafabc4cba7
JavaScript
1,019
18
/** * Select2 Bulgarian translation. * * @author Lubomir Vikev <lubomirvikev@gmail.com> * @author Uriy Efremochkin <efremochkin@uriy.me> */ (function ($) { "use strict"; $.extend($.fn.select2.defaults, { formatNoMatches: function () { return "Няма намерени съвпадения"; }, formatInputToo...
4257e5b6a49b4409850d0c44cd8268e2146d9a264810f214c1a87f47463aeba7
JavaScript
1,024
26
define( [ "../core" ], function( jQuery ) { "use strict"; // Register as a named AMD module, since jQuery can be concatenated with other // files that may use define, but not via a proper concatenation script that // understands anonymous AMD modules. A named AMD is safest and most robust // way to register. Lowerca...
bf6d95724f1489b62c2450c5d32f346eb14102fe239c9f1530b8d6045da0eb87
JavaScript
1,026
25
/* French initialisation for the jQuery UI date picker plugin. */ /* Written by Keith Wood (kbwood{at}iinet.com.au), Stéphane Nahmani (sholby@sholby.net), Stéphane Raimbault <stephane.raimbault@gmail.com> */ jQuery(function($){ $.datepicker.regional['fr'] = { closeText: 'Fermer', prevTe...
cc8b4ef9fefe4c0961bb8c6a43cc81ba52ca5507dbc474caf843c21854b714da
JavaScript
1,028
22
/** * Select2 Polish translation. * * @author Jan Kondratowicz <jan@kondratowicz.pl> * @author Uriy Efremochkin <efremochkin@uriy.me> */ (function ($) { "use strict"; $.extend($.fn.select2.defaults, { formatNoMatches: function () { return "Brak wyników"; }, formatInputTooShort: function...
9b0166bf58c82bba315e5d040087d4454aa1f2ad95de11a145f486216a4ddc37
JavaScript
1,034
35
define( [ "../var/document", "../var/support" ], function( document, support ) { "use strict"; ( function() { var fragment = document.createDocumentFragment(), div = fragment.appendChild( document.createElement( "div" ) ), input = document.createElement( "input" ); // Support: Android 4.0 - 4.3 only // Chec...
0a77ee131e484e69071036179569e4600f4074475d7d9e41bd339fb09ec0a78b
JavaScript
1,036
39
import Sse3dSelector from "./Sse3dSelector"; export default class extends Sse3dSelector { mouseDown(ev) { if (ev.which == 3) { this.pushPoint(ev.offsetX, ev.offsetY); this.startX = ev.offsetX; this.startY = ev.offsetY; } } mouseUp(ev) { if (ev.w...
b403372d78cd88bb53ba4d0d874986c3e9f6f9fd8f7992f377b8fbccecf9da11
JavaScript
1,037
23
/* Serbian i18n for the jQuery UI date picker plugin. */ /* Written by Dejan Dimić. */ jQuery(function($){ $.datepicker.regional['sr'] = { closeText: 'Затвори', prevText: '&#x3c;', nextText: '&#x3e;', currentText: 'Данас', monthNames: ['Јануар','Фебруар','Март','Април','Мај','Јун', 'Јул','Август','Септемба...
c19c65ba3ae054c6260e51b7ea8bdf271772cfae383a86bae2d3e5afa6cc4858
JavaScript
1,066
17
/** * Select2 Greek translation. * * @author Uriy Efremochkin <efremochkin@uriy.me> */ (function ($) { "use strict"; $.extend($.fn.select2.defaults, { formatNoMatches: function () { return "Δεν βρέθηκαν αποτελέσματα"; }, formatInputTooShort: function (input, min) { var n = min - input.len...
f98aee0381c3adbb0945a40ab216286faa88c9b905f3250577398f7471dd8d37
JavaScript
1,076
35
import {createMuiTheme} from '@material-ui/core/styles'; import pink from '@material-ui/core/colors/pink'; import red from '@material-ui/core/colors/red'; export default class SseTheme { constructor() { this.theme = createMuiTheme({ palette: { type: "dark", main:...
3a486fb93e516932b249ab22cc2a64e16f2f09ae165fe1a64912078a4b305acc
JavaScript
1,082
24
/** * Select2 Lithuanian translation. * * @author CRONUS Karmalakas <cronus dot karmalakas at gmail dot com> * @author Uriy Efremochkin <efremochkin@uriy.me> */ (function ($) { "use strict"; $.extend($.fn.select2.defaults, { formatNoMatches: function () { return "Atitikmenų nerasta"; }, ...
f81693007f7fc3e6e5db886dd73c1b1549a11e3550b10a7c5f1802ccb58844fb
JavaScript
1,094
23
/* Vietnamese initialisation for the jQuery UI date picker plugin. */ /* Translated by Le Thanh Huy (lthanhhuy@cit.ctu.edu.vn). */ jQuery(function($){ $.datepicker.regional['vi'] = { closeText: 'Đóng', prevText: '&#x3c;Trước', nextText: 'Tiếp&#x3e;', currentText: 'Hôm nay', monthNames: ['Tháng Một', 'Tháng H...
cee70a212871b43b8f6be655c9ecd14c10d51d2fa2b96e28fc906ea4b9599fa9
JavaScript
1,095
21
/** * Select2 Russian translation. * * @author Uriy Efremochkin <efremochkin@uriy.me> */ (function ($) { "use strict"; $.extend($.fn.select2.defaults, { formatNoMatches: function () { return "Совпадений не найдено"; }, formatInputTooShort: function (input, min) { return "Пожалуйста, введит...
bbe192de220d8e55f7afe225145b05807e6d1e80ed05666140d8164e88fe9906
JavaScript
1,114
37
const http = require('http'); const fs = require('fs'); const path = require('path'); const PORT = process.env.PORT || 3001; const MIME = { '.html': 'text/html; charset=utf-8', '.css': 'text/css', '.js': 'application/javascript', '.png': 'image/png', '.ico': 'image/x-icon', }; const server = http.crea...
3c511148ac854cc416c0e247fe39481b5e97dd6b1a0efd146c713cc63eda9626
JavaScript
1,116
23
/* Russian (UTF-8) initialisation for the jQuery UI date picker plugin. */ /* Written by Andrew Stromnov (stromnov@gmail.com). */ jQuery(function($){ $.datepicker.regional['ru'] = { closeText: 'Закрыть', prevText: '&#x3c;Пред', nextText: 'След&#x3e;', currentText: 'Сегодня', monthNames: ['Январь','Февраль','...
da81d64a0c5f9c930485d15f978d1de59b5a05d6eaaf5c27da66f527d9e770fd
JavaScript
1,117
22
/** * Select2 Ukrainian translation. * * @author bigmihail <bigmihail@bigmir.net> * @author Uriy Efremochkin <efremochkin@uriy.me> */ (function ($) { "use strict"; $.extend($.fn.select2.defaults, { formatNoMatches: function () { return "Нічого не знайдено"; }, formatInputTooShort: funct...
53f18197ad0852fb321ce9259c9327fe2fc035067f5ce7c1f74246a8f9bc8502
JavaScript
1,138
37
Qualtrics.SurveyEngine.addOnload(function() { var leftEmojiURL = "https://raw.githubusercontent.com/albertobeta/AffectiveSlider/master/PNGs/AS_unhappy.png" var rightEmojiURL = "https://raw.githubusercontent.com/albertobeta/AffectiveSlider/master/PNGs/AS_happy.png" var intensityCue = "https://raw.githubusercontent....
01d0862a614781d90d61ab46ff46ddfc09baacfc83da79d68a3a11d7e58cd38f
JavaScript
1,143
37
Qualtrics.SurveyEngine.addOnload(function() { var leftEmojiURL = "https://raw.githubusercontent.com/albertobeta/AffectiveSlider/master/PNGs/AS_sleepy.png" var rightEmojiURL = "https://raw.githubusercontent.com/albertobeta/AffectiveSlider/master/PNGs/AS_wideawake.png" var intensityCue = "https://raw.githubuserconte...
7808b98c20392e688c19bbe7307fd5ef1dc8d9258955f165592b6de52015631b
JavaScript
1,145
19
/** * Select2 Persian translation. * * Author: Ali Choopan <choopan@arsh.co> * Author: Ebrahim Byagowi <ebrahim@gnu.org> */ (function ($) { "use strict"; $.extend($.fn.select2.defaults, { formatMatches: function (matches) { return matches + " نتیجه موجود است، کلیدهای جهت بالا و پایین را برای گشتن...
839f472e61252fe128cb2c0ffd1754b2657606abfa231b5425df38e8893a93b3
JavaScript
1,159
48
'use strict' const path = require('path') const babel = require('rollup-plugin-babel') const resolve = require('rollup-plugin-node-resolve') const banner = require('./banner.js') const BUNDLE = process.env.BUNDLE === 'true' let fileDest = 'bootstrap.js' const external = ['jquery', 'popper.js'] const plugins ...
d33a70be50fed0b534d976add9f4b45fdd3c7c49edf6ce9aa89ccdc5f564ad6a
JavaScript
1,160
43
define( [ "../var/document" ], function( document ) { "use strict"; var preservedScriptAttributes = { type: true, src: true, nonce: true, noModule: true }; function DOMEval( code, node, doc ) { doc = doc || document; var i, val, script = doc.createElement( "script" ); script.text = code; if ...
bcbabfda9da8084ca1146952b034c2ad23ff3d8be0b2b6cb38bcc4d2ade8a2af
JavaScript
1,165
59
/* Persian (Farsi) Translation for the jQuery UI date picker plugin. */ /* Javad Mowlanezhad -- jmowla@gmail.com */ /* Jalali calendar should supported soon! (Its implemented but I have to test it) */ jQuery(function($) { $.datepicker.regional['fa'] = { closeText: 'بستن', prevText: '&#x3C;قبلی', nextText: 'بعدی&...
ecc16fde6136d7ebe484a21feefadcc7e933649812762ef8bb5846cb64fe3cc4
JavaScript
1,182
24
/* Ukrainian (UTF-8) initialisation for the jQuery UI date picker plugin. */ /* Written by Maxim Drogobitskiy (maxdao@gmail.com). */ /* Corrected by Igor Milla (igor.fsp.milla@gmail.com). */ jQuery(function($){ $.datepicker.regional['uk'] = { closeText: 'Закрити', prevText: '&#x3c;', nextText: '&#x3e;', curren...
057c4b065f9037b7d340eed3e790f4d7857629a5d4f584fd9683521b8ea0a488
JavaScript
1,198
23
/* Greek (el) initialisation for the jQuery UI date picker plugin. */ /* Written by Alex Cicovic (http://www.alexcicovic.com) */ jQuery(function($){ $.datepicker.regional['el'] = { closeText: 'Κλείσιμο', prevText: 'Προηγούμενος', nextText: 'Επόμενος', currentText: 'Τρέχων Μήνας', monthNames: ['Ιανουάριος','Φ...
61457aa84bf449585ac1cf4fa50848f50c58c988818f7da7193c3ff25b555d6b
JavaScript
1,208
24
/* Bulgarian initialisation for the jQuery UI date picker plugin. */ /* Written by Stoyan Kyosev (http://svest.org). */ jQuery(function($){ $.datepicker.regional['bg'] = { closeText: 'затвори', prevText: '&#x3c;назад', nextText: 'напред&#x3e;', nextBigText: '&#x3e;&#x3e;', currentT...
6cb2c01727ea7e3dc114197a2042fad12e286379389ee75c0ab314086b9c8d40
JavaScript
1,251
43
/** * Select2 Basque translation. * * Author: Julen Ruiz Aizpuru <julenx at gmail dot com> */ (function ($) { "use strict"; $.extend($.fn.select2.defaults, { formatNoMatches: function () { return "Ez da bat datorrenik aurkitu"; }, formatInputTooShort: function (input, min)...
14b3f833c0856c641c26946ade602e8595a39afba4884a0523d52fad9ecee59a
JavaScript
1,275
23
/* Thai initialisation for the jQuery UI date picker plugin. */ /* Written by pipo (pipo@sixhead.com). */ jQuery(function($){ $.datepicker.regional['th'] = { closeText: 'ปิด', prevText: '&laquo;&nbsp;ย้อน', nextText: 'ถัดไป&nbsp;&raquo;', currentText: 'วันนี้', monthNames: ['มกราคม','กุมภาพันธ์','มีนาคม','เม...
914608cebdc93eb779dc3afd6e5668427a9323dcb259dfb859ca3a5428cd5965
JavaScript
1,277
43
/** * Select2 Galician translation * * Author: Leandro Regueiro <leandro.regueiro@gmail.com> */ (function ($) { "use strict"; $.extend($.fn.select2.defaults, { formatNoMatches: function () { return "Non se atoparon resultados"; }, formatInputTooShort: function (input, m...
1b6d02f909ccab91a8a6b820a8e231e8581a3dffbe3acf9ec435f7871e7a019f
JavaScript
1,279
14
/*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net) * Licensed under the MIT License (LICENSE.txt). * * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers. * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix. * Thanks to: Seamus Leahy for adding deltaX and deltaY * *...
f8969f2e8f6231f672aff4967408c61237ed52ab936b6c52eba8a0fe6d7ca542
JavaScript
1,284
34
define( [ "../../core", "../../core/isAttached" // css is assumed ], function( jQuery, isAttached ) { "use strict"; // isHiddenWithinTree reports if an element has a non-"none" display style (inline and/or // through the CSS cascade), which is useful in deciding whether or not to make it visible. // It differs...
e1b109e96d3f85025f4277180647792aa4190edf431f4b455bbebaf89a968067
JavaScript
1,296
23
/* Arabic Translation for jQuery UI date picker plugin. */ /* Khaled Alhourani -- me@khaledalhourani.com */ /* NOTE: monthNames are the original months names and they are the Arabic names, not the new months name فبراير - يناير and there isn't any Arabic roots for these months */ jQuery(function($){ $.datepicker.regio...
7e02770924f167b9bd43461466e73a993397c93ec9ed1db8d512337adc44e443
JavaScript
1,309
34
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/DetailsView.js function DetailsView() { this.pageIndex = null; this.dataKeys = null; this.createPropertyString = DetailsView_createPropertyString; this.setStateField = DetailsView_setStateValue; this.getHiddenFieldContents = DetailsView_getHiddenField...
9459bf4f3a6798e3658a7df5e78193f51cb3ec337066d241f08eb6a5aef59b69
JavaScript
1,311
17
/** * Select2 Arabic translation. * * Author: Adel KEDJOUR <adel@kedjour.com> */ (function ($) { "use strict"; $.extend($.fn.select2.defaults, { formatNoMatches: function () { return "لم يتم العثور على مطابقات"; }, formatInputTooShort: function (input, min) { var n = min - input.length; if ...
b187a9d9b81a5016011c0a54476bf8a710e9a0aecaef692a33469044a3f74dac
JavaScript
1,311
72
define( [ "../core", "../core/toType", "../var/isFunction" ], function( jQuery, toType, isFunction ) { "use strict"; // Multifunctional method to get and set values of a collection // The value/s can optionally be executed if it's a function var access = function( elems, fn, key, value, chainable, emptyGet, raw ) ...
207de052cb3d12eb83a809970a1aa825f004379a7a6ed3a1957660cae6f369ad
JavaScript
1,390
31
/* * Copyright (c) 2016-2017 Martin Donath <martin.donath@squidfunk.com> * * 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 restriction, including without limitation the * rights...
f1542a4fceb231e6d8985f8c58218cd164a0b571dba31e0c2700f2064757663f
JavaScript
1,392
31
/* * Copyright (c) 2016-2017 Martin Donath <martin.donath@squidfunk.com> * * 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 restriction, including without limitation the * rights...
4f27bf070968492bc4e77a667972cf4757917735a1f3f183a0c314cfaa5f8458
JavaScript
1,393
31
/* * Copyright (c) 2016-2017 Martin Donath <martin.donath@squidfunk.com> * * 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 restriction, including without limitation the * rights...
c7b1768954693c3afc80e78064ddfe3c3e2fb3dd3042719d3abfef035c89bd84
JavaScript
1,399
31
/* * Copyright (c) 2016-2017 Martin Donath <martin.donath@squidfunk.com> * * 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 restriction, including without limitation the * rights...
d7de7fe622176c7e5ec68c396152efe186393117e9ca03b191b033a423e6dece
JavaScript
1,417
74
jQuery(document).ready(function($) { // hide messages $("#error").hide(); $("#success").hide(); // on submit... $("#contactForm #submit").click(function() { $("#error").hide(); //required: //name var name = $("input#name").val(); if(name == ""){ $("#error").fadeIn().text("Name required."); ...
3ba7822b663cb134c3c86cb24e0798a4c7fa156d5e0518671893bc211f1be193
JavaScript
1,424
29
/* * Copyright (c) 2016-2017 Martin Donath <martin.donath@squidfunk.com> * * 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 restriction, including without limitation the * rights...
9b2a79a680ece01e10a1c29c1c134c19e537c7f26ebefc8f0ac5551b960b8ad7
JavaScript
1,426
68
// Validation for Shortcode contact form $(document).ready(function(){ // hide messages $("#sc-contact-form .error").hide(); $("#sc-contact-form .success").hide(); // on submit... $("#sc-contact-form #submit").click(function() { $("#sc-contact-form .error").hide(); //required: //name va...
5886081a849169bd6b268450534b7b88d568b7462ac80ebc412cf3cc3ae437ae
JavaScript
1,433
33
/* * Copyright (c) 2016-2017 Martin Donath <martin.donath@squidfunk.com> * * 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 restriction, including without limitation the * rights...
d0c5a3cc616d147153663737346e9ee8eeb569e8afa37a6ad57e5433e40d0054
JavaScript
1,443
46
import Paper from "paper"; import $ from "jquery"; export default class SseZoom { constructor(editor) { this.editor = editor; this.factor = 1.25; this.maxZoom = 80; $(Paper.project.view.element).on("wheel", (event) => { event = event.originalEvent; const mous...
cd55cb9aeea2985199714fdc9bf69edad4e14ab97bc0c4f883117b50573608a0
JavaScript
1,454
33
/* * Copyright (c) 2016-2017 Martin Donath <martin.donath@squidfunk.com> * * 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 restriction, including without limitation the * rights...
b7c46539675505f0dc13bad07c13dc00cbce12c922ab9ac0e502fa50490a6ff0
JavaScript
1,455
33
/* * Copyright (c) 2016-2017 Martin Donath <martin.donath@squidfunk.com> * * 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 restriction, including without limitation the * rights...
57ec79b43f30b470ff1fbbcd2e26eba6d1c5faa0512ffa9eb9e4ad58eba23182
JavaScript
1,466
32
/* * Copyright (c) 2016-2017 Martin Donath <martin.donath@squidfunk.com> * * 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 restriction, including without limitation the * rights...
d124277b491d7994ffdd3de722cc76b93e9c216babcacf0fca10b633ebc1380b
JavaScript
1,467
36
//CdnPath=http://ajax.aspnetcdn.com/ajax/4.5.1/1/GridView.js function GridView() { this.pageIndex = null; this.sortExpression = null; this.sortDirection = null; this.dataKeys = null; this.createPropertyString = GridView_createPropertyString; this.setStateField = GridView_setStateValue; this....
f9513bfa8389a0373c280a08aec8c23af8b8a8e2d18de0aced68436d60aaf3ad
JavaScript
1,477
78
define( [ "./core", "./var/isFunction", "./core/init", "./manipulation", // clone "./traversing" // parent, contents ], function( jQuery, isFunction ) { "use strict"; jQuery.fn.extend( { wrapAll: function( html ) { var wrap; if ( this[ 0 ] ) { if ( isFunction( html ) ) { html = html.call( this[ 0 ] ...
531cb37dc8045d1d022061f49480b8d8946cf13fa5435cde1431bd32b2743e51
JavaScript
1,486
35
/* * Copyright (c) 2016-2017 Martin Donath <martin.donath@squidfunk.com> * * 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 restriction, including without limitation the * rights...
f1f8a40bc00180233e14ee1abd58ae673db47b97212a5252f86493ea52f779da
JavaScript
1,488
47
/** * Short documentation and workflow for 3D peak picking and fitting in JavaScript (WASM) */ async function run3DPickAndFit(wasmModule, ft3Buffer) { // 1. Initialize the spectrum_fit_3d object const app = new wasmModule.spectrum_fit_3d(); // 2. Configure noise and scales // set_noise_scales(noise_...
978b2a2ffcd6d538eccc080154aef8ddf92280733518513404117155c78f6c90
JavaScript
1,504
2
/*! markdown-it-sup 1.0.0 https://github.com//markdown-it/markdown-it-sup @license MIT */ !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var r;r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"...
82d27d9b8db4c3063aa2a0155603f028c448cc9f248c56f97a17d5f2a65c7f29
JavaScript
1,506
2
/*! markdown-it-sub 1.0.0 https://github.com//markdown-it/markdown-it-sub @license MIT */ !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var r;r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"...
0f1df30cc41a0c1c6cd74890170341fb466f2bf493ec5b4935a72124a5bede52
JavaScript
1,508
34
import {Meteor} from "meteor/meteor"; import shell from "shelljs"; import serveStatic from "serve-static"; import bodyParser from "body-parser"; import {createWriteStream, lstatSync, readdirSync, readFile, readFileSync} from "fs"; import {basename, extname, join} from "path"; import configurationFile from "./config"; c...
59f8db212c1cd15961af6dbcc2b97ebfff6605326221c94781900615618b0dd5
JavaScript
1,509
36
/* * Copyright (c) 2016-2017 Martin Donath <martin.donath@squidfunk.com> * * 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 restriction, including without limitation the * rights...
e379bb4ea2a3a67bafb866bf4147371f7f6dc0f4e8f13ecbe950c6580668a338
JavaScript
1,510
35
/* * Copyright (c) 2016-2017 Martin Donath <martin.donath@squidfunk.com> * * 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 restriction, including without limitation the * rights...
63754fc99853612319bbd01a2a8f11ab9024c78224f4d2d42d50b535ee846aa2
JavaScript
1,512
55
define( [ "../core", "../data/var/dataPriv", "./support", "../event", "./trigger" ], function( jQuery, dataPriv, support ) { "use strict"; // Support: Firefox <=44 // Firefox doesn't have focus(in | out) events // Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 // // Support: Chrome <=48 - ...
092f726c589ab5d23fc73faff0c795bf603dd057deb7ebef027f9d662db60925
JavaScript
1,517
10
/* Copyright (c) 2006 Brandon Aaron (http://brandonaaron.net) * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. * * $LastChangedDate: 2007-06-19 20:25:28 -0500 (Tue, 19 Jun 2007) $ * $Rev: 2111 $ * * Versio...
dde50928e63693fd8831dfcedc9744dd26c58c572ea31f3d92f8773f27d7bb15
JavaScript
1,522
50
/* * @FilePath: \SimSwap\docs\js\which-image.js * @Author: Ziang Liu * @Date: 2021-07-03 16:34:56 * @LastEditors: AceSix * @LastEditTime: 2021-07-20 00:46:27 * Copyright (C) 2021 SJTU. All rights reserved. */ function select_source(number) { var items = ['anni', 'chenglong', 'zhoujielun', 'zhuyin']; v...
66ab40a5866cf31779104eb041bb6243d5c10e27b665fd436039fdaa0931dab7
JavaScript
1,524
38
//from https://stackoverflow.com/questions/8816729/javascript-equivalent-for-inverse-normal-function-eg-excels-normsinv-or-nor function NormSInv(p) { var a1 = -39.6968302866538, a2 = 220.946098424521, a3 = -275.928510446969; var a4 = 138.357751867269, a5 = -30.6647980661472, a6 = 2.50662827745924; var b1 =...
02fe64135449f3e313799f50540e3d3eb9f152e80050e8ceb97373c99b832e20
JavaScript
1,538
35
/* * Copyright (c) 2016-2017 Martin Donath <martin.donath@squidfunk.com> * * 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 restriction, including without limitation the * rights...
07191ebeb4c3d5a9c148961b90e4d377ea092ae0b674baf495873fb9b4049def
JavaScript
1,549
33
/* Copyright (C) 2012 Kaitseministeerium This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in t...
8c5eb437eec6026132ee1f6e14bf69eea38559c5fc6c911b01ad9105b57a120a
JavaScript
1,553
35
/* * Copyright (c) 2016-2017 Martin Donath <martin.donath@squidfunk.com> * * 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 restriction, including without limitation the * rights...
97634ffc7e725e18a14b10ea545717c8a1bf899fec0197ccd87345eba81e3f18
JavaScript
1,554
59
// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT // IT'S ALL JUST JUNK FOR OUR DOCS! // ++++++++++++++++++++++++++++++++++++++++++ (function () { 'use strict' if (!window.docsearch) { return } var inputElement = document.getElementById('search-input') var siteDocsVersion = inputElement.getAttribute('data-...
51139b1f5d979f01cc403e4529c173fac7933a74d615613be18ca50d7ef6770a
JavaScript
1,562
35
/* * Copyright (c) 2016-2017 Martin Donath <martin.donath@squidfunk.com> * * 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 restriction, including without limitation the * rights...
ccdc102fdc81cce9e49c216949fb846d54a320b32da30417672506fb0a2e4e1b
JavaScript
1,563
35
/* * Copyright (c) 2016-2017 Martin Donath <martin.donath@squidfunk.com> * * 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 restriction, including without limitation the * rights...
3510f31d8b7eec46adc3d5a78999ea81a2bf8c4da2b60fcf2c88a2c73b8d15b7
JavaScript
1,565
82
/* eslint-env node */ /* eslint-disable camelcase */ const browsers = { safariMac: { base: 'BrowserStack', os: 'OS X', os_version: 'High Sierra', browser: 'Safari', browser_version: 'latest' }, chromeMac: { base: 'BrowserStack', os: 'OS X', os_version: 'High Sierra', browser :...
83b3c96cda1876ca8ded42a4eb89798f64d685cfc082ea0d2eef7101e086ea65
JavaScript
1,566
36
/* * Copyright (c) 2016-2017 Martin Donath <martin.donath@squidfunk.com> * * 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 restriction, including without limitation the * rights...
b2a4148388561c403fc074ec22e1648b134af8042316fcccc7d3b313eddfe281
JavaScript
1,567
1
const domain=document.location.origin,data_url=domain+"/get_data",trace_url=domain+"/get_trace";let trace_data={};async function getData(t){let e=await fetch(t);return await e.json()}function updateColour(t,e){let a=[];for(let e=0;e<t;e++)a.push("#ff7f0e");for(let r=t;r<e;r++)a.push("#000000");let r={marker:{color:a,si...
7e63cf07d97f892b90b8870f1ef368542eb61b3b9133ef4cd079199a67a6f9c8
JavaScript
1,583
36
/* * Copyright (c) 2016-2017 Martin Donath <martin.donath@squidfunk.com> * * 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 restriction, including without limitation the * rights...
b19cb8f3d2855632624eda0b4c618735d47ceb4d8c002d7d488b64c11033327f
JavaScript
1,594
38
/* * Copyright (c) 2016-2017 Martin Donath <martin.donath@squidfunk.com> * * 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 restriction, including without limitation the * rights...
c2875443f9feccca528993eb11f55276362614fcedba007f7d9df2ca0efe69ea
JavaScript
1,604
65
define( [ "../core", "../var/document", "./var/rsingleTag", "../manipulation/buildFragment", // This is the only module that needs core/support "./support" ], function( jQuery, document, rsingleTag, buildFragment, support ) { "use strict"; // Argument "data" should be string of html // context (optional): If s...
f64ab20fa3210a9a0228fdecb89164a5771f0fff0c7bd3aa7ca5c684c4d0217b
JavaScript
1,616
3
/*! markdown-it-smartarrows 1.0.0 https://github.com//adam-p/markdown-it-smartarrows @license MIT */ /*! modified by Kartik Visweswaran for krajee-markdown-editor */ !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{...
07a7c0ae5a91038f0e4c0556544d25aa3716f3698cc1f8dae0aa234616cbf9be
JavaScript
1,619
34
/* * Copyright (c) 2016-2017 Martin Donath <martin.donath@squidfunk.com> * * 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 restriction, including without limitation the * rights...
5df6756227c52c36eb78db6ca727f3453d355149a7724eae4ce244e02318d520
JavaScript
1,625
35
/* * Copyright (c) 2016-2017 Martin Donath <martin.donath@squidfunk.com> * * 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 restriction, including without limitation the * rights...
f774f1efb91a6fee17f062e2ca32e1f5a1a8349d12801733130db2e6945e3e95
JavaScript
1,637
74
define( [ "../core", "../var/document", "../ajax" ], function( jQuery, document ) { "use strict"; // Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) jQuery.ajaxPrefilter( function( s ) { if ( s.crossDomain ) { s.contents.script = false; } } ); // Install script dataType ...
00af6f8c7a3805d52d0c564dca6ef3fe2501a2699add1f73c41d98b283609b55
JavaScript
1,638
39
/* * Copyright (c) 2016-2017 Martin Donath <martin.donath@squidfunk.com> * * 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 restriction, including without limitation the * rights...