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
var _ = require( "lodash" ), commonJSHintOptions = require( "../../jshint-options.json" ); module.exports = { nonlib: { options: commonJSHintOptions, files: { src: [] .concat( require( "../../js-example-and-test-files" ) ) .concat( require( "../../js-build-files" ) ) } }, lib: { options: _.exten...
zolkis/iotivity-node
grunt-build/tasks/options/jshint.js
JavaScript
mit
439
import { Component } from '@angular/core'; import { Race } from './race'; import { RaceService } from './race.service'; @Component({ selector: 'my-races', templateUrl: 'app/races.component.html', styleUrls:['app/races.component.css'] }) export class RacesComponent { heading = "Ultra Racing Schedule" cash = ...
xgqfrms/AngularJS2
Angular2-codeschool/level05/app/races.component.js
JavaScript
mit
959
/* * * HomePage reducer * */ import { fromJS, List, Map } from 'immutable'; import { CANCEL_CHANGES, DELETE_DATA, DELETE_DATA_SUCCEEDED, FETCH_DATA, FETCH_DATA_SUCCEEDED, ON_CHANGE, RESET_PROPS, SET_DATA_TO_EDIT, SET_FORM, SET_FORM_ERRORS, SUBMIT_SUCCEEDED, UNSET_DATA_TO_EDIT, } from './co...
strapi/strapi-examples
gatsby-strapi-tutorial/cms/plugins/users-permissions/admin/src/containers/HomePage/reducer.js
JavaScript
mit
3,038
/** * @author Arthur Purnama (arthur@purnama.de) */ oldModule.controller('oldModule.UserController', ['$scope', '$constant', 'UserService', 'ErrorService', '$location', function ($scope, $constant, userService, errorService, $location) { if ($location.path() === '/'+$constant.module.old.path+'/user/applic...
purnama/hackmdk3
src/main/resources/static/js/module/old/controller/UserController.js
JavaScript
mit
846
(function() { 'use strict'; angular .module('app', ['ngMaterial', 'ui.router', 'uiGmapgoogle-maps', 'firebase', 'color.picker', 'app.services', 'textAngular', 'app.home', 'app.freeTrialForm', 'app.admin', 'mdPickers']) .config(function($mdThemingProvider, $mdIconProvider, $stateProvider, $urlRouterProvider...
philmerrell/deliver-admin
build/src/app.module.js
JavaScript
mit
1,600
/* Rabbits, by Notion. 0.0.5a Rabbits it's a JS based (As you already may know) routes manager, that's it :3 CC-BY, Notion */ var params = []; var route = function (r){ this.route = r; this.params_indices = []; this.params_types = []; this.has_params = false; for (var i = 0; i < this.route.length; i++) { ...
Said210/rabbitsJS
rabbits.js
JavaScript
mit
12,029
/* global console, LAMBDA */ (function() { "use strict"; var L = LAMBDA; var question = {}; var RP14part2 = { init: function() { var vs = "uvxyz"; var maxDepth = 5; var minDepth = 4; var exp; var numCorrect = 0; var exps = [ ]; var isCorrect; var options = [ ...
OpenDSA/OpenDSA-stable
Exercises/PL/RP14part2.js
JavaScript
mit
3,813
/* * 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. */ ...
sharadagarwal/autorest
AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/Expected/AcceptanceTests/Paging/models/pagingGetMultiplePagesOptions.js
JavaScript
mit
1,498
/** * Copyright 2015 Telerik AD * * 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 ...
walgheraibi/StemCells
ui/js/bower_components/kendo-ui-core/src/js/kendo.sortable.js
JavaScript
mit
17,939
import React, { Component, PropTypes } from 'react'; import { Field } from 'redux-form'; import blockLoading from 'assets/blockLoading.gif'; import styles from 'modules/common/styles'; import { required } from './validations'; class RichTextField extends Component { static propTypes = { input: PropTypes.object.i...
theseushu/funong-web
app/modules/common/form/richTextField.js
JavaScript
mit
1,666
Cursor = function() { this.x = 0; this.y = 0; this.color = WHITE; return this; } Cursor.prototype.move = function(event) { this.x = event.offsetX; this.y = event.offsetY; }; Cursor.prototype.hoverOn = function() { this.color = CURSOR_HOVER; }; Cursor.prototype.hoverOff = function() { this.color = WHITE...
peternatewood/peternatewood.github.io
scripts/space-fear/cursor.js
JavaScript
mit
801
import webpack from 'webpack'; import WebpackDevServer from 'webpack-dev-server'; import config from './webpack.config.js'; const serverOptions = { publicPath: config.output.publicPath, contentBase: 'src', hot: true, stats: { colors: true, hash: false, timings: true, chunks: false, chunkMod...
webcoding/marky
dev-server.js
JavaScript
mit
665
// All the subviews of a TodosAppView will always have // the same model as the TodosAppView has. // maria.ElementView.subclass(checkit, 'TodosAppView', { properties: { getContainerEl: function() { return this.find('.content'); // child views will be appended to this element }, i...
jsoverson/todomvc
labs/architecture-examples/maria/src/js/views/TodosAppView.js
JavaScript
mit
1,174
import {createStore} from 'redux'; import reducer from './reducer'; export default function makeStore() { return createStore(reducer); }
billdevcode/full-stack-voting
voting-server/src/store.js
JavaScript
mit
141
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import _extends from "@babel/runtime/helpers/esm/extends"; const _excluded = ["disableUnderline", "fullWidth", "inputComponent", "multiline", "type", "hiddenLabel"]; import * as React from 'react'; import { refType } fr...
cdnjs/cdnjs
ajax/libs/material-ui/5.0.0-beta.0/modern/FilledInput/FilledInput.js
JavaScript
mit
11,697
BASE.require([ "jQuery" ], function () { BASE.namespace("components.ui.inputs"); var Future = BASE.async.Future; components.ui.inputs.UIFileInputBehavior = function (elem) { var self = this; var $elem = $(elem); var $fileInput = $('<input type="file">'); $elem.data('f...
jaredjbarnes/WoodlandCreatures
packages/WebLib.2.0.0.724/content/lib/weblib/components/ui/inputs/UIFileInputBehavior.js
JavaScript
mit
3,147
import wretch from 'wretch'; const api = wretch() .url(process.env.API_URL || 'http://localhost:3002/api') .auth(`Bearer ${localStorage.getItem('authToken')}`); /* * Exported methods shouldn't be used directly from a component; use * one of the actual API libs instead. */ export function get(app, path, data =...
CodeForCharlotte/CMPD-Holiday-Gift
frontend/applications/nominations/src/lib/apiService.js
JavaScript
mit
1,866
const loadData = require('../loadData') jest.mock('fs-extra') jest.mock('../../utils/get-closest-config', () => require('../../../mocks/get-closest-config')) describe('load Plugins', () => { it('should save property into context', async () => { const result = await loadData({ data: '', site: {}, ...
dgeibi/wikic
lib/wikic/__tests__/loadData.js
JavaScript
mit
1,098
/** * hasClass method * check if element has class * @param {string} cls - class name to check for * @return {boolean} */ hasClass: function(cls) { return this.length ? this[0].classList.contains(cls) : false; },
iamso/u.js
src/partials/methods/hasclass.js
JavaScript
mit
258
angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ "AM", "PM" ], "DAY": [ "Minggu", "Senin", "Sel...
RunForYourLife/wallhack
ejemplos/chocolateTweet/www/lib/angular/i18n/angular-locale_id.js
JavaScript
mit
1,847
import 'ember'; import Ember from 'ember-metal/core'; import isEnabled from 'ember-metal/features'; import EmberHandlebars from 'ember-htmlbars/compat'; import HandlebarsCompatibleHelper from 'ember-htmlbars/compat/helper'; import Helper from 'ember-htmlbars/helper'; import { registerKeyword, resetKeyword } from 'embe...
acburdine/ember.js
packages/ember/tests/helpers/helper_registration_test.js
JavaScript
mit
5,502
import { computed } from '@ember/object'; import Oauth2 from 'torii/providers/oauth2-code'; import { configurable } from 'torii/configuration'; /** * This class implements authentication against AzureAD * using the OAuth2 authorization flow in a popup window. * @class */ var AzureAdOauth2 = Oauth2.extend({ name:...
Vestorly/torii
addon/providers/azure-ad-oauth2.js
JavaScript
mit
1,145
require('../spec_helper'); import {itPropagatesAttributes} from '../support/shared_examples'; import {mergeProps} from '../../../src/pivotal-ui-react/helpers/helpers'; describe('lists', function() { const UnorderedList = require('../../../src/pivotal-ui-react/lists/lists').UnorderedList; const OrderedList = requir...
CanopyCloud/pivotal-ui
spec/pivotal-ui-react/lists/lists_spec.js
JavaScript
mit
4,750
var path = require('path'); var webpack = require('webpack'); var AUTOPREFIXER_LOADER = 'autoprefixer-loader?{browsers:[' + '"Android 2.3", "Android >= 4", "Chrome >= 20", "Firefox >= 24", ' + '"Explorer >= 8", "iOS >= 6", "Opera >= 12", "Safari >= 6"]}'; module.exports = { devtool: 'source-map', ent...
Kikonejacob/subschema
webpack.config.js
JavaScript
mit
2,717
const path = require('path'); const webpack = require('webpack'); const Copy = require('copy-webpack-plugin'); const nodeEnv = process.env.NODE_ENV || 'development'; const isProd = nodeEnv === 'production'; module.exports = { resolve: { extensions: ['.js', '.jsx'] }, devtool: isProd ? 'hidden-source-map' :...
KunalKene1797/hyper
webpack.config.js
JavaScript
mit
1,078
/* * demi * https://github.com/enytc/demi * * Copyright (c) 2014 EnyTC Corporation * Licensed under the BSD license. */ 'use strict'; module.exports = { /* * GET /routes */ /* * GET /routes/index */ index: { method: 'GET', fn: function (req, res) { r...
chrisenytc/generator-demi
app/templates/api/controllers/routes.js
JavaScript
mit
1,254
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _jsxRuntime = req...
cdnjs/cdnjs
ajax/libs/vkui/4.27.1/cjs/components/Button/Button.js
JavaScript
mit
7,657
import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js'; var script = { name: 'BCollapse', // deprecated, to replace with default 'value' in the next breaking change model: { prop: 'open', event: 'update:open' }, props: { open: { type: Boolean, d...
cdnjs/cdnjs
ajax/libs/buefy/0.9.19/esm/collapse.js
JavaScript
mit
2,572
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import React from 'react'; import PropTypes from 'prop-types'; import ReactDOM from 'react-dom'; import { elementTypeAcceptingRef } from '@material-ui/utils'; import Draw...
cdnjs/cdnjs
ajax/libs/material-ui/4.9.3/esm/SwipeableDrawer/SwipeableDrawer.js
JavaScript
mit
21,556
var mongoose = require('mongoose'); var Schema = mongoose.Schema; var mongoosastic = require('mongoosastic'); var dateUtils = require('../utils/date.js'); /** * 产品招商数据表 * :name: 通用名 * :name_co: 商品名 * :abstract: 介绍(用于列表页面显示) * :specification: 规格 * :package: 包装 * :wholesale_price: 批发价格 * :investment_price: 招商价格 ...
minibear0523/ddld
models/merchant.js
JavaScript
cc0-1.0
2,628
define(["./BaseCccComponent","../lib/CCC/pvc"],function(e,c){var n=e.extend({cccType:c.AreaChart}); return n});
SteveSchafer-Innovent/innovent-pentaho-birt-plugin
js-lib/expanded/cdf/js/compressed/components/ccc/CccAreaChartComponent.js
JavaScript
epl-1.0
111
/** * list country.js: General Javascript Library for VirtueMart Administration * Note Patrick kohl : Found many bugs, completly brake in case of multiple list! * Now the json cache (optCache) is common for all calls(states are always same for each country) * and not set for each select list anymore. * @package Vi...
cuongnd/test_pro
components/website/website_banhangonline/com_virtuemart/assets/js/vmsite.js
JavaScript
gpl-2.0
3,754
'use strict'; angular.module('owm.person') .controller('PersonContractEditController', function ($timeout, $log, $modalInstance, dialogService, $translate, $scope, alertService, contractService, contract) { var originalContract = contract; $scope.contract = angular.copy(originalContract); $scope.busy = false; ...
jorritdenbroeder/openwheels-frontend
src/app/person/contract/edit-modal/PersonContractEditController.js
JavaScript
gpl-2.0
2,002
'use strict'; var Curry = require("../../lib/js/curry.js"); var Caml_js_exceptions = require("../../lib/js/caml_js_exceptions.js"); function f(g, x) { try { return Curry._1(g, x); } catch (raw_exn){ var exn = Caml_js_exceptions.internalToOCamlException(raw_exn); if (exn.RE_EXN_ID === "Not_found") { ...
bloomberg/ocamlscript
jscomp/test/test_match_exception.js
JavaScript
gpl-2.0
400
var EventLauncher = function () { this.keyCodes = { "0": 48, "1": 49, "2": 50, "3": 51, "4": 52, "5": 53, "6": 54, "7": 55, "8": 56, "9": 57, "backspace": 8, "tab": 9, "enter": 13, "shift": 16, "ctrl": 17, "alt": 18, "pause": 19, "break": 19, "caps lock": 20, "escape": 27, "...
css-detector/css-detector
css-detector/crawler/src/states/eventLauncher.js
JavaScript
gpl-2.0
3,581
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Portuguese language. */ /**#@+ @type String @example */ /** * Contains the dictionary of l...
MikesUptown/ipepcare
sites/all/modules/ckeditor/ckeditor/_source/lang/pt.js
JavaScript
gpl-2.0
26,243
(function($) { 'use strict'; /*********************************************************** * ISOTOPE ***********************************************************/ $('.isotope.properties-items').imagesLoaded(function() { var isotope_works = $('.isotope.properties-items'); isotope_wor...
clevegomes/beefsteak
wp-content/themes/realocation/realocation/assets/js/realocation.js
JavaScript
gpl-2.0
6,266
jQuery(document).ready(function() { "use strict"; var resizeTimer = null, videoInit = false, scrollInit = false; window.setVideoProportion = function() { jQuery('.video-background').each(function(){ var container = jQuery(this), mejsContainer =...
tellaw/exol
wp-content/themes/Corsa/js/responsive.js
JavaScript
gpl-2.0
12,908
var searchData= [ ['x',['x',['../d1/d36/namespacepostprocess__par.html#a399f66b27dde9a0a4bfda236febd72b0',1,'postprocess_par::x()'],['../d6/d5c/namespacetomography__par.html#a5669649e658de659db82a16eacd997bd',1,'tomography_par::x()']]], ['x_5fadios',['x_adios',['../d7/d7a/structavs__dx__global__chunks__mod_1_1avs__...
komatits/specfem3d_globe
doc/call_trees_of_the_source_code/html/search/variables_17.js
JavaScript
gpl-2.0
5,291
// Extends jQuery API jQuery.extend({uniqueArray:function(array){ return $.grep(array, function(el, index) { return index === $.inArray(el, array); }); }}); function removeByValue(arr, val) { for(var i=0; i<arr.length; i++) { if(arr[i] == val) { arr.splice(i, 1); bre...
bywatersolutions/ByWater-KOHA
koha-tmpl/intranet-tmpl/prog/js/commons.js
JavaScript
gpl-2.0
1,943
/* global JSON, _wpCustomizePreviewNavMenusExports */ ( function ($, _, wp) { 'use strict'; if (!wp || !wp.customize) { return; } var api = wp.customize, currentRefreshDebounced = {}, refreshDebounceDelay = 200, settings = {}, defaultSettings = { re...
richardbota/WordPress-Theme-Development-with-Bootstrap
wp-includes/js/customize-preview-nav-menus.js
JavaScript
gpl-2.0
10,650
jQuery(document).ready(function($) { function _reiszeImage(){ $('.card-image').each(function() { var maxWidth = $(this).data('maxwidth'); var maxHeight = $(this).data('maxheight'); var _mratio = maxWidth/maxHeight; var _imageContainer = $(this); $(this).find('img').each(function(index) { var ratio...
rodrigodemingo/abu_dhabi_ports
wp-content/plugins/vc-extensions-bundle326/thumbnailcaption/js/init.js
JavaScript
gpl-2.0
4,047
/* * jQuery File Upload Plugin JS Example * https://github.com/blueimp/jQuery-File-Upload * * Copyright 2010, Sebastian Tschan * https://blueimp.net * * Licensed under the MIT license: * http://www.opensource.org/licenses/MIT */ /* global $, window */ $(function () { 'use strict'; var sub_hv = $('#su...
ajrbyers/smw
src/static-assets/js/main.js
JavaScript
gpl-2.0
2,610
/** * editor_plugin_src.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing * * This plugin will force TinyMCE to produce deprecated legacy output such as font elements, u elements...
roberzguerra/scout
grappelli/static/grappelli/tinymce/jscripts/tiny_mce/plugins/legacyoutput/editor_plugin_src.js
JavaScript
gpl-2.0
6,347
/* Quick Pager jQuery plugin Copyright (C) 2011 by Dan Drayne 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 to use, copy, modi...
Sciado/whitelabelheros.com
wp-content/plugins/strong-testimonials/js/quickpager.jquery.js
JavaScript
gpl-2.0
4,494
// $Id$ /** * @file dependent.js * * Written by dmitrig01 (Dmitri Gaskin) for Views; this provides dependent * visibility for form items in Views' ajax forms. * * To your $form item definition add: * - '#process' => array('views_process_dependency'), * - Add '#dependency' => array('id-of-form-item' => array(lis...
tripark/drupal6-common
sites/all/modules/views/js/dependent.js
JavaScript
gpl-2.0
6,636
var group__os__abstraction__ucosiii = [ [ "event_ucosiii", "group__os__abstraction__ucosiii.html#structevent__ucosiii", [ [ "group", "group__os__abstraction__ucosiii.html#a6157b8869dcfce2c5939443b91599a87", null ], [ "clearMode", "group__os__abstraction__ucosiii.html#abd3a7f9087c7d1e7c1144f387d6919e5", ...
wrh2/sputnik
Vendor Firmware/Kinetis SDK v.1.3.0 API Reference Manual/group__os__abstraction__ucosiii.js
JavaScript
gpl-2.0
2,545
/*! * Ext JS Library 3.0.3 * Copyright(c) 2006-2009 Ext JS, LLC * licensing@extjs.com * http://www.extjs.com/license */ /** * @class Ext.data.DirectProxy * @extends Ext.data.DataProxy */ Ext.data.DirectProxy = function(config){ Ext.apply(this, config); if(typeof this.paramOrder == 'string'){ ...
chisimba/chisimba
app/core_modules/htmlelements/resources/ext-3.0-rc2/pkgs/direct-debug.js
JavaScript
gpl-2.0
40,246
/*! * jQuery JavaScript Library v1.4.3 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
venkatadapa/drupal_testing
sites/all/modules/custom/bus_reservation/includes/jquery.js
JavaScript
gpl-2.0
180,468
var gulp = require('gulp'); var del = require('del'); var mkdirp = require('mkdirp'); gulp.task('reCreateBuildDir', function(){ del.sync('build/'); mkdirp.sync('build/'); })
owcc/uiams-r0
tools/task/reCreateBuildDir.js
JavaScript
gpl-2.0
178
$(document).ready(function(){ $('.data-table').dataTable({ 'oLanguage':{ 'sSearch':'Pesquisar:', 'sInfo': 'Mostrando _START_ a _END_ de _TOTAL_ registros' }, 'sScrollY':'305px', 'sScrollX':'95%', 'sScrollXInner':'95%', 'bPaginate':false, 'aaSorting':[[0,'asc']] }); $('dataTable_filter label').fir...
jairomr/admin
js/table.js
JavaScript
gpl-2.0
339
paramikojs.transport = function() { this.rng = new kryptos.random.Random(); this.packetizer = new paramikojs.Packetizer(this); this.packetizer.set_hexdump(false); this.local_version = 'SSH-' + this._PROTO_ID + '-' + this._CLIENT_ID; this.remote_version = ''; this.local_cipher = this.remote_cipher = ''; th...
ettoolong/BBSFox-Beta
chrome/content/paramikojs/transport.js
JavaScript
gpl-2.0
53,578
/* * favcount.js v1.4.0 * http://chrishunt.co/favcount * Dynamically updates the favicon with a number. * * Copyright 2013, Chris Hunt * Released under the MIT license */ (function(){ function Favcount(icon) { this.icon = icon; this.opacity = 0.4; this.canvas = document.createElement('canvas'); ...
togusafish/JuanitoFatas-_-discourse
vendor/assets/javascripts/favcount.js
JavaScript
gpl-2.0
2,636
(function () { 'use strict'; test('LayoutMode.getSegmentSize', function () { var iso = new Isotope('#get-segment-size', { layoutMode: 'cellsByRow', itemSelector: '.item', cellsByRow: { columnWidth: 17, rowHeight: 23 } ...
octoray/AJAX_PFI
testmon/vendors/isotope/test/get-segment-size.js
JavaScript
gpl-2.0
1,248
/** * Creates a Wget command for a target automagically filling the... * continue, referrer, user-agent, cookies, no-check-cert parameters * * @param {string} tabUrl current URL of tab * @param {string} targetUrl URL to download * @param {Array|Wget2Clipboard.model.NetscapeCookie} cookies array of netscape cookie...
cmprescott/chrome-extension-wget2clipboard
src/bg/model/Command_Wget.js
JavaScript
gpl-2.0
1,833
Meteor.publish('store_charges', function() { if (this.userId) { return Charges.find({}, {fields: {amount:1}}) } else { this.ready() } })
flaing/dominus
game/leftPanels/store/server/publish.js
JavaScript
gpl-2.0
143
/* * This file is part of INSPIRE. * Copyright (C) 2016 CERN. * * INSPIRE 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. * * ...
jacenkow/inspire-next
inspirehep/modules/workflows/static/js/inspire_workflows_ui/holdingpen/holdingpen.controllers.js
JavaScript
gpl-2.0
4,356
/** * External dependencies */ import { Path, SVG } from '@wordpress/components'; export const StarBlockIcon = () => { return ( <SVG xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> <Path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22...
Automattic/vip-go-mu-plugins
jetpack-9.1/extensions/blocks/rating-star/icon.js
JavaScript
gpl-2.0
1,098
/* global padlock */ padlock.rand = (function() { "use strict"; var chars = { numbers: "0123456789", lower: "abcdefghijklmnopqrstuvwxyz", upper: "ABCDEFGHIJKLMNOPQRSTUVWXYZ", other: "/+()%\"=&-!:'*#?;,_.@`~$^[{]}\\|<>" }; var charSets = { full: chars.numbers + ...
ArcherSys/Padlock
src/rand.js
JavaScript
gpl-3.0
1,134
var searchData= [ ['gcm',['GCM',['../d8/d48/classcrypto.html#a88d8ecc273aee729deecbdd7844076d0',1,'crypto']]], ['gd',['GD',['../d5/d5d/classgd.html#a792ac324d596f28e650565f9f5339cb1',1,'gd']]], ['gd2',['GD2',['../d5/d5d/classgd.html#a1f9f4b0a38d344d6131ac4fdde77d4a0',1,'gd']]], ['gif',['GIF',['../d5/d5d/classgd...
xushiwei/fibjs
docs/search/variables_6.js
JavaScript
gpl-3.0
473
import AbstractEditController from 'hospitalrun/controllers/abstract-edit-controller'; import Ember from 'ember'; export default AbstractEditController.extend({ needs: ['procedures/edit'], cancelAction: 'closeModal', newPricingItem: false, requestingController: Ember.computed.alias('controllers.procedu...
OasisHospital/frontend
app/procedures/charge/controller.js
JavaScript
gpl-3.0
2,672
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // noinspection SpellCheckingInspection const ELECTRON_BUILD_SERVICE_LOCAL_CA_CERT = exports.ELECTRON_BUILD_SERVICE_LOCAL_CA_CERT = Buffer.from(`-----BEGIN CERTIFICATE----- MIIBiDCCAS+gAwIBAgIRAPHSzTRLcN2nElhQdaRP47IwCgYIKoZIzj0EAwIwJDEi MC...
iblacksand/SimpleDiveMeets
node_modules/electron-builder-lib/out/remoteBuilder/remote-builder-certs.js
JavaScript
gpl-3.0
1,584
function loadText() { var txtLang = document.getElementsByName("txtLang"); txtLang[0].innerHTML = "Rij Invoegen"; txtLang[1].innerHTML = "Kolom Invoegen"; txtLang[2].innerHTML = "Rij Samenvoegen"; txtLang[3].innerHTML = "Kolom Samenvoegen"; txtLang[4].innerHTML = "Rij Verwijderen"; txtL...
Alex-Bond/Core-package
tests/editors/iseditor2/scripts/language/dutch/table_size.js
JavaScript
gpl-3.0
1,614
/* * This file is part of the MediaWiki extension MultimediaViewer. * * MultimediaViewer 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 v...
kylethayer/bioladder
wiki/extensions/MultimediaViewer/resources/mmv/ui/mmv.ui.reuse.dialog.js
JavaScript
gpl-3.0
6,654
/** * @class Ext.draw.sprite.EllipticalArc * @extends Ext.draw.sprite.Ellipse * * A sprite that represents an elliptical arc. * * @example * Ext.create({ * xtype: 'draw', * renderTo: document.body, * width: 600, * height: 400, * sprites: [{ * type: 'el...
tlaitinen/sms
frontend/ext/packages/sencha-charts/src/draw/sprite/EllipticalArc.js
JavaScript
gpl-3.0
1,984
'use strict' var test = require('tap').test var split = require('./') var callback = require('callback-stream') var strcb = callback.bind(null, { decodeStrings: false }) var objcb = callback.bind(null, { objectMode: true }) test('split two lines on end', function (t) { t.plan(2) var input = split() input.pipe...
mdnurul/smarthospital-nodejs
node_modules/mqtt/node_modules/split2/test.js
JavaScript
gpl-3.0
5,647
// This file is generated I_gid_0 = [ "I2111", "I2106", "I2113", "I2115", "I2105", "I2114", "I2110", "I1004", "I0554", "I0701", "I0553", "I0559", "I1408", "I0551", "I0702", "I0953", "I0693", "I2002", "I2011", "I1996", "I2017", "I0678", "I2007", "I1999", "I2016", "I2005", "I2013", "I2010", "I1995", "I2008", "I1997", "I...
belissent/GrampsDynamicWebReport
reports/report_004/dwr_db_I_gid_0.js
JavaScript
gpl-3.0
10,276
module.exports = ping var url = require('url') var assert = require('assert') function ping (uri, params, cb) { assert(typeof uri === 'string', 'must pass registry URI to ping') assert(params && typeof params === 'object', 'must pass params to ping') assert(typeof cb === 'function', 'must pass callback ...
lyy289065406/expcodes
java/01-framework/dubbo-admin/incubator-dubbo-ops/dubbo-admin-frontend/node/node_modules/npm/node_modules/npm-registry-client/lib/ping.js
JavaScript
gpl-3.0
682
YUI.add('moodle-local_kaltura-lticontainer', function (Y, NAME) { // This file is part of Moodle - http://moodle.org/ // // Moodle 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 Lic...
lsuits/moodle
local/kaltura/yui/build/moodle-local_kaltura-lticontainer/moodle-local_kaltura-lticontainer.js
JavaScript
gpl-3.0
5,461
// LICENCE https://github.com/adaptlearning/adapt_authoring/blob/master/LICENSE define(['require', 'jquery', 'polyglot', 'core/origin'], function(require, $, Polyglot, Origin) { var polyglot; // set up global l10n object Origin.l10n = { t: function(string, data) { if(!polyglot || !polyglot.t) { ...
deltanet/adapt_authoring
frontend/src/core/l10n.js
JavaScript
gpl-3.0
1,008
'use strict'; define([], function() { var dependencies = [ '$scope', '$modalInstance', 'datasets', 'loggedInUserId', 'datasetUuid', 'graphUuid', 'versionUuid', 'CopyStudyResource', 'UUIDService' ]; var CopyStudyController = function( $scope, ...
drugis/addis-core
src/main/webapp/resources/app/js/study/copyStudyController.js
JavaScript
gpl-3.0
1,634
import fetch from 'isomorphic-fetch'; import { application } from '../../config'; import * as Action from './constants'; export function setCerts(data) { return ({ type: Action.SET_SET_OF_CERTS, data, }); } export function setObjectToEdit(data) { return ({ type: Action.SET_CUSTOMCERT_OBJECT_TO_EDIT,...
ccsa-ufrn/seminario
src/actions/customcert.js
JavaScript
gpl-3.0
2,136
/** * Ekiline for WordPress Theme, Copyright 2018 Uri Lazcano. Ekiline is distributed under the terms of the GNU GPL. http://ekiline.com * * adminPops.js * * Oficial tinyMce. * https://www.tinymce.com/docs/advanced/creating-custom-dialogs/ * https://www.tinymce.com/docs/demo/custom-toolbar-listbox/ * * Ejem...
Urielink/ekiline
js/adminPops.js
JavaScript
gpl-3.0
7,223
/* */ "format cjs"; ; (function(global, factory) { typeof exports === 'object' && typeof module !== 'undefined' && typeof require === 'function' ? factory(require('../moment')) : typeof define === 'function' && define.amd ? define(['moment'], factory) : factory(global.moment); }(this, function(moment) { 'use stric...
aitch0083/extjs-and-more
ReactJS/jspm_packages/npm/moment@2.11.1/locale/th.js
JavaScript
gpl-3.0
2,812
var classgr__file__source = [ [ "gr_file_source", "classgr__file__source.html#ad237a93ac0cdf390d52ecaf5ba47a01a", null ], [ "~gr_file_source", "classgr__file__source.html#a6f48f666cf2ce07f32be02f08561ff24", null ], [ "seek", "classgr__file__source.html#a0a206ac10dccf0e7b8faabd836a20846", null ], [ "work...
katsikas/gnuradio
build/docs/doxygen/html/classgr__file__source.js
JavaScript
gpl-3.0
497
// DO NOT EDIT! This test has been generated by tools/gentest.py. // OffscreenCanvas test in a worker:2d.path.stroke.scale2 // Description:Stroke line widths are scaled by the current transformation matrix // Note: importScripts("/resources/testharness.js"); importScripts("/2dcontext/resources/canvas-tests.js"); var ...
larsbergstrom/servo
tests/wpt/web-platform-tests/offscreen-canvas/path-objects/2d.path.stroke.scale2.worker.js
JavaScript
mpl-2.0
1,575
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */ // @flow import { findSourceMatches } from "../project-search"; const text = ` function foo() { foo(); ...
bomsy/debugger.html
src/workers/search/tests/project-search.spec.js
JavaScript
mpl-2.0
1,410
import { helper } from '@ember/component/helper'; import { get } from '@ember/object'; const MANAGEMENT_ID = '00000000-0000-0000-0000-000000000001'; export function isManagement(params, hash) { return get(params[0], 'ID') === MANAGEMENT_ID; } export default helper(isManagement);
youhong316/consul
ui-v2/app/helpers/policy/is-management.js
JavaScript
mpl-2.0
283
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 'use strict'; module.exports = function (config) { const STATIC_RESOURCE_URL = config.get('static_resource_url')...
shane-tomlinson/fxa-content-server
server/lib/routes/get-502.js
JavaScript
mpl-2.0
494
import { Fragment } from 'inferno'; import { act } from '../byond'; import { Section, Box, Button, Table } from '../components'; import { classes } from 'common/react'; export const Vending = props => { const { state } = props; const { config, data } = state; const { ref } = config; let inventory; let custom...
Thunder12345/-tg-station
tgui/packages/tgui/interfaces/Vending.js
JavaScript
agpl-3.0
3,919
'use strict'; angular.module('linagora.esn.contact.import.twitter', [ 'restangular', 'op.dynamicDirective', 'esn.notification', 'linagora.esn.contact.import' ]) .run(function(ContactImportRegistry, ContactImportMessageRegistry, TwitterContactImporter, dynamicDirectiveService, TWITTER_CONTACT_IMPORT_TYPE, TWIT...
heroandtn3/openpaas-esn
modules/linagora.esn.contact.import.twitter/frontend/js/app.js
JavaScript
agpl-3.0
765
import ko from 'ko'; import { ClientSideKeyName, Notification, Magics } from 'Common/Enums'; import { trim, noop } from 'Common/Utils'; import { getNotification, i18n } from 'Common/Translator'; import { removeFolderFromCacheList } from 'Common/Cache'; import { appSettingsGet } from 'Storage/Settings'; import * as L...
robertol/rainloop-webmail
dev/Settings/User/Folders.js
JavaScript
agpl-3.0
4,247
var angularFilesort = require('gulp-angular-filesort'), bowerFiles = require('main-bower-files'), concat = require('gulp-concat'), del = require('del'), gulp = require('gulp'), gulpFilter = require('gulp-filter'), less = require('gulp-less'), inject = require('gulp-inject'), merge = requ...
bitblit11/yamcs
yamcs-web/gulpfile.js
JavaScript
agpl-3.0
4,673
/*! * jQuery corner plugin: simple corner rounding * Examples and documentation at: http://jquery.malsup.com/corner/ * version 2.03 (05-DEC-2009) * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html */ /** * corner() takes ...
jpartogi/projexion
public/javascripts/jquery.corner.js
JavaScript
agpl-3.0
8,423
jQuery(document).ready(function($){ /* Comment Display */ // add multiple select styling $('#comment-display-control').multipleSelect({ selectAll: false }); // hide the display none option $.each( $('.ms-drop.bottom').find('li'), function () { if ($(this).find('input').val() ...
hsgr/medialibre
wp-content/themes/founder/js/build/customizer.js
JavaScript
agpl-3.0
24,195
var searchData= [ ['info',['INFO',['../classpathpy_1_1Log_1_1Severity.html#a12fb98e4cc0d9e68114e29e8f6758c22',1,'pathpy::Log::Severity']]] ];
IngoScholtes/pathpy
docs/search/variables_3.js
JavaScript
agpl-3.0
144
'use strict'; module.exports = function (grunt) { // util for grunt.template grunt.toJSON = function(input) { return JSON.stringify(input); }; var config = { pkg: grunt.file.readJSON('./package.json'), appDir: 'app', tmpDir: '.tmp', distDir: 'dist', spe...
sivakuna-aap/superdesk
client/Gruntfile.js
JavaScript
agpl-3.0
2,399
/** * searx is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * searx is distributed in the hope that it will be useful, * but W...
misnyo/searx
searx/static/themes/simple/js/searx_src/searx_mapresult.js
JavaScript
agpl-3.0
7,236
/* YUI 3.10.0 (build a03ce0e) Copyright 2013 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('datatable-base', function (Y, NAME) { /** A Widget for displaying tabular data. The base implementation of DataTable provides the ability to dynamically generate an...
miing/mci_migo
identityprovider/static/yui/3.10.0/datatable-base/datatable-base.js
JavaScript
agpl-3.0
23,329
/** * This file is part of Shuup. * * Copyright (c) 2012-2021, Shuup Commerce Inc. All rights reserved. * * This source code is licensed under the OSL-3.0 license found in the * LICENSE file in the root directory of this source tree. */ window.changeLanguage = function changeLanguage() { const form = documen...
shoopio/shoop
shuup/front/static_src/js/language_changer.js
JavaScript
agpl-3.0
751
module.exports = AuditAPI; function AuditAPI(hatch){ this.hatch = hatch; } AuditAPI.prototype.track = function track(groupId, eventType, details, cb) { var Event = this.hatch.compound.models.Event; Event.create({ groupId: groupId, type: groupId + '-' + eventType, details: details,...
yilab/hatchjs
lib/api/audit.js
JavaScript
agpl-3.0
1,740
/* * Ext JS Library 2.3.0 * Copyright(c) 2006-2009, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /* * Farsi (Persian) translation * By Mohaqa * 03-10-2007, 06:23 PM */ Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">در حال بارگذاری ...</div>'; if(Ex...
xwiki-labs/sankoreorg
web/src/main/webapp/skins/curriki20/extjs/source/locale/ext-lang-fa.js
JavaScript
lgpl-2.1
8,370
//>>built define("dojox/gfx/canvasWithEvents",["dojo/_base/lang","dojo/_base/declare","dojo/_base/connect","dojo/_base/Color","dojo/dom","dojo/dom-geometry","./_base","./canvas","./shape","./matrix"],function(_1,_2,_3,_4,_5,_6,g,_7,_8,m){ var _9=g.canvasWithEvents={}; _2("dojox.gfx.canvasWithEvents.Shape",_7.Shape,{_te...
marcbuils/WorkESB
www/admin/lib/dojo/dojox/gfx/canvasWithEvents.js
JavaScript
lgpl-3.0
9,986
/* @flow */ import React from 'react'; import { TouchableOpacity, View, Platform, Image } from 'react-native'; import { connectStyle } from '@shoutem/theme'; import mapPropsToStyleNames from '../../Utils/mapPropsToStyleNames'; import NativeBaseComponent from '../Base/NativeBaseComponent'; import computeProps from '../...
odapplications/WebView-with-Lower-Tab-Menu
node_modules/native-base/src/backward/Widgets/CardItem.js
JavaScript
lgpl-3.0
5,966
// Karma configuration // http://karma-runner.github.io/0.10/config/configuration-file.html module.exports = function(config) { config.set({ // base path, that will be used to resolve files and exclude basePath: '', // testing framework to use (jasmine/mocha/qunit/...) frameworks: ['jasmine'], ...
crismaproject/pilot-e-debriefing-wirecloud-widget
karma.conf.js
JavaScript
lgpl-3.0
1,792
const path = require('path'); const merge = require('webpack-merge'); const webpackCommonConfig = require('./webpack.common.js'); // the display name of the war const app = 'task-management'; const config = merge(webpackCommonConfig, { output: { path: path.resolve(__dirname, `./target/${app}/`) } }); module....
exoplatform/task
task-management/webpack.prod.js
JavaScript
lgpl-3.0
337
/* */ var convert = require('./convert'); module.exports = convert('trim', require('../trim'));
EpitaJS/js-class-2016
jspm_packages/npm/lodash@4.6.1/fp/trim.js
JavaScript
unlicense
97
#!/usr/bin/env node 'use strict'; console.log('Hello world !'); // https://akdubya.github.io/dustjs/#guide var dust = require('dustjs-linkedin'); var compiled = dust.compile('Hello {name}!', 'intro'); dust.loadSource(compiled); dust.render('intro', {name: 'Fred'}, function(err, out) { console.log(out); });
Offirmo/html_tests
nodejs/mod_dust_001/server.js
JavaScript
unlicense
315
/*! AutoFill 2.3.3 ©2008-2018 SpryMedia Ltd - datatables.net/license */ (function(e){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(h){return e(h,window,document)}):"object"===typeof exports?module.exports=function(h,i){h||(h=window);if(!i||!i.fn.dataTable)i=require("datatables.net...
vito16/shop
src/main/resources/static/common/plugins/datatables-autofill/js/dataTables.autoFill.min.js
JavaScript
apache-2.0
11,317
// Copyright 2007 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...
maxogden/googlyscript
closure-library/closure/goog/testing/testqueue.js
JavaScript
apache-2.0
1,715