code
stringlengths
2
1.05M
repo_name
stringlengths
5
114
path
stringlengths
4
991
language
stringclasses
1 value
license
stringclasses
15 values
size
int32
2
1.05M
/*global todomvc */ (function () { 'use strict'; /** * The main controller for the app. The controller: * - retrieves and persists the model via the todoStorage service * - exposes the model to the template and provides event handlers */ todomvc.controller('TodoCtrl', function TodoCtrl($scope, $location, todoStora...
xtrasmal/adaptive-speech
demo/js/controllers/todoCtrl.js
JavaScript
mit
5,691
'use strict'; var gulp = require('gulp'); var shell = require('gulp-shell'); module.exports = function () { gulp.task('git-add', function () { return gulp.src('*.js', { read: false }).pipe(shell(['git ls-files --others docroot/sites/all | egrep \'.css|.js|.png|.map\' | xargs git add -f'])); }); };
six519/disclose.ph
gulp/git.js
JavaScript
mit
318
#!/usr/bin/env node 'use strict'; /** * bitcoind.js example */ process.title = 'bitcoind.js'; /** * daemon */ var daemon = require('../').daemon({ datadir: process.env.BITCOINDJS_DIR || '~/.bitcoin', }); daemon.on('ready', function() { console.log('ready'); }); daemon.on('tx', function(txid) { console.l...
bankonme/bitcoind.js
example/index.js
JavaScript
mit
502
var path = require('path'); var util = require('util'); var Item = require('./item'); var constants = process.binding('constants'); /** * A directory. * @constructor */ function Directory() { Item.call(this); /** * Items in this directory. * @type {Object.<string, Item>} */ this._items = {}; ...
wenjoy/homePage
node_modules/node-captcha/node_modules/canvas/node_modules/mocha/node_modules/mkdirp/node_modules/mock-fs/lib/directory.js
JavaScript
mit
2,300
// Copyright 2006 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
cbetheridge/simpleclassroom
static/third-party/closure-library/closure/goog/net/xhrio.js
JavaScript
mit
43,124
'use strict'; const Code = require('code'); const Constants = require('../../../../../../client/pages/admin/statuses/search/constants'); const FluxConstant = require('flux-constant'); const Lab = require('lab'); const Proxyquire = require('proxyquire'); const lab = exports.lab = Lab.script(); const stub = { ApiAc...
fahidRM/aqua-couch-test
test/client/pages/admin/statuses/search/actions.js
JavaScript
mit
4,225
version https://git-lfs.github.com/spec/v1 oid sha256:3e7e8daeb7e94086c854616e881862ffc0555684031d339b30c0b67afa82b530 size 492
yogeshsaroya/new-cdnjs
ajax/libs/bootstrap-datepicker/1.2.0-rc.1/js/locales/bootstrap-datepicker.et.min.js
JavaScript
mit
128
import { getCell, getColumnByCell, getRowIdentity } from './util'; import ElCheckbox from 'element-ui/packages/checkbox'; export default { components: { ElCheckbox }, props: { store: { required: true }, context: {}, layout: { required: true }, rowClassName: [String, Funct...
imyzf/element
packages/table/src/table-body.js
JavaScript
mit
7,259
var searchData= [ ['w',['w',['../structedda_1_1dist_1_1GMMTuple.html#a3f52857178189dcb76b5132a60c0a50a',1,'edda::dist::GMMTuple']]], ['weights',['weights',['../classedda_1_1dist_1_1JointGMM.html#a479a4af061d7414da3a2b42df3f2e87f',1,'edda::dist::JointGMM']]], ['width',['width',['../structBMPImage.html#a35875dd635e...
GRAVITYLab/edda
html/search/variables_15.js
JavaScript
mit
362
var Data = {}; Data.matrix = { valueName: 'Wert', stakeholdersName : 'Berührungs&#8203;gruppe', negativeCriteriaName : 'Negativ-Kriterien', values : [ 'Menschen&#8203;würde', 'Solidarität', 'Ökologische Nachhaltigkeit', 'Soziale Gerechtigkeit', 'Demokratische M...
sinnwerkstatt/common-good-online-balance
ecg_balancing/templates/ecg_balancing/dustjs/gwoe-matrix-data_en.js
JavaScript
mit
15,425
/** * Module dependencies. */ var finalhandler = require('finalhandler'); var flatten = require('./utils').flatten; var Router = require('./router'); var methods = require('methods'); var middleware = require('./middleware/init'); var query = require('./middleware/query'); var debug = require('debug')('express:appli...
wenjoy/homePage
node_modules/node-captcha/node_modules/canvas/node_modules/mocha/node_modules/mkdirp/node_modules/mock-fs/node_modules/rewire/node_modules/expect.js/node_modules/serve/node_modules/less-middleware/node_modules/express/lib/application.js
JavaScript
mit
10,240
'use strict'; var bitcore = require('bitcore-lib'); var $ = bitcore.util.preconditions; var _ = bitcore.deps._; var path = require('path'); var fs = require('fs'); var utils = require('../utils'); /** * Will return the path and bitcore-node configuration * @param {String} cwd - The absolute path to the current work...
braydonf/bitcore-node
lib/scaffold/find-config.js
JavaScript
mit
863
const DOUBLE_QUOTE_STRING_STATE = 'double-quote-string-state'; const SINGLE_QUOTE_STRING_STATE = 'single-quote-string-state'; const LINE_COMMENT_STATE = 'line-comment-state'; const BLOCK_COMMENT_STATE = 'block-comment-state'; const ETC_STATE = 'etc-state'; function extractComments(str) { let state = ETC_STATE; let...
glenngillen/dotfiles
.vscode/extensions/juanblanco.solidity-0.0.120/node_modules/solidity-comments-extractor/index.js
JavaScript
mit
2,960
var util = require('util'); /** * @class Recorder * @param {{retention: <Number>}} [options] */ var Recorder = function(options) { this._records = []; this._options = _.defaults(options || {}, { retention: 300, // seconds recordMaxSize: 200, // nb records jsonMaxSize: 50, format: '[{date} {l...
njam/CM
client-vendor/source/logger/handlers/recorder.js
JavaScript
mit
3,930
ReactDOM.render(React.createElement( 'div', null, React.createElement(Content, null) ), document.getElementById('content'));
azat-co/react-quickly
spare-parts/ch05-es5/logger/js/script.js
JavaScript
mit
130
export * from './components/ajax-bar/index.js' export * from './components/avatar/index.js' export * from './components/badge/index.js' export * from './components/banner/index.js' export * from './components/bar/index.js' export * from './components/breadcrumbs/index.js' export * from './components/btn/index.js' expor...
rstoenescu/quasar-framework
ui/src/components.js
JavaScript
mit
3,696
/* */ define(['exports', 'core-js', 'aurelia-pal', 'aurelia-history'], function (exports, _coreJs, _aureliaPal, _aureliaHistory) { 'use strict'; exports.__esModule = true; var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = prop...
mbroadst/aurelia-plunker
jspm_packages/npm/[email protected]/aurelia-history-browser.js
JavaScript
mit
10,044
/** * Copyright (c) 2015-present, Alibaba Group Holding Limited. * All rights reserved. * * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * @providesModule ReactNavigatorNavigationBarStylesAndroid */ 'use strict'; import buildStyleInterpolator from './polyfills/buildStyleInterpolator'; im...
typesettin/NativeCMS
node_modules/react-web/Libraries/Navigator/NavigatorNavigationBarStylesAndroid.js
JavaScript
mit
4,250
(function () { 'use strict'; /** This directive is used to render out the current variant tabs and properties and exposes an API for other directives to consume */ function tabbedContentDirective($timeout, $filter, contentEditingHelper, contentTypeHelper) { function link($scope, $element) { ...
umbraco/Umbraco-CMS
src/Umbraco.Web.UI.Client/src/common/directives/components/content/umbtabbedcontent.directive.js
JavaScript
mit
8,522
import { __decorate } from 'tslib'; import { NgModule } from '@angular/core'; import { ANGULARTICS2_TOKEN, RouterlessTracking, Angulartics2, Angulartics2OnModule } from 'angulartics2'; var Angulartics2RouterlessModule_1; let Angulartics2RouterlessModule = Angulartics2RouterlessModule_1 = class Angulartics2RouterlessMo...
cdnjs/cdnjs
ajax/libs/angulartics2/8.3.0/routerlessmodule/fesm2015/angulartics2-routerlessmodule.js
JavaScript
mit
907
define(['events', 'libraryBrowser', 'imageLoader', 'listView', 'emby-itemscontainer'], function (events, libraryBrowser, imageLoader, listView) { return function (view, params, tabContent) { var self = this; var data = {}; function getPageData(context) { var key = g...
7illusions/Emby
MediaBrowser.WebDashboard/dashboard-ui/scripts/songs.js
JavaScript
gpl-2.0
7,309
var armorSetPvPSuperior = new armorSetObject("pvpsuperior"); armorSetPvPSuperior.slotsArray = new Array(); t = 0; armorSetPvPSuperior.slotsArray[t] = "head"; t++; armorSetPvPSuperior.slotsArray[t] = "shoulder"; t++; armorSetPvPSuperior.slotsArray[t] = "chest"; t++; armorSetPvPSuperior.slotsArray[t] = "hands"; t++; ar...
borgotech/Infinity_MaNGOS
sql/Tools & Optional/Websites/I_CSwowd/pvpmini/shared/wow-com/includes-client/armorsets/en/pvpsuperior.js
JavaScript
gpl-2.0
49,796
var _ = require('../util') var config = require('../config') var Dep = require('./dep') var arrayMethods = require('./array') var arrayKeys = Object.getOwnPropertyNames(arrayMethods) require('./object') /** * Observer class that are attached to each observed * object. Once attached, the observer converts target * o...
jumpcakes/plunkett
wp-content/themes/genesis-sample/assets/js/bower_components/vue/src/observer/index.js
JavaScript
gpl-2.0
4,867
// Example taken from http://bl.ocks.org/mbostock/3883245 jQuery( document ).ready(function() { var margin = {top: 20, right: 20, bottom: 30, left: 50}, width = 620 - margin.left - margin.right, height = 330 - margin.top - margin.bottom; var parseDate = d3.time.format("%d-%b-%y").parse; var x = d3...
DmitryDrozdik/ppdorg
docroot/sites/all/modules/custom/ppgetstat/ppcc/plugins/content_types/ppcc_visualization.js
JavaScript
gpl-2.0
1,739
/** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE_AFL.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy...
T0MM0R/magento
web/js/mage/adminhtml/tabs.js
JavaScript
gpl-2.0
10,013
(function ($) { /** * Attaches double-click behavior to toggle full path of Krumo elements. */ Drupal.behaviors.devel = { attach: function (context, settings) { // Add hint to footnote $('.krumo-footnote .krumo-call').once().before('<img style="vertical-align: middle;" title="Click to expand. Double-click...
brharp/hjckrrh
profiles/ug/modules/ug/ug_demo/data/images/public/js/js_GWG8O3mHf8xRnabCEJIqQCLluQ1UIMRNp4CIToqq9Ow.js
JavaScript
gpl-2.0
17,330
(function(a){a.fn.addBack=a.fn.addBack||a.fn.andSelf; a.fn.extend({actual:function(b,l){if(!this[b]){throw'$.actual => The jQuery method "'+b+'" you called does not exist';}var f={absolute:false,clone:false,includeMargin:false}; var i=a.extend(f,l);var e=this.eq(0);var h,j;if(i.clone===true){h=function(){var m="positio...
juampynr/DrupalCampEs
sites/all/themes/contrib/da_vinci/js/plugins/jquery.actual.min.js
JavaScript
gpl-2.0
966
var contextMenuObserving; var contextMenuUrl; function contextMenuRightClick(event) { var target = $(event.target); if (target.is('a')) {return;} var tr = target.parents('tr').first(); if (!tr.hasClass('hascontextmenu')) {return;} event.preventDefault(); if (!contextMenuIsSelected(tr)) { contextMenuUns...
cvnhan/ncredmine
public/javascripts/context_menu.js
JavaScript
gpl-2.0
6,545
;(function ($, window, document, undefined) { 'use strict'; var settings = { callback: $.noop, deep_linking: true, init: false }, methods = { init : function (options) { settings = $.extend({}, options, settings); return this.each(function () { ...
RemanenceStudio/intuisens
wp-content/themes/intuisens/js/foundation/jquery.foundation.tabs.js
JavaScript
gpl-2.0
1,977
/* Refresh.js * * copyright (c) 2010-2017, Christian Mayer and the CometVisu contributers. * * 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 3 of the License, or (at your...
robert1978/CometVisu
source/class/cv/ui/structure/pure/Refresh.js
JavaScript
gpl-3.0
1,913
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import styles from './ModalFooter.css'; class ModalFooter extends Component { // // Render render() { const { children, ...otherProps } = this.props; return ( <div className={styles.modalFooter}...
Radarr/Radarr
frontend/src/Components/Modal/ModalFooter.js
JavaScript
gpl-3.0
485
(function($){ // Search var $searchWrap = $('#search-form-wrap'), isSearchAnim = false, searchAnimDuration = 200; var startSearchAnim = function(){ isSearchAnim = true; }; var stopSearchAnim = function(callback){ setTimeout(function(){ isSearchAnim = false; callback && callback()...
NiroDu/nirodu.github.io
themes/hiker/source/js/scripts.js
JavaScript
gpl-3.0
4,098
// I18N constants // LANG: "es-ar", ENCODING: UTF-8 | ISO-8859-1 // Author: Mihai Bazon, <[email protected]> // FOR TRANSLATORS: // // 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE // (at least a valid email address) // // 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; // (if this is not possible, please...
care2x/2.7
js/html_editor/plugins/SpellChecker/lang/es-ar.js
JavaScript
gpl-3.0
2,070
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.parsePairs = parsePairs; exports.createPairs = createPairs; exports.default = void 0; var _errors = require("../../errors"); var _Map = _intero...
mdranger/mytest
node_modules/yaml/browser/dist/tags/yaml-1.1/pairs.js
JavaScript
mpl-2.0
2,962
jQuery(function($){ var callback = function(){ var shutterLinks = {}, shutterSets = {}; shutterReloaded.Init(); }; $(this).bind('refreshed', callback); $(document).on('lazy_resources_loaded', function(){ var flag = 'shutterReloaded'; if (typeof($(window).data(flag)) == 'undefined') $(...
Lucas1313/miesner
www/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/static/shutter_reloaded/nextgen_shutter_reloaded.js
JavaScript
apache-2.0
397
/* * Copyright (C) 2013 salesforce.com, inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
forcedotcom/scrollerjs
src/config.js
JavaScript
apache-2.0
6,867
/** * Copyright 2015 The AMP HTML Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
lannka/amphtml
extensions/amp-brightcove/0.1/test/test-amp-brightcove.js
JavaScript
apache-2.0
10,948
//// [tests/cases/conformance/dynamicImport/importCallExpressionDeclarationEmit2.ts] //// //// [0.ts] export function foo() { return "foo"; } //// [1.ts] var p1 = import("./0"); //// [0.js] export function foo() { return "foo"; } //// [1.js] var p1 = import("./0"); //// [0.d.ts] export declare functi...
synaptek/TypeScript
tests/baselines/reference/importCallExpressionDeclarationEmit2.js
JavaScript
apache-2.0
339
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of'); var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf); var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck'); var _classCallCheck3...
yaolei/Samoyed
node_modules/material-ui/Card/CardExpandable.js
JavaScript
apache-2.0
3,257
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
hbeatty/incubator-trafficcontrol
traffic_portal/app/src/common/api/TypeService.js
JavaScript
apache-2.0
3,066
// Copyright 2014 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
redforks/closure-library
closure/goog/soy/data_test.js
JavaScript
apache-2.0
1,495
import Check from "./Check.js"; import defaultValue from "./defaultValue.js"; import defined from "./defined.js"; import DeveloperError from "./DeveloperError.js"; import CesiumMath from "./Math.js"; /** * Creates a curve parameterized and evaluated by time. This type describes an interface * and is not intended to ...
progsung/cesium
Source/Core/Spline.js
JavaScript
apache-2.0
4,935
define(function(require, exports, module) { var Notify = require('common/bootstrap-notify'); exports.run = function() { var $table = $('#teacher-table'); $table.on('click', '.promote-user', function(){ $.post($(this).data('url'),function(response) { window.location.reload(); ...
18826252059/im
web/bundles/topxiaadmin/js/controller/user/teacher-list.js
JavaScript
apache-2.0
539
'use strict'; /* // [START classdefinition] */ export default class exampleClass { /* // [END classdefinition] */ constructor () { super(); console.log('Example Constructor'); } exampleFunction () { console.log('Example Function'); } }
beaufortfrancois/WebFundamentals
src/content/en/resources/jekyll/_code/example.js
JavaScript
apache-2.0
261
// This file was automatically generated. Do not modify. 'use strict'; goog.provide('Blockly.Msg.sv'); goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Lägg till kommentar"; Blockly.Msg.AUTH = "Var god godkänn denna app för att du ska kunna spara och dela den."; Blockly.Msg.CHANGE_VALUE_TITLE = "Ändra värde...
radiumray/Mixly_Arduino
mixly_arduino/blockly/msg/js/sv.js
JavaScript
apache-2.0
31,095
// Copyright (C) 2015 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es6id: 12.10.3 description: Invocation of `Symbol.toPrimitive` method during coercion info: | [...] 7. Return the result of performing Abstract Equality Comparison rval...
sebastienros/jint
Jint.Tests.Test262/test/language/expressions/equals/coerce-symbol-to-prim-invocation.js
JavaScript
bsd-2-clause
1,426
var loopback = require('loopback'), boot = require('loopback-boot'); var app = loopback(); boot(app, __dirname); module.exports = app;
maschinenbau/freecodecamp
client/loopbackClient.js
JavaScript
bsd-3-clause
142
/* @flow */ /* Flow declarations for express requests and responses */ /* eslint-disable no-unused-vars */ declare class Request { method: String; body: Object; query: Object; } declare class Response { status: (code: Number) => Response; set: (field: String, value: String) => Response; send: (body: String...
jamiehodge/express-graphql
resources/interfaces/express.js
JavaScript
bsd-3-clause
333
if (this.importScripts) { importScripts('../../../fast/js/resources/js-test-pre.js'); importScripts('shared.js'); } description("Test transaction aborts send the proper onabort messages.."); indexedDBTest(prepareDatabase, startTest); function prepareDatabase() { db = event.target.result; store = evalA...
leighpauls/k2cro4
content/test/data/layout_tests/LayoutTests/storage/indexeddb/resources/transaction-abort.js
JavaScript
bsd-3-clause
2,204
function config ($logProvider) { 'ngInject'; // Enable log $logProvider.debugEnabled(true); } export default config;
mike1808/godtracks
src/app/index.config.js
JavaScript
mit
124
/* Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'colorbutton', 'bs', { auto: 'Automatska', bgColorTitle: 'Boja pozadine', colors: { '000': 'Black', '800000': 'Maroon', '...
zweidner/hubzero-cms
core/plugins/editors/ckeditor/assets/plugins/colorbutton/lang/bs.js
JavaScript
mit
2,069
var http = require("http"); var url = require("url"); var server; // Diese Funktion reagiert auf HTTP Requests, // hier wird also die Web Anwendung implementiert! var simpleHTTPResponder = function(req, res) { // Routing bedeutet, anhand der URL Adresse // unterschiedliche Funktionen zu steuern. // Dazu wird zunäc...
MaximilianKucher/vs1Lab
Beispiele/nodejs_webserver/web.js
JavaScript
mit
1,328
goog.require('ol.Map'); goog.require('ol.View'); goog.require('ol.control'); goog.require('ol.layer.Tile'); goog.require('ol.layer.Vector'); goog.require('ol.source.GeoJSON'); goog.require('ol.source.OSM'); var map = new ol.Map({ layers: [ new ol.layer.Tile({ source: new ol.source.OSM() }), new ol....
buddebej/ol3-dem
ol3/examples/export-map.js
JavaScript
mit
1,180
'use strict'; angular.module('sumaAnalysis') .factory('actsLocs', function () { function calculateDepthAndTooltip (item, list, root, depth) { var parent; depth = depth || {depth: 0, tooltipTitle: item.title, ancestors: []}; if (parseInt(item.parent, 10) === parseInt(root, 10)) { return...
cazzerson/Suma
analysis/src/scripts/services/actsLocs.js
JavaScript
mit
3,247
import Ember from 'ember'; import { module, test } from 'qunit'; import startApp from '../../tests/helpers/start-app'; module('Acceptance | navs', { beforeEach() { this.application = startApp(); }, afterEach() { Ember.run(this.application, 'destroy'); } }); test('visiting /navs', function(assert) { ...
leoeuclids/ember-material-lite
tests/acceptance/navs-test.js
JavaScript
mit
412
/*! * screenfull * v4.2.0 - 2019-04-01 * (c) Sindre Sorhus; MIT License */ (function () { 'use strict'; var document = typeof window !== 'undefined' && typeof window.document !== 'undefined' ? window.document : {}; var isCommonjs = typeof module !== 'undefined' && module.exports; var keyboardAllowed = typeof Eleme...
quindar/quindar-ux
public/scripts/screenfull.js
JavaScript
mit
4,129
var stub = require('./fixtures/stub'), constants = require('./../constants'), Logger = require('./fixtures/stub_logger'), utils = require('./../utils'); // huge hack here, but plugin tests need constants constants.import(global); function _set_up(callback) { this.backup = {}; callback(...
jjz/Haraka
tests/utils.js
JavaScript
mit
12,700
// Generated by LiveScript 1.5.0 var onmessage, this$ = this; function addEventListener(event, cb){ return this.thread.on(event, cb); } function close(){ return this.thread.emit('close'); } function importScripts(){ var i$, len$, p, results$ = []; for (i$ = 0, len$ = (arguments).length; i$ < len$; ++i$) { p...
romainmnr/chatboteseo
node_modules/webworker-threads/src/load.js
JavaScript
mit
558
module.exports = { "env": { "browser": true }, "plugins": [ "callback-function" ], "globals": { "_": true, "$": true, "ActErr": true, "async": true, "config": true, "logger": true, "moment": true, "respondWithError": true, "sendJSONResponse": true, "util": true,...
himanshu0503/admiral
.eslintrc.js
JavaScript
mit
1,174
// textarea‚̍‚‚³‚ðƒ‰ƒCƒu’²ß‚·‚é function adjustTextareaRows(obj, org, plus) { var brlen = null; if (obj.wrap) { if (obj.wrap == 'virtual' || obj.wrap == 'soft') { brlen = obj.cols; } } var aLen = countLines(obj.value, brlen); var aRows = aLen + plus; var move = 0; var scroll = 14; if (org) { if (Math...
okyada/p2-php
rep2/js/post_form.js
JavaScript
mit
4,984
export * from './filterutils'; export * from './objectutils'; export * from './uniquecomponentid'; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hcHAvY29tcG9uZW50cy91dGlscy9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWF...
cdnjs/cdnjs
ajax/libs/primeng/10.0.3/esm2015/utils/public_api.js
JavaScript
mit
585
/** * @author Moxiecode * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved. * * @author ralf57 * @author luciorota ([email protected]) * @author dugris ([email protected]) */ tinyMCEPopup.requireLangPack(); var XoopsimagemanagerDialog = { preInit : f...
mambax7/XoopsCore25
htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/js/xoopsimagemanager.js
JavaScript
gpl-2.0
16,092
var express = require('express'); var leaderRouter = express.Router(); leaderRouter.route('/') .all(function(req, res, next) { res.writeHead(200, { 'Content-Type': 'text/plain' }); next(); }) .get(function(req, res, next){ res.end('Will send all the leaders to you!'); }) ....
mikedanylov/full-stack-dev
NodeJS/week3/rest-server/routes/leaderRouter.js
JavaScript
gpl-2.0
1,220
//@tag dom,core //@define Ext-more //@require Ext.EventManager /** * @class Ext * * Ext is the global namespace for the whole Sencha Touch framework. Every class, function and configuration for the * whole framework exists under this single global variable. The Ext singleton itself contains a set of useful helper ...
hackathon-3d/team-gryffindor-repo
www/touch/src/core/Ext-more.js
JavaScript
gpl-2.0
50,756
/** * This file is part of OXID eShop Community Edition. * * OXID eShop Community Edition 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 3 of the License, or * (at your opt...
apnfq/oxid_test
out/azure/src/js/widgets/oxcenterelementonhover.js
JavaScript
gpl-3.0
1,679
// Generated by CoffeeScript 1.5.0 var auth, changeDashboard, createGraph, dashboard, dataPoll, default_graphite_url, default_period, description, generateDataURL, generateEventsURL, generateGraphiteTargets, getTargetColor, graphScaffold, graphite_url, graphs, init, metrics, period, refresh, refreshSummary, refreshTime...
Stub-O-Matic-BA/stubo-app
stubo/static/giraffe/js/giraffe.js
JavaScript
gpl-3.0
20,491
function rewriteTaskTitles(blockid) { forEach( getElementsByTagAndClassName('a', 'task-title', 'tasktable_' + blockid), function(element) { disconnectAll(element); connect(element, 'onclick', function(e) { e.stop(); var description = getFirstEl...
eireford/mahara
htdocs/artefact/plans/blocktype/plans/js/plansblock.js
JavaScript
gpl-3.0
963
var searchData= [ ['matrix_5fbase',['MATRIX_BASE',['../memorymap_8h.html#a096dcc80deb3676aeb5d5b8db13cfeba',1,'memorymap.h']]] ];
Aghosh993/TARS_codebase
libopencm3/doc/sam3x/html/search/defines_7.js
JavaScript
gpl-3.0
132
/* eslint-disable jest/no-export, jest/no-disabled-tests */ /** * Internal dependencies */ const { shopper, merchant, createVariableProduct, } = require( '@woocommerce/e2e-utils' ); let variablePostIdValue; const cartDialogMessage = 'Please select some product options before adding this product to your cart.'; ...
Ninos/woocommerce
tests/e2e/core-tests/specs/shopper/front-end-variable-product-updates.test.js
JavaScript
gpl-3.0
2,776
/** * AUTO-GENERATED - DO NOT EDIT. Source: https://github.com/gpuweb/cts **/ export const description = ''; import { params, poptions } from '../../../../common/framework/params_builder.js'; import { makeTestGroup } from '../../../../common/framework/test_group.js'; import { kSizedTextureFormats, kSizedTextureFormat...
CYBAI/servo
tests/wpt/webgpu/tests/webgpu/webgpu/api/validation/copy_between_linear_data_and_texture/copyBetweenLinearDataAndTexture_textureRelated.spec.js
JavaScript
mpl-2.0
8,523
/** * <p> * The scrollview module does not add any new classes. It simply plugs the ScrollViewScrollbars plugin into the * base ScrollView class implementation provided by the scrollview-base module, so that all scrollview instances * have scrollbars enabled. * </p> * * <ul> * <li><a href="../classes/Scro...
co-ment/comt
src/cm/media/js/lib/yui/yui3-3.15.0/src/scrollview/js/scrollview.js
JavaScript
agpl-3.0
556
/* * BrainBrowser: Web-based Neurological Visualization Tools * (https://brainbrowser.cbrain.mcgill.ca) * * Copyright (C) 2011 * The Royal Institution for the Advancement of Learning * McGill University * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero Gener...
rdvincent/brainbrowser
build/brainbrowser-2.1.1/workers/mniobj.intensity.worker.js
JavaScript
agpl-3.0
1,377
odoo.define('website_slides/static/src/tests/activity_tests.js', function (require) { 'use strict'; const components = { Activity: require('mail/static/src/components/activity/activity.js'), }; const { afterEach, beforeEach, createRootComponent, start, } = require('mail/static/src/utils/test_utils...
rven/odoo
addons/website_slides/static/src/components/activity/activity_tests.js
JavaScript
agpl-3.0
3,940
/* Copyright 2011, AUTHORS.txt (http://ui.operamasks.org/about) Dual licensed under the MIT or LGPL Version 2 licenses. */ /** * @file Spell checker */ // Register a plugin named "wsc". OMEDITOR.plugins.add( 'wsc', { requires : [ 'dialog' ], init : function( editor ) { var commandName = 'checkspell'; var c...
yonghuang/fastui
samplecenter/basic/timeTest/operamasks-ui-2.0/development-bundle/ui/editor/_source/plugins/wsc/plugin.js
JavaScript
lgpl-3.0
1,027
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ export default [ [ [ 'நள்.', 'நண்.', 'அதி.', 'கா.', 'மதி.', 'பிற்.', 'மா.', 'அந்த...
rospilot/rospilot
share/web_assets/nodejs_deps/node_modules/@angular/common/locales/extra/ta-MY.js
JavaScript
apache-2.0
1,346
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("uicolor","et",{title:"Värvivalija kasutajaliides",preview:"Automaatne eelvaade",config:"Aseta see sõne oma config.js faili.",predefined:"Eelmääratud ...
viticm/pfadmin
vendor/frozennode/administrator/public/js/ckeditor/plugins/uicolor/lang/et.js
JavaScript
apache-2.0
344
/* * Copyright 2016 The Closure Compiler Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
MatrixFrog/closure-compiler
externs/browser/intersection_observer.js
JavaScript
apache-2.0
6,017
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
xingwu1/azure-sdk-for-node
lib/services/recoveryServicesBackupManagement/lib/models/dPMProtectedItemExtendedInfo.js
JavaScript
apache-2.0
5,048
define([ "dojo/_base/declare", // declare "dojo/dom-construct", // domConstruct.destroy domConstruct.place "dojo/keys", // keys.ENTER "dojo/_base/lang", "dojo/on", "dojo/sniff", // has("ie") has("mozilla") has("webkit") "dojo/_base/window", // win.withGlobal "dojo/window", // winUtils.scrollIntoView "../_Plugi...
denov/dojo-demo
src/main/webapp/js/dijit/_editor/plugins/EnterKeyHandling.js
JavaScript
apache-2.0
22,062
/* jshint globalstrict:false, strict:false, unused : false */ /* global assertEqual */ // ////////////////////////////////////////////////////////////////////////////// // / @brief tests for dump/reload // / // / @file // / // / DISCLAIMER // / // / Copyright 2010-2012 triagens GmbH, Cologne, Germany // / // / License...
wiltonlazary/arangodb
tests/js/server/recovery/collection-duplicate.js
JavaScript
apache-2.0
2,684
'use strict'; (function (scope) { /** * Shape erased * * @class ShapeErased * @extends ShapeCandidate * @param {Object} [obj] * @constructor */ function ShapeErased(obj) { scope.ShapeCandidate.call(this, obj); } /** * Inheritance property */ Sha...
countshadow/MyScriptJS
src/output/shape/shapeErased.js
JavaScript
apache-2.0
532
"use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; const Document = require("../generated/Document"); const DocumentFragment = require("../generated/DocumentFragment"); const { cloningSteps, domSymbolTree } = require("../helpers/internal-constants"); const { clone } = require("../nod...
GoogleCloudPlatform/prometheus-engine
third_party/prometheus_ui/base/web/ui/react-app/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTemplateElement-impl.js
JavaScript
apache-2.0
2,038
/* * Copyright 2017 Amadeus s.a.s. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
fbasso/ariatemplates
test/aria/widgets/container/tab/focusTab/FocusTabTestCase.js
JavaScript
apache-2.0
1,249
({ L_MENU_GRID: "Valikkoruudukko", L_MENU_ITEM_DISABLED: "%1 ei ole k\u00e4ytett\u00e4viss\u00e4", L_MENU_ITEM_SUBMENU: "%1 (alivalikko)", L_MENU_SUBMENU: "alivalikko", L_MENU_CHECK: "valinta" })
iharkhukhrakou/XPagesExtensionLibrary
extlib/lwp/product/runtime/eclipse/plugins/com.ibm.xsp.extlib.domino/resources/web/dwa/common/nls/fi/menu.js
JavaScript
apache-2.0
196
require('should'); var option = require('..').sdk.option; describe('option', function() { it('can get default values', function() { option.get('encoding').should.equal('utf8'); }); it('can set values', function() { option.set('encoding', 'unicode'); option.get('encoding').should.equal('unicode'); ...
thcode/nico
tests/sdk.option.test.js
JavaScript
bsd-3-clause
1,096
function setSearchTextField(paramname, field) { var passed = location.search.substring(1); var query = getParm(passed,paramname); var query = getParm(passed,paramname); query = query.replace(/\+/g," "); var loc = document.location; if(/.*search.html/.test(loc)) { document.title = decodeURIComponent(query) + ' ...
mfroeling/DTITools
docs/htmldoc/standard/javascript/search.js
JavaScript
bsd-3-clause
723
'use strict'; const hljs = require('highlight.js'); const languages = hljs.listLanguages(); const fs = require('fs'); const result = { languages: languages, aliases: {} }; languages.forEach(lang => { result.aliases[lang] = lang; const def = require('highlight.js/lib/languages/' + lang)(hljs); const aliase...
hexojs/hexo-util
scripts/build_highlight_alias.js
JavaScript
mit
583
'use strict'; /* jQuery UI Sortable plugin wrapper @param [ui-sortable] {object} Options to pass to $.fn.sortable() merged onto ui.config */ angular.module('mpk').value('uiSortableConfig',{}).directive('uiSortable', [ 'uiSortableConfig', '$timeout', '$log', function(uiSortableConfig, $timeout, $log) { ...
mabotech/maboss-admin
public/kanban/scripts/directives/sortable.js
JavaScript
mit
8,434
$(document).ready(function() { var a, b, c, d, e, col, otherCol; module("Backbone.Collection", { setup: function() { a = new Backbone.Model({id: 3, label: 'a'}); b = new Backbone.Model({id: 2, label: 'b'}); c = new Backbone.Model({id: 1, label: 'c'}); d ...
wakanpaladin/mybackbone
test/collection.js
JavaScript
mit
35,957
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const app_utils_1 = require("../../utilities/app-utils"); const dynamic_path_parser_1 = require("../../utilities/dynamic-path-parser"); const config_1 = require("../../models/config"); const stringUtils = require('ember-cli-string-utils'); con...
raymonddavis/Angular-SailsJs-SocketIo
web/node_modules/@angular/cli/blueprints/class/index.js
JavaScript
mit
2,492
'use strict'; var path = require('path'); var fixtures = require('haraka-test-fixtures'); var Connection = fixtures.connection; var Plugin = fixtures.plugin; var _set_up = function(done) { this.backup = {}; // needed for tests this.plugin = new Plugin('auth/auth_vpopmaild'); thi...
slattery/Haraka
tests/plugins/auth/auth_vpopmaild.js
JavaScript
mit
2,773
//= require locastyle/templates/_popover.jst.eco //= require locastyle/templates/_dropdown.jst.eco
diegoeis/locawebstyle
source/assets/javascripts/templates.js
JavaScript
mit
99
// # Mail API // API for sending Mail var Promise = require('bluebird'), pipeline = require('../utils/pipeline'), errors = require('../errors'), mail = require('../mail'), Models = require('../models'), utils = require('./utils'), notifications = requir...
jordanwalsh23/jordanwalsh23.github.io
core/server/api/mail.js
JavaScript
mit
3,802
/** * Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/> * Build: `lodash modularize exports="amd" -o ./compat/` * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/> * Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE> * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigat...
john-bixly/Morsel
app/vendor/lodash-amd/compat/collections/map.js
JavaScript
mit
2,696
window.Reactable = require('../build/reactable.common');
wemcdonald/reactable
src/reactable.global.js
JavaScript
mit
57
/** * ag-grid-community - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v20.2.0 * @link http://www.ag-grid.com/ * @license MIT */ "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.leng...
sufuf3/cdnjs
ajax/libs/ag-grid/21.0.0/lib/dragAndDrop/dragService.js
JavaScript
mit
13,765
/* http://keith-wood.name/calculator.html Catalan initialisation for the jQuery calculator extension Written by Esteve Camps (ecamps at google dot com) June 2010. */ (function($) { // hide the namespace $.calculator.regionalOptions['ca'] = { decimalChar: ',', buttonText: '...', buttonStatus: 'Obrir la...
rsantellan/ventanas-html-proyecto
ventanas/src/AppBundle/Resources/public/admin/vendor/calculator/jquery.calculator-ca.js
JavaScript
mit
1,535
/** * EditorCommands.js * * Released under LGPL License. * Copyright (c) 1999-2015 Ephox Corp. All rights reserved * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ /** * This class enables you to add custom editor commands and it contains * overrides for nati...
michalgraczyk/calculus
web/js/tiny_mce/js/tinymce/classes/EditorCommands.js
JavaScript
mit
29,362
define([ 'angular' , './view-rubberband-controller' , './view-rubberband-directive' ], function( angular , Controller , directive ) { "use strict"; return angular.module('mtk.viewRubberband', []) .controller('ViewRubberbandController', Controller) .directive('mtkViewRubberb...
jeroenbreen/metapolator
app/lib/ui/metapolator/view-rubberband/view-rubberband.js
JavaScript
gpl-3.0
354
// UK lang variables tinyMCE.addI18n('pt.codehighlighting',{ codehighlighting_desc : "Code Highlighting", codehighlighting_title : "Code Highlighting", codehighlighting_langaugepicker : "Choose the language", codehighlighting_pagecode : "Paste your code here", codehighlighting_button_desc: "Insert code", codehig...
ahilles107/Newscoop
newscoop/js/tinymce/plugins/codehighlighting/langs/pt.js
JavaScript
gpl-3.0
494