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 |
|---|---|---|---|---|---|
import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["children", "primary", "label"];
import { createScopedElement } from "../../lib/jsxRuntime";
import Tappable from "../Tappable/Tappable";
import { getClassName }... | cdnjs/cdnjs | ajax/libs/vkui/4.25.2/components/PanelHeaderButton/PanelHeaderButton.js | JavaScript | mit | 2,622 |
this.primereact = this.primereact || {};
this.primereact.menubar = (function (exports, React, core) {
'use strict';
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
function _clas... | cdnjs/cdnjs | ajax/libs/primereact/6.6.0/menubar/menubar.js | JavaScript | mit | 22,647 |
var UndoManager = function () {
"use strict";
var commandStack = [], index = -1, undoManagerContext = false, callback;
function execute(command) {
if (!command) {
return;
}
undoManagerContext = true;
command.f.apply(command.o, command.p);
undoManagerConte... | SayenkoDesign/playground | wp-content/plugins/pootle-page-builder/js/ui.admin.undomanager.min.js | JavaScript | gpl-2.0 | 2,207 |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastefromword', 'bn', {
confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSIN... | SeeyaSia/www | web/libraries/ckeditor/plugins/pastefromword/lang/bn.js | JavaScript | gpl-2.0 | 507 |
/*
Copyright (c) 2003-2011, 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
* Canadian French language.
*/
/**#@+
@type String
@example
*/
/**
* Contains the dictionary... | mgzrobles/martin | sites/all/modules/contrib/ckeditor/ckeditor/_source/lang/fr-ca.js | JavaScript | gpl-2.0 | 26,235 |
//@ sourceMappingURL=util.map
// Generated by CoffeeScript 1.6.1
var Util, semver;
semver = require('semver');
Util = (function() {
function Util() {}
Util.convertObjectKeysToUnderscores = function(obj) {
var item, key, newKey, newObj, value;
newObj = {};
for (key in obj) {
value = obj[key];
... | jeffprestes/node-braintree-demo | node_modules/braintree/lib/braintree/util.js | JavaScript | gpl-2.0 | 4,838 |
var coveralls = require('gulp-coveralls');
var del = require('del');
var gulp = require('gulp');
var jshint = require('gulp-jshint');
var karma = require('karma');
var rename = require('gulp-rename');
var runSequence = require('run-sequence');
var sourcemaps = require('gulp-sourcemaps');
var uglify = require('gulp-ugli... | Hassan93/openTima | node_modules/stackframe/gulpfile.js | JavaScript | gpl-2.0 | 1,553 |
/**
* A helper class that allows random access to the table cells
* and introduces place-holders for fields occupied by spanning cells,
* making it a non-sparse representation of the sparse HTML model.
* This is essential for the implementation of table manipulations, such as row insertions or deletions.
*
* Exam... | felixonmars/app | extensions/VisualEditor/lib/ve/src/dm/ve.dm.TableMatrix.js | JavaScript | gpl-2.0 | 8,679 |
/*!
* nib
* Copyright (c) 2010 TJ Holowaychuk <tj@vision-media.ca>
* MIT Licensed
*/
/**
* Module dependencies.
*/
var stylus = require('stylus')
, nodes = stylus.nodes
, utils = stylus.utils
, Canvas
exports = module.exports = plugin;
// conditionally expose canvas-based APIs.
try {
Canvas = requir... | 0is1/edulaboro | node_modules/nib/lib/nib.js | JavaScript | gpl-2.0 | 1,213 |
jQuery(function($) {
var hasRecipe = $( '#hasRecipe' );
$(hasRecipe).change(function(){
$( '#recipress_table' ).slideToggle( 'slow' );
});
if($(hasRecipe).is( ':checked' ) ) $( '#recipress_table' ).show();
// the upload image button, saves the id and outputs a preview of the image
var imageFrame;
... | theclue/recipress-reloaded | js/recipress.admin.js | JavaScript | gpl-2.0 | 3,410 |
/* ============================================================
* bootstrap-buttons.js v1.4.0
* http://twitter.github.com/bootstrap/javascript.html#buttons
* ============================================================
* Copyright 2011 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "L... | mikedgibson/sampleserver | web/lib/bootstrap/bootstrap-buttons.js | JavaScript | gpl-3.0 | 1,852 |
define('ghost-admin/components/one-way-time', ['exports', 'ember-one-way-controls/components/one-way-time'], function (exports, _emberOneWayControlsComponentsOneWayTime) {
Object.defineProperty(exports, 'default', {
enumerable: true,
get: function get() {
return _emberOneWayControlsComponentsOneWayTime[... | Elektro1776/latestEarthables | core/client/tmp/broccoli_persistent_filterbabel-output_path-n6sfkWvE.tmp/ghost-admin/components/one-way-time.js | JavaScript | gpl-3.0 | 347 |
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define("OctoPrintClient", ["jquery", "lodash"], factory);
} else {
global.OctoPrintClient = factory(global.$, global._);
global.OctoPrint = new global.OctoPrintClient();
}
})(this, function($, _) {
va... | bicephale/OctoPrint | src/octoprint/static/js/app/client/base.js | JavaScript | agpl-3.0 | 10,096 |
Clazz.declarePackage ("org.jmol.renderbio");
Clazz.load (["org.jmol.renderbio.BioShapeRenderer"], "org.jmol.renderbio.StrandsRenderer", null, function () {
c$ = Clazz.decorateAsClass (function () {
this.strandCount = 0;
this.strandSeparation = 0;
this.baseOffset = 0;
Clazz.instantialize (this, arguments);
}, org.jmol.r... | ksripathi/edx-demo-course | static/jsmol/j2s/org/jmol/renderbio/StrandsRenderer.js | JavaScript | agpl-3.0 | 1,670 |
// NanoUtility is the place to store utility functions
var NanoUtility = function ()
{
var _urlParameters = {}; // This is populated with the base url parameters (used by all links), which is probaby just the "src" parameter
return {
init: function ()
{
var body = $('body'); // We store data in the... | ZomgPonies/Paradise64 | nano/js/nano_utility.js | JavaScript | agpl-3.0 | 4,202 |
/*
* Copyright (C) 2008 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | pocketbook-free/browser | webkit-1.2.5/WebCore/inspector/front-end/TextPrompt.js | JavaScript | lgpl-2.1 | 14,404 |
/*jshint browser: true */
/*jshint unused: false */
/*global Backbone, window, arangoCollectionModel, $, arangoHelper, data, _ */
(function() {
"use strict";
window.arangoCollections = Backbone.Collection.extend({
url: '/_api/collection',
model: arangoCollectionModel,
searchOptions : {
... | mujiansu/arangodb | js/apps/system/_admin/aardvark/APP/frontend/js/collections/arangoCollections.js | JavaScript | apache-2.0 | 5,786 |
/*
* 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 ... | MrRaindrop/incubator-weex | html5/render/vue/components/div.js | JavaScript | apache-2.0 | 1,414 |
/**
* @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
*/
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
export default [
'hr',
... | N03297857/2017Fall | node_modules/@angular/common/locales/hr.js | JavaScript | apache-2.0 | 2,703 |
/*
Copyright 2011 Google
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 in writing, software
distribu... | Engr-Kaka/video-player-sample | source/core/js/gva/vo/Episode.js | JavaScript | apache-2.0 | 1,322 |
//// [tests/cases/compiler/declFileExportImportChain2.ts] ////
//// [declFileExportImportChain2_a.ts]
module m1 {
export module m2 {
export class c1 {
}
}
}
export = m1;
//// [declFileExportImportChain2_b.ts]
import a = require("declFileExportImportChain2_a");
export = a;
//// [declFil... | mkusher/TypeScript | tests/baselines/reference/declFileExportImportChain2.js | JavaScript | apache-2.0 | 2,001 |
import _ from 'lodash'
import {ATTR, hasAttributeFor} from './attributes'
const SUPER_SUB_FONT_RATIO = 0.65 // matches MS word according to http://en.wikipedia.org/wiki/Subscript_and_superscript
function calcFontScale(fontSize, unitsPerEm) {
return 1 / unitsPerEm * fontSize
}
function calcSuperSubFontSize(fontSiz... | gaurav-rygbee/ritzy | src/core/TextFontMetrics.js | JavaScript | apache-2.0 | 9,719 |
'use strict'
var Atomic = require('./component')
var sender = require('../bridge/sender')
// attrs:
// - options: the options to be listed, as a array of strings.
// - selectedIndex: the selected options' index number.
// - disabled
function Select (data) {
var attrs = data.attr || {}
this.options = []
th... | sospartan/weex | src/h5-render/src/components/select.js | JavaScript | apache-2.0 | 2,316 |
import Component from '@ember/component';
import layout from './template';
export default Component.extend({
layout,
tagName: '',
applyClusterTemplate: null,
clusterTemplateCreate: null,
computedOverrideAllowed() {
throw new Error('computedOverrideAllowed function required!');
}
});
| rancherio/ui | lib/shared/addon/components/check-computed-override/component.js | JavaScript | apache-2.0 | 305 |
/* Namespace for core functionality related to Forms. */
horizon.forms = {
handle_snapshot_source: function() {
$("div.table_wrapper, #modal_wrapper").on("change", "select#id_snapshot_source", function() {
var $option = $(this).find("option:selected");
var $form = $(this).closest('form');
var $v... | ankur-gupta91/horizon-net-ip | horizon/static/horizon/js/horizon.forms.js | JavaScript | apache-2.0 | 15,636 |
/**
*
* Copyright 2015 Google Inc. 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 required by app... | GoogleChrome/voice-memos | src/scripts/libs/PubSub.js | JavaScript | apache-2.0 | 1,389 |
/*!
* ${copyright}
*/
// Provides default renderer for the sap.ui.ux3.Overlay
sap.ui.define(['jquery.sap.global'],
function(jQuery) {
"use strict";
/**
* Overlay renderer.
* @namespace
*/
var OverlayRenderer = {
};
/**
* Renders the HTML for the given control, using the provided {@link sap.ui.core.... | SQCLabs/openui5 | src/sap.ui.ux3/src/sap/ui/ux3/OverlayRenderer.js | JavaScript | apache-2.0 | 2,284 |
/*
* Copyright 2012 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... | mlaval/ariatemplates | test/aria/templates/statements/StatementParserTest.js | JavaScript | apache-2.0 | 2,840 |
// Copyright 2019 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --experimental-wasm-eh --experimental-wasm-anyref --allow-natives-syntax
// Flags: --wasm-interpret-all
// This is just a wrapper for existin... | wiltonlazary/arangodb | 3rdParty/V8/v7.9.317/test/mjsunit/wasm/exceptions-anyref-interpreter.js | JavaScript | apache-2.0 | 539 |
/**
* @fileoverview dragscroll - scroll area by dragging
* @version 0.0.6
*
* @license MIT, see http://github.com/asvd/intence
* @copyright 2015 asvd <heliosframework@gmail.com>
*/
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
define(['exports'], factory);
} els... | radekpakula/tiff-viewer-addon | tiffviewer-addon/src/main/java/pl/tiffviewer/dragscroll.js | JavaScript | apache-2.0 | 2,896 |
/*
* 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 may no... | 100star/echarts | src/chart/line/LineView.js | JavaScript | apache-2.0 | 26,342 |
'use strict';
angular.module('ontimeApp')
.factory('errorHandlerInterceptor', function ($q, $rootScope) {
return {
'responseError': function (response) {
if (!(response.status == 401 && response.data.path.indexOf("/api/account") == 0 )){
$rootScope.$emit('ontime... | sandor-balazs/nosql-java | oracle/src/main/webapp/scripts/components/interceptor/errorhandler.interceptor.js | JavaScript | bsd-2-clause | 438 |
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.2.3.6-4-610
description: ES5 Attributes - all attributes in Object.keys are correct
---*/
var desc = Object.getOwnPropertyDescriptor(Object, "keys");
var propertyAreC... | sebastienros/jint | Jint.Tests.Test262/test/built-ins/Object/defineProperty/15.2.3.6-4-610.js | JavaScript | bsd-2-clause | 901 |
/*
* Author: Zoltán Lajos Kis <zoltan.lajos.kis@ericsson.com>
*/
"use strict";
module.exports.bin = [
0x02, // version = 2
0x02, // type = 2
0x00, 0x0d, // length = 13
0x49, 0x96, 0x02, 0xd2, ... | John-Lin/oflib-node | test/oflib-1.1/messages/echo-request-2.js | JavaScript | bsd-3-clause | 698 |
var each = require('..');
each( [{id: 1}, {id: 2}, {id: 3}] )
.parallel( 4 )
.call(function(element, index, next) {
console.log('element: ', element, '@', index);
setTimeout(next, 500);
})
.error(function(err){
console.log(err.message);
err.errors.forEach(function(error){
console.log(' '+error.message);
... | wdavidw/node-each | samples/array_concurrent.js | JavaScript | bsd-3-clause | 374 |
/**
* Auto-update the 'latest activity' widget.
*
* @mixin
* @namespace Bolt.activity
*
* @param {Object} bolt - The Bolt module.
* @param {Object} $ - jQuery.
*/
(function (bolt, $) {
/**
* Bolt.activity mixin container.
*
* @private
* @type {Object}
*/
var activity = {};
... | GDmac/bolt | app/src/js/modules/activity.js | JavaScript | mit | 1,533 |
/*
Copyright (C) 2012 by Samuel Ronce
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, modify, merge, publish, distribute,... | RSamaium/CanvasEngine | extends/Tiled.js | JavaScript | mit | 13,768 |
var name = "Supafly Flycatcher";
var collection_type = 0;
var is_secret = 0;
var desc = "Caught 501 perfectly perfect jars of Fireflies";
var status_text = "Yes! 501 perfect jars of Fireflies, making you a certifiably Supafly Flycatcher. Tell all your friends.";
var last_published = 1348802871;
var is_shareworthy =... | Mexiswow/eleven-gsjs | achievements/supafly_flycatcher.js | JavaScript | mit | 1,667 |
version https://git-lfs.github.com/spec/v1
oid sha256:574bbfb7c8314e96c3e7dfcb549768dc2e7fbd5859d9459c3331a3120b674923
size 5051
| yogeshsaroya/new-cdnjs | ajax/libs/yui/3.8.0/tabview/tabview-min.js | JavaScript | mit | 129 |
/*
* 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.
*/
'... | lmazuel/azure-sdk-for-node | lib/services/automationManagement/lib/models/dscNodeReportListResult.js | JavaScript | mit | 1,607 |
class ExplorerNavCtrl {
constructor() {
'ngInject';
}
}
let ExplorerNav = {
controller: ExplorerNavCtrl,
templateUrl: 'modules/explorer/layout/nav.html'
};
export default ExplorerNav; | mizunashi/NanoWallet | src/app/modules/explorer/layout/nav.component.js | JavaScript | mit | 207 |
//----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------------------
"use strict";
var crypto = require("crypto");
var AuthHandler = {
getAuthorizationHeader: fun... | hcpups0414/documentdb1 | node_modules/documentdb/lib/auth.js | JavaScript | mit | 2,298 |
export const INCREMENT_COUNTER = 'INCREMENT_COUNTER';
export const DECREMENT_COUNTER = 'DECREMENT_COUNTER';
export function increment() {
return {
type: INCREMENT_COUNTER
};
}
export function decrement() {
return {
type: DECREMENT_COUNTER
};
}
export function incrementIfOdd() {
return (dispatch,... | AnthonyWhitaker/redux-boilerplate | src/actions/counter.js | JavaScript | mit | 603 |
import { isBlank, isPresent, CONST_EXPR, isString } from 'angular2/src/facade/lang';
import { PromiseWrapper } from 'angular2/src/facade/promise';
import { ObservableWrapper } from 'angular2/src/facade/async';
import { StringMapWrapper } from 'angular2/src/facade/collection';
import { OpaqueToken } from 'angular2/c... | luq885/BandwagonHelper | node_modules/angular2/es6/prod/src/common/forms/validators.js | JavaScript | mit | 4,044 |
"use strict";
const idlUtils = require("../generated/utils");
const ElementImpl = require("./Element-impl").implementation;
const MouseEvent = require("../generated/MouseEvent");
const GlobalEventHandlersImpl = require("./GlobalEventHandlers-impl").implementation;
const focusing = require("../helpers/focusing.js");
c... | danshapiro-optimizely/full_stack_redux | voting-client/node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js | JavaScript | mit | 5,080 |
// Copyright 2008 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... | ex/js | lib/closure-library/closure/goog/ui/emoji/fast_nonprogressive_emojipicker_test.js | JavaScript | mit | 9,575 |
KISSY.add(function (S, Node,Demo) {
var $ = Node.all;
describe('tb-video-player', function () {
it('Instantiation of components',function(){
var demo = new Demo();
expect(S.isObject(demo)).toBe(true);
})
});
},{requires:['node','gallery/tb-video-player/1.5/']}); | kissygalleryteam/tb-video-player | doc/test/spec/index-spec.js | JavaScript | mit | 315 |
{
// Map BGM
addAudio:[
["map-bgm",[audioserver+"tlol-cave.mp3",audioserver+"tlol-cave.ogg"],{channel:"bgmusic",loop:true}],
],
// Map graphics
addImage:[
["tiles","resources/tlol/gfx-cave.png"],
],
// Map Tileset
addTiles:[
{id:"tiles",image:"tiles",tileh:30,tilew:30,tilerow:10,gapx:0,gapy:0},
],
se... | blanu/embiggen | resources/tlol/bundle-map-floor2.js | JavaScript | mit | 6,673 |
'use strict';
describe('myApp.view5 module', function() {
beforeEach(module('myApp.view5'));
describe('view5 controller', function(){
it('should ....', inject(function($controller) {
//spec body
var view5Ctrl = $controller('View5Ctrl');
expect(view5Ctrl).toBeDefined();
}));
});
}); | guyoun/test-angular-app | app/view6/view6_test.js | JavaScript | mit | 319 |
/**
* Created by alberto on 6/7/15.
*/
angular.module('routing').controller('TasksListController', TasksListController);
function TasksListController($scope, $rootScope) {
$scope.search = {};
$scope.taskslist = $rootScope.taskslist;
} | albertsgrc/curso-mean-jedi | ejemplos/12_angular_routing/controllers/tasksListCtrl.js | JavaScript | mit | 241 |
var moment = require("../../index");
exports["America/Los_Angeles"] = {
"1918" : function (t) {
t.equal(moment("1918-03-31T09:59:59+00:00").tz("America/Los_Angeles").format("HH:mm:ss"), "01:59:59", "1918-03-31T09:59:59+00:00 should be 01:59:59 PST");
t.equal(moment("1918-03-31T10:00:00+00:00").tz("America/Los_An... | harishvc/twitter-stream-analytics | node_modules/moment-timezone/tests/america/los_angeles.js | JavaScript | mit | 118,170 |
/*globals console, angular*/
'use strict';
var demoApp = angular.module('isis.ui.contextmenu.demo', ['isis.ui.contextmenu']);
demoApp.controller('ContextmenuCustomTemplateController', function ($scope, contextmenuService) {
$scope.parameter = {};
$scope.closeClick = function () {
console.log('closin... | vu-isis/isis-ui-components | src/library/contextmenu/docs/demo.js | JavaScript | mit | 2,985 |
/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */
import 'babel-core/polyfill';
import path from 'path';
import express from 'express';
import React from 'react';
import ReactDOM from 'react-dom/server';
import Router from './routes';
import Html from './components/Html';
import assets from './a... | AlexKhymenko/ES6React | src/server.js | JavaScript | mit | 1,915 |
package test0526;
public class A {
public class B {
void test() throws CloneNotSupportedException {
Runnable runnable = new Runnable() {
public void run() {
System.out.println();
}
};
}
}
} | echoes-tech/eclipse.jsdt.core | org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0526/A.js | JavaScript | epl-1.0 | 227 |
Clazz.declarePackage ("org.eclipse.osgi.framework.internal.core");
Clazz.load (["java.util.PropertyResourceBundle", "$.ResourceBundle", "$.Hashtable"], "org.eclipse.osgi.framework.internal.core.ManifestLocalization", ["java.util.ArrayList", "$.Locale", "org.eclipse.osgi.framework.util.Headers"], function () {
c$ = Cla... | 01org/mayloon-portingtool | sources/net.sf.j2s.lib/j2slib/org/eclipse/osgi/framework/internal/core/ManifestLocalization.js | JavaScript | epl-1.0 | 7,438 |
'use strict';
/**
* @ngdoc function
* @name saludWebApp.controller:AboutCtrl
* @description
* # AboutCtrl
* Controller of the saludWebApp
*/
angular.module('saludWebApp')
.controller('MessagesCtrl', function ($scope,Auth,Notifications,moment,global,Profile) {
Auth.isLogged(function(){
$scope.icon='f... | lightning-round/salud-web | app/scripts/controllers/messages.js | JavaScript | gpl-2.0 | 956 |
$(document).ready(function(){
$('#sf_admin_actions_button').click(function(){
setTimeout(function(){ // this is a trick to let jquery-ui do its work first
$('.sf_admin_action_extract a').unbind('click').click(function(){
var data = LI.tableToArray($('.sf_admin_list'), ['thead', 'tbody']);
wi... | Fabrice-li/e-venement | web/js/list-extract.js | JavaScript | gpl-2.0 | 484 |
/**
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
/**
* JImageManager behavior for media component
*
* @package Joomla.Extensions
* @subpackage Media
* @since 1.5
*/
(function($) {
var Imag... | kylephp/joomla-cms | media/media/js/popup-imagemanager.js | JavaScript | gpl-2.0 | 6,737 |
// -------------------- sankore --------------------
// Ces fonctions permettent de dessiner le graphique directement dans sankore.
// Calcule tous les points de la fonction mathématique et les place dans des tableaux.
function evaluerUniboard(eq) {
largeur += 100
hauteur += 100
decalageX -= 250
decal... | ambientelivre/Sankore-3.1 | resources/library/applications/Grapheur.wgt/JavaScript/AffichageUniboard.js | JavaScript | gpl-3.0 | 2,485 |
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = R... | chitranshi21/home_service_ionic | node_modules/ionic-native/dist/es5/plugins/hotspot.js | JavaScript | gpl-3.0 | 10,105 |
/*
* This program is part of the OpenLMIS logistics management information system platform software.
* Copyright © 2013 VillageReach
*
* This program 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, eith... | kelvinmbwilo/vims | modules/openlmis-web/src/test/javascript/specs/distribution/controller/distribution-controller-test.js | JavaScript | agpl-3.0 | 4,846 |
/**
* Kendo UI v2018.1.221 (http://www.telerik.com/kendo-ui)
* Copyright 2018 Telerik AD. All rights reserved. ... | Memba/Memba-Widgets | src/js/vendor/kendo/cultures/kendo.culture.gd-GB.js | JavaScript | agpl-3.0 | 6,637 |
/**
* Shopware 5
* Copyright (c) shopware AG
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Public License with an additional
* permission... | egoistIT/shopware | themes/Backend/ExtJs/backend/config/controller/form.js | JavaScript | agpl-3.0 | 20,035 |
description('Test that the caret is positioned correctly when its offset occurrs in the middle of a ligature,\
and that hit-testing in the middle of a ligature works correctly.');
var latin = document.createElement("div");
latin.innerHTML = "office";
latin.style.fontSize = "72px";
latin.style.textRendering = "opti... | youfoh/webkit-efl | LayoutTests/platform/mac/fast/text/script-tests/ligature-subdivision.js | JavaScript | lgpl-2.1 | 2,106 |
var x11 = require('../../lib');
var PointerMotion = x11.eventMask.PointerMotion;
var xclient = x11.createClient(function(err, display) {
var X = display.client;
var root = display.screen[0].root;
display.client.require('render', function(err, Render) {
var wid = X.AllocID();
var white = dis... | cloady/oxyde | usr/share/oxyde/desktop/node_modules/x11/examples/simple/render.js | JavaScript | lgpl-3.0 | 1,162 |
/*
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
version: 3.3.0
build: 3167
*/
YUI.add('event-flick', function(Y) {
/**
* The gestures module provides gesture events such as "flick", which normalize user interactions
* across tou... | vegitron/sqlshare | sqlshare/static/javascript/yui/3.3.0/build/event-gestures/event-gestures-debug.js | JavaScript | apache-2.0 | 26,467 |
/*
* 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 "Lice... | arenadata/ambari | contrib/views/wfmanager/src/main/resources/ui/tests/integration/components/archive-config-test.js | JavaScript | apache-2.0 | 1,505 |
//// [labeledStatementWithLabel_strict.ts]
"use strict"
label: function fn() { }
label: function* gen() { }
label: async function gen1() { }
label: enum E {}
label: interface I {}
label: class C { }
label: var a = 1;
label: let b = 1;
label: const c = 1;
label: module M { }
label: namespace N {}
label: type T = {}
... | domchen/typescript-plus | tests/baselines/reference/labeledStatementWithLabel_strict.js | JavaScript | apache-2.0 | 1,322 |
import {
FileLoader,
Loader,
CanvasTexture,
NearestFilter
} from '../../../build/three.module.js';
class LottieLoader extends Loader {
setQuality( value ) {
this._quality = value;
}
load( url, onLoad, onProgress, onError ) {
const quality = this._quality || 1;
const texture = new CanvasTexture();
... | nhibchung/nhibchung.github.io | project/arWebglTest/examples/jsm/loaders/LottieLoader.js | JavaScript | apache-2.0 | 1,407 |
/*jshint globalstrict:false, strict:false, maxlen: 500 */
/*global assertEqual */
////////////////////////////////////////////////////////////////////////////////
/// @brief tests for query language, range optimizations
///
/// @file
///
/// DISCLAIMER
///
/// Copyright 2010-2012 triagens GmbH, Cologne, Germany
///
//... | wiltonlazary/arangodb | tests/js/server/aql/aql-ranges-combined-10.js | JavaScript | apache-2.0 | 565,489 |
var SocketCluster = require('../../index').SocketCluster;
var socketCluster = new SocketCluster({
workers: 1,
brokers: 1,
port: 8000,
appName: 'myapp',
workerController: __dirname + '/worker.js',
brokerController: __dirname + '/broker.js',
socketChannelLimit: 100,
crashWorkerOnError: true,
rebootWork... | quanyang/PubSubChat | socketcluster/griddit-chat/node_modules/socketcluster/test/external/server.js | JavaScript | apache-2.0 | 462 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/// Ecma International makes this code available under the terms and conditions set
/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
/// "Use Terms"). Any redistribution of this code must retain the above
/// copyrigh... | hippich/typescript | tests/Fidelity/test262/suite/ch15/15.5/15.5.4/15.5.4.20/15.5.4.20-4-3.js | JavaScript | apache-2.0 | 650 |
/**
* Sitespeed.io - How speedy is your site? (http://www.sitespeed.io)
* Copyright (c) 2014, Peter Hedenskog, Tobias Lidskog
* and other contributors
* Released under the Apache 2.0 License
*/
'use strict';
var Aggregator = require('../aggregator');
module.exports = new Aggregator('jsPerPage', 'Number of JS fil... | guptaanoop2005/sitespeed.io | lib/aggregators/yslow/jsPerPage.js | JavaScript | apache-2.0 | 678 |
({
L_MENU_GRID: "Menu grid",
L_MENU_ITEM_DISABLED: "%1 unavailable",
L_MENU_ITEM_SUBMENU: "%1 sub menu",
L_MENU_SUBMENU: "sub menu",
L_MENU_CHECK: "check"
}) | iharkhukhrakou/XPagesExtensionLibrary | extlib/lwp/product/runtime/eclipse/plugins/com.ibm.xsp.extlib.domino/resources/web/dwa/common/nls/menu.js | JavaScript | apache-2.0 | 157 |
/*\
|*|
|*| :: cookies.js ::
|*|
|*| A complete cookies reader/writer framework with full unicode support.
|*|
|*| Revision #1 - September 4, 2014
|*|
|*| https://developer.mozilla.org/en-US/docs/Web/API/document.cookie
|*|
|*| This framework is released under the GNU Public License, version 3 or later.
|*| http:... | CI-WATER/django-tethys_apps | tethys_apps/static/tethys_apps/vendor/cookies.js | JavaScript | bsd-2-clause | 2,457 |
var a = {
a: 1,
b: 2, // <-- trailing comma
};
| robashton/zombify | src/node_modules/zombie/node_modules/html5/node_modules/tap/node_modules/runforcover/node_modules/bunker/node_modules/burrito/node_modules/uglify-js/test/unit/compress/test/issue9.js | JavaScript | mit | 59 |
var util = require("util");
var choreography = require("temboo/core/choreography");
/*
GeoPoint
Associates a Geo point with an existing object.
*/
var GeoPoint = function(session) {
/*
Create a new instance of the GeoPoint Choreo. A TembooSession object, containing a valid
set of Temboo... | ideino/ideino-linino-dist-abandoned | node_modules/temboo/Library/Parse/GeoPoints.js | JavaScript | mit | 7,885 |
/**
* Dropdown module.
* @module foundation.dropdown
* @requires foundation.util.keyboard
* @requires foundation.util.box
*/
!function($, Foundation){
'use strict';
/**
* Creates a new instance of a dropdown.
* @class
* @param {jQuery} element - jQuery object to make into an accordion menu.
* @para... | aaronkwhite/foundation-jekyll | source/assets/javascripts/foundation.dropdown.js | JavaScript | mit | 10,620 |
/* global QUnit */
import { RawShaderMaterial } from '../../../../src/materials/RawShaderMaterial';
export default QUnit.module( 'Materials', () => {
QUnit.module( 'RawShaderMaterial', () => {
// INHERITANCE
QUnit.todo( "Extending", ( assert ) => {
assert.ok( false, "everything's gonna be alright" );
} ... | opensim-org/three.js | test/unit/src/materials/RawShaderMaterial.tests.js | JavaScript | mit | 599 |
'use strict'
const assert = require('assert')
const {closeWindow} = require('./window-helpers')
const {remote} = require('electron')
const {BrowserView, BrowserWindow} = remote
describe('View module', function () {
var w = null
var view = null
beforeEach(function () {
w = new BrowserWindow({
show: f... | biblerule/UMCTelnetHub | spec/api-browser-view-spec.js | JavaScript | mit | 2,281 |
/*!
* IE10 viewport hack for Surface/desktop Windows 8 bug
* Copyright 2014-2015 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
// See the Getting Started docs for more information:
// http://getbootstrap.com/getting-started/#support-ie10-width
(function () {
'use ... | DevGroup-ru/yii2-extensions-manager | tests/testapp/assets/js/ie10-viewport-bug-workaround.js | JavaScript | mit | 645 |
import Ember from 'ember';
import { moduleForComponent, test } from 'ember-qunit';
import InputBasedMixin from 'sl-ember-components/mixins/sl-input-based';
import TooltipEnabledMixin from 'sl-ember-components/mixins/sl-tooltip-enabled';
moduleForComponent( 'sl-textarea', 'Unit | Component | sl textarea', {
unit: t... | SpikedKira/sl-ember-components | tests/unit/components/sl-textarea-test.js | JavaScript | mit | 7,236 |
/**
* MySql: https://github.com/felixge/node-mysql
*/
function MySql () {
this.client = require('mysql');
this.connection = null;
this.config = null;
this.mysql = true;
this.name = 'mysql';
}
MySql.prototype.connect = function (options, done) {
this.connection = this.client.createConnectio... | simov/express-admin | lib/db/client.js | JavaScript | mit | 5,877 |
/**
* @license Highmaps JS v6.1.2 (2018-08-31)
* Highmaps as a plugin for Highcharts or Highstock.
*
* (c) 2011-2017 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
module.exports = factory;
} else if (typeof de... | seogi1004/cdnjs | ajax/libs/highcharts/6.1.2/modules/map.src.js | JavaScript | mit | 180,044 |
CKEDITOR.plugins.setLang("flash","lt",{access:"Skripto priėjimas",accessAlways:"Visada",accessNever:"Niekada",accessSameDomain:"Tas pats domenas",alignAbsBottom:"Absoliučią apačią",alignAbsMiddle:"Absoliutų vidurį",alignBaseline:"Apatinę liniją",alignTextTop:"Teksto viršūnę",bgcolor:"Fono spalva",chkFull:"Leisti per v... | seekmas/makoto.local | web/bundles/sonataformatter/vendor/ckeditor/plugins/flash/lang/lt.js | JavaScript | mit | 1,117 |
var urljoin = require('url-join');
var WinChan = require('winchan');
var urlHelper = require('../helper/url');
var assert = require('../helper/assert');
var responseHandler = require('../helper/response-handler');
var PopupHandler = require('../helper/popup-handler');
var objectHelper = require('../helper/object');
va... | MiStudioX106/rbai | public/angular/src/assets/auth0-js/src/web-auth/popup.js | JavaScript | mit | 10,666 |
hljs.registerLanguage("erlang-repl",function(){"use strict";return function(e){
return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",
keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"
},contains:[{classNa... | cdnjs/cdnjs | ajax/libs/highlight.js/10.4.0-beta1/languages/erlang-repl.min.js | JavaScript | mit | 779 |
'use strict';
angular.module('filters.dirty', [])
.filter('returnDirtyItems', function () {
return function (modelToFilter, form, treatAsDirty, removeTheseCharacters) {
//removes pristine items
//note: treatAsDirty must be an array containing the names of items that should not be removed
for (var key in... | mat1th/openwheels-frontend | src/common/filters/DirtyFilter.js | JavaScript | gpl-2.0 | 2,405 |
// |jit-test| error: ReferenceError
symbols = [Symbol];
for (comparator of[, ])
for (a of symbols)
for (;;)
expect;
| Yukarumya/Yukarum-Redfoxes | js/src/jit-test/tests/for-of/bug-1331444.js | JavaScript | mpl-2.0 | 129 |
function openerp_pos_widgets(instance, module){ //module is instance.point_of_sale
var QWeb = instance.web.qweb;
var _t = instance.web._t;
module.DomCache = instance.web.Class.extend({
init: function(options){
options = options || {};
this.max_size = options.max_size || 2000;
... | ritchyteam/odoo | addons/point_of_sale/static/src/js/widgets.js | JavaScript | agpl-3.0 | 46,381 |
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt
frappe.provide("erpnext.support");
frappe.require("assets/erpnext/js/utils.js");
frappe.ui.form.on_change("Maintenance Visit", "customer", function(frm) {
erpnext.utils.get_party_details(f... | Tejal011089/huntercamp_erpnext | erpnext/support/doctype/maintenance_visit/maintenance_visit.js | JavaScript | agpl-3.0 | 3,309 |
/*
* jQuery OwlCarousel v1.3.2
*
* Copyright (c) 2013 Bartosz Wojciechowski
* http://www.owlgraphic.com/owlcarousel/
*
* Licensed under MIT
*
*/
/*JS Lint helpers: */
/*global dragMove: false, dragEnd: false, $, jQuery, alert, window, document */
/*jslint nomen: true, continue:true */
if (typeof Object.cr... | giubil/trackit | ui/ui/app/landing/js/owl.carousel.js | JavaScript | apache-2.0 | 52,827 |
//>>built
define(
"dijit/form/nls/ru/ComboBox", //begin v1.x content
({
previousMessage: "Предыдущие варианты",
nextMessage: "Следующие варианты"
})
//end v1.x content
);
| cfxram/grails-dojo | web-app/js/dojo/1.7.2/dijit/form/nls/ru/ComboBox.js | JavaScript | apache-2.0 | 210 |
// Copyright 2015 Google Inc. 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 required by applicable... | rf232/dashboard | src/app/frontend/replicationcontrollerlist/replicationcontrollerlist_stateconfig.js | JavaScript | apache-2.0 | 2,413 |
Blockly.Msg.ACTUAL = "iškviesti";
Blockly.Msg.ADD = "Pridėti";
Blockly.Msg.ADD_COMMENT = "Pridėkite komentarą";
Blockly.Msg.ADD_PARAMETER = "Pridėkite duomenų laukelį";
Blockly.Msg.CHANGE_VALUE_TITLE = "Pakeisti reikšmę:";
Blockly.Msg.CLOSE = "Užverti";
Blockly.Msg.COLLAPSE_ALL = "Suskleisti blokus";
Blockly.Msg.COLLAP... | pickettd/code-dot-org | blockly-core/msg/js/lt_lt.js | JavaScript | apache-2.0 | 29,038 |
/* vim:ts=4:sts=4:sw=4:
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://... | pizzapanther/Neutron-IDE | neutron/static/ide/js/ace/lib/ace/edit_session/folding.js | JavaScript | bsd-3-clause | 25,322 |
/*!
* QUnit 1.15.0
* http://qunitjs.com/
*
* Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2014-08-08T16:00Z
*/
(function( window ) {
var QUnit,
config,
onErrorFnPrev,
fileName = ( sourceFromStacktrac... | Orehouse/jcarousel | vendor/qunit/qunit.js | JavaScript | mit | 85,890 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S11.13.2_A4.10_T1.2;
* @section: 11.13.2, 11.10.2;
* @assertion: The production x ^= y is the same as x = x ^ y;
* @description: Type(x) and Type(y) vary between primitiv... | seraum/nectarjs | tests/ES3/Conformance/11_Expressions/11.13_Assignment_Operators/11.13.2_Compound_Assignment/S11.13.2_A4.10_T1.2.js | JavaScript | mit | 844 |
Kanboard.Screenshot = function(app) {
this.app = app;
this.pasteCatcher = null;
};
Kanboard.Screenshot.prototype.onPopoverOpened = function() {
if (this.app.hasId("screenshot-zone")) {
this.initialize();
}
};
// Setup event listener and workarounds
Kanboard.Screenshot.prototype.initialize = fu... | cdgeelen/kanboard | assets/js/src/Screenshot.js | JavaScript | mit | 4,120 |
/*
* Copyright (c) 2014 - present Adobe Systems Incorporated. All rights reserved.
*
* 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
* ... | revi/brackets | test/spec/ViewFactory-test.js | JavaScript | mit | 2,813 |