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 |
|---|---|---|---|---|---|
/*!
Copyright 2018 SpryMedia Ltd.
License MIT - http://datatables.net/license/mit
This feature plug-in for DataTables will automatically insert temporary rows
into a DataTable that draws a page that is less than the configured page
length. This can be handy to ensure that your table always as (e.g.) 10 ro... | LotarProject/dokuwiki-plugin-datatables | assets/datatables.net-plugins/features/rowFill/dataTables.rowFill.min.js | JavaScript | gpl-2.0 | 1,582 |
(function(global) {
var Miso = global.Miso || {};
var Dataset = Miso.Dataset;
module("Bugs");
test("#120 - NaN values in Dataset should not fail min/max", function() {
// min(b) should be 4, not 0
var data = [
{ a : -1, b : 10, c : "2002", d : true },
{ a : -10, b : null, c ... | rramona2/dataset | test/unit/bugs.js | JavaScript | gpl-2.0 | 9,697 |
document.write("<li><a href=\"http://www.hudson.com/wap/cpzx/wjs/2014-09-23/666.html\" title=\"普罗旺斯\">普罗旺斯</a></li><li><a href=\"http://www.hudson.com/wap/cpzx/wjs/2014-09-23/667.html\" title=\"跨界石\">跨界石</a></li>"); | 306076197/hudson | d/js/class/class61_newnews.js | JavaScript | gpl-2.0 | 243 |
/**
* @file
* Some basic behaviors and utility functions for Linkit.
*/
(function ($, Drupal, drupalSettings) {
'use strict';
/**
* @namespace
*/
Drupal.linkit = {};
})(jQuery, Drupal, drupalSettings);
;
/**
* @file
* Linkit Autocomplete based on jQuery UI.
*/
(function ($, Drupal, _, document) {... | artatum/D8poei | sites/default/files/js/js__8bHL_DcTcJxE4FmWWoOGnbw7bYixIsR3Lb76iZwwJg.js | JavaScript | gpl-2.0 | 4,734 |
(function ($) {
/**
* A progressbar object. Initialized with the given id. Must be inserted into
* the DOM afterwards through progressBar.element.
*
* method is the function which will perform the HTTP request to get the
* progress bar state. Either "GET" or "POST".
*
* e.g. pb = new progressBar('myProgressBar'... | mario-laserna/drupalsite | sites/default/files/js/js_QQ0rTrvziTorDThJ5vE-ATD_QmMUbV8HMx40VGR4qO0.js | JavaScript | gpl-2.0 | 9,272 |
(function(window, $, undefined) {
var _parent = window.dialogArguments || opener || parent || top;
$.fn.wplupload = function($options) {
var $up, $defaults = {
runtimes : 'gears,browserplus,html5,flash,silverlight,html4',
browse_button_hover: 'hover',
browse_button_active: 'active'
};
$options = $.exten... | TakenCdosG/chefs | wp-content/plugins/wp-all-import/static/js/plupload/wplupload.js | JavaScript | gpl-2.0 | 6,226 |
var group__internal =
[
[ "Functions", "group__internal.html", "group__internal_dup" ],
[ "Classes", "group__internal.html", [
[ "gr_basic_block", "classgr__basic__block.html", null ],
[ "gr_block_detail", "classgr__block__detail.html", null ],
[ "gr_block_executor", "classgr__block__executor.... | aviralchandra/Sandhi | build/gr36/docs/doxygen/html/group__internal.js | JavaScript | gpl-3.0 | 1,440 |
class PauseCtrl {
constructor($scope, url, configService, regionsService) {
this.progress = document.getElementById('seekbar')
this.audioPlayer = document.getElementById('audioPlayer')
this.playing = false
this.ended = false
this.$scope = $scope
this.urlService = url
this.configService = ... | ClaroBot/Distribution | plugin/media-resource/Resources/modules/players/pause/Controllers/PauseCtrl.js | JavaScript | gpl-3.0 | 2,626 |
import later from "later";
import moment from "moment";
import { Accounts, Cart, Jobs } from "/lib/collections";
import { Hooks, Logger, Reaction } from "/server/api";
import { ServerSessions } from "/server/publications/collections/sessions";
Hooks.Events.add("afterCoreInit", () => {
Logger.debug("Adding Job remov... | Sweetgrassbuffalo/ReactionSweeGrass-v2 | imports/plugins/included/jobcontrol/server/jobs/cart.js | JavaScript | gpl-3.0 | 2,868 |
export default class TextEditor extends elementorModules.frontend.handlers.Base {
getDefaultSettings() {
return {
selectors: {
paragraph: 'p:first',
},
classes: {
dropCap: 'elementor-drop-cap',
dropCapLetter: 'elementor-drop-cap-letter',
},
};
}
getDefaultElements() {
const selectors =... | pojome/elementor | assets/dev/js/frontend/handlers/text-editor.js | JavaScript | gpl-3.0 | 2,089 |
/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
Matthias Butz <matze@odinms.de>
Jan Christian Meyer <vimes@odinms.de>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero Genera... | NovaStory/AeroStory | scripts/npc/world0/1209000.js | JavaScript | gpl-3.0 | 2,046 |
/**
* MediaKeys namespace.
*/
if (typeof MediaKeys == "undefined") var MediaKeys = {};
MediaKeys.playButton = "//div[@class='play_pause_button play_button']";
MediaKeys.pauseButton = "//div[@class='play_pause_button pause_button']";
| miicha/browser-media-keys | data/pocketcasts.com-view.js | JavaScript | mpl-2.0 | 236 |
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
/* 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/. */
//--------------------------------------------------------... | cstipkovic/spidermonkey-research | js/src/tests/ecma_3/RegExp/regress-375715-01-n.js | JavaScript | mpl-2.0 | 998 |
/**
*
* @ingroup Language
*/
mw.Language.convertPlural = function( count, forms ) {
//if no number with word, then use $form[0] for singular and $form[1] for plural or zero
if( forms.length === 2 ) return count == 1 ? forms[0] : forms[1];
// FIXME: CLDR defines 4 plural forms. Form with decimals missing... | richhl/kalturaCE | package/app/html5/html5lib/v1.3a/languages/classes/LanguageSh.js | JavaScript | agpl-3.0 | 713 |
//
// Copyright (C) 2014 - present Instructure, Inc.
//
// This file is part of Canvas.
//
// Canvas 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, version 3 of the License.
//
// Canvas is distribut... | djbender/canvas-lms | app/coffeescripts/collections/ConferenceCollection.js | JavaScript | agpl-3.0 | 893 |
import React, { Component, PropTypes } from 'react';
import assign from 'domkit/appendVendorPrefix';
import insertKeyframesRule from 'domkit/insertKeyframesRule';
// Loading Animations
// inspired by http://madscript.com/halogen
class Loading extends Component {
static propTypes = {
className: PropTypes.string... | open-dash/open-dash | client/modules/core/components/loading.js | JavaScript | agpl-3.0 | 2,531 |
v.setCursorPosition(2,6);
v.enter();
v.type("]");
| hlamer/kate | tests/data/indent/ruby/array4/input.js | JavaScript | lgpl-2.1 | 50 |
var searchData=
[
['token',['Token',['../class_route.html#a48f5c1ca47af8dc65eca7e0274de96e2',1,'Route']]]
];
| locksmithone/qcnsim | trunk/doc/html/search/related_74.js | JavaScript | lgpl-2.1 | 111 |
/*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Found... | ayondeep/sonarqube | server/sonar-web/src/main/js/components/workspace/views/rule-view.js | JavaScript | lgpl-3.0 | 1,601 |
module.exports = function (grunt) {
// Load in legacy config
require('./grunt')(grunt);
// Configure nodeunit as test
var testConfig = grunt.config.get('test');
grunt.config.set('nodeunit', testConfig);
// Load in nodeunit
process.chdir('..');
grunt.loadNpmTasks('grunt-contrib-nodeunit');
process.ch... | twolfson/grunt-jsmin-sourcemap | test/Gruntfile.js | JavaScript | unlicense | 432 |
/**
* @file
* @author Jonathan Cardoso Machado
* @license MIT
* @copyright 2016, Jonathan Cardoso Machado
*
* 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, includ... | Andrewnetwork/HN_I_COMMENTED | node_modules/node-libcurl/lib/CurlFileInfo.js | JavaScript | apache-2.0 | 1,918 |
(function() {
'use strict';
angular
.module('roboconf.instances')
.directive('rbcfDeleteInstance', rbcfDeleteInstance);
function rbcfDeleteInstance() {
return {
restrict: 'E',
templateUrl: 'templates/instances/_delete.html'
};
}
})();
| roboconf/roboconf-web-administration | src/app/instances/instances.directive.deletion.js | JavaScript | apache-2.0 | 269 |
/// Copyright (c) 2009 Microsoft Corporation
///
/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
/// that the following conditions are met:
/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
/// ... | hnafar/IronJS | Src/Tests/ietestcenter/chapter15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-110.js | JavaScript | apache-2.0 | 2,296 |
var __test1__;
(function (__test1__) {
;
var obj4 = { one: 1 };
;
__test1__.__val__obj4 = obj4;
})(__test1__ || (__test1__ = {}));
var __test2__;
(function (__test2__) {
__test2__.obj = { two: "1" };
__test2__.__val__obj = __test2__.obj;
})(__test2__ || (__test2__ = {}));
__test2__._... | popravich/typescript | tests/baselines/reference/assignmentCompatability13.js | JavaScript | apache-2.0 | 356 |
/*
* 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 ... | radicalbit/ambari | ambari-logsearch/ambari-logsearch-web/src/main/webapp/scripts/model_bases/VAuditLogBase.js | JavaScript | apache-2.0 | 1,626 |
/**
* Copyright 2015 Workfront
*
* 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 wr... | kishmiryan-karlen/workfront-api | examples/node/get-multiple-tasks.js | JavaScript | apache-2.0 | 1,527 |
/*
* 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 ... | bbende/nifi-registry | nifi-registry-core/nifi-registry-web-ui/src/main/webapp/nf-registry-bootstrap.js | JavaScript | apache-2.0 | 2,781 |
// @flow
import * as React from 'react'
import styles from './StepItem.css'
type LabwareTooltipContentsProps = {|
labwareNickname: ?string,
|}
export const LabwareTooltipContents = (
props: LabwareTooltipContentsProps
): React.Node => {
const { labwareNickname } = props
return (
<div className={styles.labw... | Opentrons/labware | protocol-designer/src/components/steplist/LabwareTooltipContents.js | JavaScript | apache-2.0 | 423 |
require('fs').readFile('/'); // throws EISDIR
| dreamllq/node | test/fixtures/test-fs-readfile-error.js | JavaScript | apache-2.0 | 47 |
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | camunda/camunda-bpm-platform | webapps/ui/admin/client/scripts/pages/main.js | JavaScript | apache-2.0 | 2,772 |
/* Copyright 2012 Mozilla Foundation
*
* 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... | skalnik/pdf.js | src/core/encodings.js | JavaScript | apache-2.0 | 18,086 |
var isNumber = require('../../tokenizer').isNumber;
var TYPE = require('../../tokenizer').TYPE;
var NUMBER = TYPE.Number;
var SOLIDUS = TYPE.Solidus;
var FULLSTOP = TYPE.FullStop;
// Terms of <ratio> should to be a positive number (not zero or negative)
// (see https://drafts.csswg.org/mediaqueries-3/#values)
// Howev... | ihmcrobotics/ihmc-realtime | websitedocs/website/node_modules/css-tree/lib/syntax/node/Ratio.js | JavaScript | apache-2.0 | 1,773 |
/*
Copyright 2014, KISSY v1.44
MIT Licensed
build time: May 22 12:16
*/
KISSY.add("component/extension/delegate-children",["node","component/manager"],function(d,e){function h(a){a.target===this&&a.component.$el.addClass(this.__childClsTag)}function i(a){a.target===this&&(a=a.component.$el)&&a.removeClass(this.__childC... | kidmonster/GraduationProject | src/main/webapp/static/component/kissy/component/extension/delegate-children-min.js | JavaScript | apache-2.0 | 1,316 |
/* controlFactory creates the different objects requied by sheet */
jQuery.extend(ES.prototype,{
addRowMulti: function(qty, isBefore, skipFormulaReparse) { /* creates multi rows
qty: int, the number of cells you'd like to add, if not specified, a dialog will ask;
isBe... | unnamed89/ethersheet | lib/node_modules/es_prototype_client/legacy_refactor/control_factory.js | JavaScript | bsd-2-clause | 31,336 |
Ext.util.Format['boolean'] = function(v, p, record) {
p.css += ' x-grid3-check-col-td';
return '<div class="x-grid3-check-col'+(v?'-on':'')+'"> </div>';
};
Ext.util.Format.booleanTickCross = function(v, p, record) {
p.css += ' x-grid3-check-col-td';
return '<div class="x-grid3-check-col kwf-check-t... | Sogl/koala-framework | Kwf_js/Renderer.js | JavaScript | bsd-2-clause | 9,417 |
/*******************************************************************************
Copyright (c) 2012, S-Core.
All rights reserved.
Use is subject to license terms.
This distribution may include materials developed by third parties.
**********************************************************************... | daejunpark/jsaf | tests/typing_tests/semantics/load7.js | JavaScript | bsd-3-clause | 515 |
/*
jQuery Waypoints - v1.1.7
Copyright (c) 2011-2012 Caleb Troughton
Dual licensed under the MIT license and GPL license.
https://github.com/imakewebthings/jquery-waypoints/blob/master/MIT-license.txt
https://github.com/imakewebthings/jquery-waypoints/blob/master/GPL-license.txt
*/
(function ($, k, m, i, d) {
var e = $... | markmur/docky | template/js/waypoints.min.js | JavaScript | bsd-3-clause | 4,568 |
'use strict';
var config = browser.params;
var UserModel = require(config.serverConfig.root + '/server/api/user/user.model');
describe('Login View', function() {
var page;
var loadPage = function() {
let promise = browser.get(config.baseUrl + '/login');
page = require('./login.po');
return promise;
... | mlee0330/hrr10-mjbe | e2e/account/login/login.spec.js | JavaScript | bsd-3-clause | 2,696 |
'use strict';
$(document).ready(function(){
var updateClock = function() {
var time = new Date();
$("#time").html(time.toLocaleTimeString('sv'));
$("#date").html(time.getDate()+'.'+(time.getMonth()+1)+'.'+time.getFullYear());
};
setInterval(updateClock, 1000);
});
| olkku/tf-info | manager/static/infoskarm/clock.js | JavaScript | bsd-3-clause | 275 |
/// <reference path="../../lib/types.d.ts" />
//import globals = require("../../Globals");
//import params = require("../../ParamsParser");
var file = require('../../lib/FileUtil');
//import config = require('../../lib/ProjectConfig');
var UpgradeCommand_1_5_1 = (function () {
function UpgradeCommand_1_5_1() {
... | Lanfei/egret-core | tools/commands/upgrade/UpgradeCommand_1_5_1.js | JavaScript | bsd-3-clause | 2,025 |
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @fileoverview 'managed-dialog' is a dialog that is displayed when a user
* interact with some UI features which are managed by the user's organiza... | nwjs/chromium.src | ui/webui/resources/cr_components/managed_dialog/managed_dialog.js | JavaScript | bsd-3-clause | 1,478 |
o = { a: 1, b: 2 }
o.c = 3
for (i in o) { _<>_print(i+": "+o[i]) }
"PASS"
| darkrsw/safe | tests/interpreter_tests/for-in-3.js | JavaScript | bsd-3-clause | 74 |
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
'use str... | skevy/react-native | Libraries/Lists/__tests__/VirtualizeUtils-test.js | JavaScript | bsd-3-clause | 2,551 |
"use strict";
module.exports = function (grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
browserify: {
options: {
standalone: 'SJJ'
},
dist: {
files: {
'build/<%= pkg.name %>.bundle.js': ['... | daochouwangu/WeTalk | node_modules/webrtc/node_modules/rtcpeerconnection/node_modules/sdp-jingle-json/Gruntfile.js | JavaScript | mit | 1,090 |
export default function reducer(state={
originString: null,
hasError: false,
output: null
}, action) {
switch (action.type) {
case "INIT": {
return {
...state,
hasError: false,
originString: null,
output: null
... | cangyan/chrome-extension-iTools | app/reducers/StringReducer.js | JavaScript | mit | 829 |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
import * as React from 'react';
import {useCallback, useState} from 'react';
import AutoSizeInput from './NativeStyleE... | ericyang321/react | packages/react-devtools-shared/src/devtools/views/Components/EditableName.js | JavaScript | mit | 1,834 |
describe('Core_validate', function () {
var id = 'testContainer';
beforeEach(function () {
this.$container = $('<div id="' + id + '"></div>').appendTo('body');
});
afterEach(function () {
if (this.$container) {
destroy();
this.$container.remove();
}
});
var arrayOfObjects = functi... | Jazzo/handsontable | test/jasmine/spec/Core_validateSpec.js | JavaScript | mit | 37,452 |
import { basename } from 'path';
var x = function basename () {};
var y = basename( 'path/to/somefile.txt' );
export { x, y };
| corneliusweig/rollup | test/function/samples/preserves-function-expression-names/main.js | JavaScript | mit | 129 |
import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let MapsSatellite = (props) => (
<SvgIcon {...props}>
<path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.99h3C8 6.65 6.66 8 5 8V4.99zM5 12v-2c2.76 0 5-2.25 5-5.01h2C12 8.86 8.... | skarnecki/material-ui | src/svg-icons/maps/satellite.js | JavaScript | mit | 502 |
var Twitter = require('../lib/Twitter');
var twitterStreamClient = new Twitter.StreamClient(
'CONSUMER_KEY',
'CONSUMER_SECRET',
'TOKEN',
'TOKEN_SECRET'
);
twitterStreamClient.on('close', function() {
console.log('Connection closed.');
});
twitterStreamClient.on('end', function() {
console.log(... | MichaelHazani/tweetcloud | node_modules/node-twitter/examples/example-retweet.js | JavaScript | mit | 651 |
import * as chai from 'chai';
const expect = chai.expect;
const chaiAsPromised = require('chai-as-promised');
import * as sinon from 'sinon';
import * as sinonAsPromised from 'sinon-as-promised';
import { Campaign } from '../src/models/campaign';
import moment from 'moment';
const sinonChai = require('sinon-chai');
ch... | davidgf/moonmail-models | tests/campaign.test.js | JavaScript | mit | 8,251 |
// gm - Copyright Aaron Heckmann <aaron.heckmann+github@gmail.com> (MIT Licensed)
var assert = require('assert')
module.exports = function (gm, dir, finish) {
gm
.res(function getterres (err, res) {
if (err) return finish(err);
assert.equal(res, this.data.Resolution)
finish();
});
}
| feilaoda/power | node_modules/tower/node_modules/gm/test/getterRes.js | JavaScript | mit | 306 |
var Errata = function(){
this.HOST = "http://10.66.141.235:8080/dataservice/api/sys/mobile/errata/advisory/";
this.SUMMARY_API = this.HOST + "summary";
this.QUERY_API = this.HOST + "list";
this.DETAIL_API = this.HOST + "getadv";
this.USER_API = this.HOST + "user";
this.userName = "";
this.total = 0;
this.home_p... | christian-tl/cordova-mobile | platforms/ios/www/js/errata.js | JavaScript | mit | 9,557 |
/* eslint-env mocha */
import expect from 'expect';
import React from 'react';
import { render } from './render';
import Button from '../Button';
describe('Button', () => {
it('should be a <button>', () => {
const output = render(<Button>Button</Button>);
expect(output.type).toBe('button');
});... | Graf009/react-mdl | src/__tests__/Button-test.js | JavaScript | mit | 4,828 |
var Blob = require('blob');
if (global.ArrayBuffer) {
require('./arraybuffer.js');
}
if (Blob) {
require('./blob.js');
}
| lpinca/engine.io-parser | test/browser/index.js | JavaScript | mit | 127 |
version https://git-lfs.github.com/spec/v1
oid sha256:2b346fbe97acd6fdee9b5cc7d9d97da6366b6e802fd49f4be93b92ef55f22c84
size 5873
| yogeshsaroya/new-cdnjs | ajax/libs/jasmine/2.1.3/boot.js | JavaScript | mit | 129 |
/*global define*/
/*global describe, it, expect*/
/*global jasmine*/
/*global beforeEach, afterEach*/
/*jslint white: true*/
define([
'AbundanceDataHeatmap'
], function(Widget) {
describe('Test the AbundanceDataHeatmap widget', function() {
it('Should do things', function() {
});
});
});
| jmchandonia/narrative | test/unit/spec/function_output/AbundanceDataHeatmap-spec.js | JavaScript | mit | 318 |
const express = require('express');
const path = require('path');
const logger = require('morgan');
const cookieParser = require('cookie-parser');
const bodyParser = require('body-parser');
const compression = require('compression');
var users = require('./routes/users');
var app = express();
const options = {
inde... | sherifsaleh/spotify-app | app.js | JavaScript | mit | 1,487 |
"use strict";
/*!
* Copyright 2016 The ANTLR Project. All rights reserved.
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
*/
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3... | glenngillen/dotfiles | .vscode/extensions/juanblanco.solidity-0.0.120/node_modules/antlr4ts/tree/pattern/ParseTreeMatch.js | JavaScript | mit | 6,890 |
import gulp from 'gulp';
import sass from 'gulp-sass';
import minifyCss from 'gulp-minify-css';
import autoprefixer from 'gulp-autoprefixer';
import rename from 'gulp-rename';
import pkg from '../../../package.json';
module.exports = () => {
return gulp
.src([
'src/*.scss'
])
.pipe(sass({
ou... | sylvesteraswin/react-zvui-modal | tasks/build/source/style.js | JavaScript | mit | 804 |
// nested constructors
/** @constructor */
function ShapeFactory() {
/** @constructor */
this.SquareMaker = function(size) {
/** @constructor */
this.Square = function(s) {
/** The size. */
this.size = s;
this.display = function() {
alert("square: "+s);... | sdondley/timeline | similie_timeline/tools/jsdoc/test/data/memberof.js | JavaScript | gpl-2.0 | 664 |
/* YUI 3.9.0 (build 5827) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
YUI.add("lang/datatable-message_es",function(e){e.Intl.add("datatable-message","es",{emptyMessage:"No hay datos que mostrar",loadingMessage:"Cargando..."})},"3.9.0");
| alafon/ezpublish-community-built | ezpublish_legacy/extension/ezjscore/design/standard/lib/yui/3.9.0/build/datatable-message/lang/datatable-message_es.js | JavaScript | gpl-2.0 | 254 |
/**
*
* KlikAndPay payment plugin
*
* @author Valérie Isaksen
* @version $Id$
* @package VirtueMart
* @subpackage payment
* Copyright (C) 2004-2014 Virtuemart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. This version may hav... | sullivanLi/joomla-laconic | plugins/vmpayment/klikandpay/klikandpay/assets/js/admin.js | JavaScript | gpl-2.0 | 3,331 |
/**
* @file
* Javascript to enhance the views slideshow cycle form options.
*/
/**
* This will set our initial behavior, by starting up each individual slideshow.
*/
(function ($) {
// Since Drupal 7 doesn't support having a field based on one of 3 values of
// a select box we need to add our own javasc... | bograzvan/something | sites/default/files/js/js_eNVRoN1ohE_1YvAB9et22zy9miQEh8r9XJ66heRvKeU.js | JavaScript | gpl-2.0 | 9,994 |
/*globals Backbone, jQuery, Modernizr, Handlebars */
var Planbox = Planbox || {};
(function(NS, $) {
'use strict';
// Exceptions ===============================================================
NS.projectException = function(message, data) {
return genericException('ProjectException', message, data);
};
... | chrooter/planbox | src/planbox_ui/static/scripts/project-editor-v2/app.js | JavaScript | gpl-3.0 | 2,369 |
/*
* Copyright (C) 2011 Flamingo Project (http://www.cloudine.io).
*
* 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 option) any later versio... | chiwanpark/flamingo2 | flamingo2-web/src/main/webapp/resources/app/view/designer/canvas/events/onCanvasLabel.js | JavaScript | gpl-3.0 | 5,472 |
'use strict';
var _pkg = require('../package.json');
var argv = require('yargs').argv;
/*
_pkg.nextVersion only works for patch updates
Using changelog in the workflow is not really recommended right now as changelog is not really able to be modified until
a new tag is released.
Using Yargs as a workaround which... | katescarth/literary-halifax-mobile-app | literaryHalifax/www/lib/ui-leaflet/grunt/conventionalChangelog.js | JavaScript | gpl-3.0 | 850 |
/* Authors:
* Petr Vobornik <pvoborni@redhat.com>
*
* Copyright (C) 2013 Red Hat
* see file 'COPYING' for use and warranty information
*
* 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 Foundatio... | encukou/freeipa | install/ui/src/freeipa/widgets/SyncOTPScreen.js | JavaScript | gpl-3.0 | 7,842 |
/*
Lightbox JS: Fullsize Image Overlays
by Lokesh Dhakar - http://www.huddletogether.com
For more information on this script, visit:
http://huddletogether.com/projects/lightbox/
Licensed under the Creative Commons Attribution 2.5 License - http://creativecommons.org/licenses/by/2.5/
(basically, do anyt... | groupimo/reos | tpl/simpleblue/jscripts/lightbox.js | JavaScript | agpl-3.0 | 12,347 |
/**
* Translation source file for Simple Spreadsheet
* Language: English
* Author: Sophie Lee (spylee § gmail.com)
* Created on: 11.11.2006
* ----------------------------------------------
* Released under GPL version 2
**/
var strings = new Array();
// Menu
strings["New"] = "New";
strings["Save"] = "Save";
st... | oneye/oneye | system/extern/apps/eyeSheets/translations/en.js | JavaScript | agpl-3.0 | 1,635 |
Clazz.declarePackage ("org.jmol.viewer.binding");
Clazz.load (["org.jmol.viewer.binding.Binding"], "org.jmol.viewer.binding.JmolBinding", null, function () {
c$ = Clazz.declareType (org.jmol.viewer.binding, "JmolBinding", org.jmol.viewer.binding.Binding);
Clazz.makeConstructor (c$,
function () {
this.construct ("toggl... | ksripathi/edx-demo-course | static/jsmol/j2s/org/jmol/viewer/binding/JmolBinding.js | JavaScript | agpl-3.0 | 1,763 |
var src = 'public/';
var dest = 'dist/';
var scripts = [
'public/js/ether-checker.js',
'public/js/script.js'
];
var vendor = [
'public/js/jquery-1.11.2.min.js',
'public/js/bootstrap.min.js',
'public/js/jquery.scrollme.min.js',
'public/js/bitcoinjs-min.js',
'public/js/underscore-min.js',
'public/js/numeral.js'... | VoR0220/frontier-release | Gruntfile.js | JavaScript | lgpl-3.0 | 3,768 |
function map(patient) {
emit(patient.gender(), 1);
}; | drusk/query-gateway | test/fixtures/map_reduce/simple_map.js | JavaScript | apache-2.0 | 55 |
(function () {
'use strict';
angular
.module('VoteOn-Common')
.directive('loadingSpinner', loadingSpinner);
function loadingSpinner() {
return {
restrict: 'E',
replace: true,
templateUrl: '/Scripts/Directives/LoadingSpinner/LoadingSpinner.html',... | stevenhillcox/voting-application | VotingApplication/VotingApplication.Web/Scripts/Directives/LoadingSpinner/LoadingSpinner.js | JavaScript | apache-2.0 | 408 |
/**!
*
* Copyright (c) 2015-2016 Cisco Systems, Inc. See LICENSE file.
*/
import atob from './shims/atob';
import btoa from './shims/btoa';
/**
* @param {string} str
* @returns {string}
*/
export function fromBase64url(str) {
return atob(str.replace(/\-/g, `+`).replace(/_/g, `/`));
}
/**
* Converts a string... | udaysrinath/spark-js-sdk | packages/common/src/base64.js | JavaScript | apache-2.0 | 932 |
/*
* 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/databoxManagement/lib/models/armBaseObject.js | JavaScript | apache-2.0 | 1,546 |
// This tests really pushes the GC as every number has to be converted to string
var N = 10000;
var a = new Array(N);
for ( var i = 0; i < N; ++i )
a[i] = Math.random();
a.sort();
| ericlu88/jscomp | tests/sortbench1.js | JavaScript | apache-2.0 | 186 |
// 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... | titilambert/dashboard | src/app/frontend/replicationcontrollerlistdeprecated/logsmenu_controller.js | JavaScript | apache-2.0 | 3,633 |
module.exports={"zones":{"Pacific/Bougainville":["z",{"wallclock":1419732000000,"format":"BST","abbrev":"BST","offset":39600000,"posix":1419696000000,"save":0},{"wallclock":-768873600000,"format":"PGT","abbrev":"PGT","offset":36000000,"posix":-768906000000,"save":0},{"wallclock":-867974400000,"format":"JST","abbrev":"J... | hkernbach/arangodb | js/node/node_modules/timezone/Pacific/Bougainville.js | JavaScript | apache-2.0 | 736 |
/*
* MinIO Cloud Storage (C) 2018 MinIO, 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 law... | aead/minio | browser/app/js/objects/ObjectsBulkActions.js | JavaScript | apache-2.0 | 3,647 |
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 22.1.1
description: Super need to be called to initialize internals
info: |
22.1.1 The Array Constructor
...
The Array constructor is designed to be subclassable... | sebastienros/jint | Jint.Tests.Test262/test/language/statements/class/subclass/builtin-objects/Array/super-must-be-called.js | JavaScript | bsd-2-clause | 774 |
// Copyright 2012 Mozilla Corporation. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 10.1.1_19_b
description: Tests the special handling of the "co" key in Intl.Collator.
author: Norbert Lindenberg
---*/
function checkCollation(extensionCoValue, usageValue, e... | sebastienros/jint | Jint.Tests.Test262/test/intl402/Collator/unicode-ext-value-collation.js | JavaScript | bsd-2-clause | 1,623 |
{
"development": false,
"base.location": "",
"host.entity.image.mobile": "/img/client/images/logo-mobile.jpg",
"demo.available": false,
"host.entity.image": "/img/client/images/logo.jpg",
"create.account.visible": false,
"experiments.default_picture": "/img/experiments/default.jpg",
"host.entity.link": "... | zstars/weblabdeusto | tools/wcloud/wcloud/test/testinstance_sqlite/client/configuration.js | JavaScript | bsd-2-clause | 19,194 |
// Copyright (C) 2018 Richard Gibson. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-literals-string-literals
description: >
U+2028 LINE SEPARATOR can appear in string literals.
info: |
11.8.4 String Literals
All code points may appear literally in a ... | sebastienros/jint | Jint.Tests.Test262/test/language/literals/string/line-separator.js | JavaScript | bsd-2-clause | 577 |
// jscs:disable
/* eslint-disable */
/**
* Based on http://www.emagix.net/academic/mscs-project/item/camera-sync-with-css3-and-webgl-threejs
* @author mrdoob / http://mrdoob.com/
*/
import THREE from 'three';
var CSS3DObject = function ( element ) {
THREE.Object3D.call( this );
this.element = element;
this.e... | UDST/vizicities | src/vendor/CSS3DRenderer.js | JavaScript | bsd-3-clause | 6,175 |
/**
* This file contains javascript associated with the splittag function as it
* relates to an sceditor sourcemode instance
*
* @name ElkArte Forum
* @copyright ElkArte Forum contributors
* @license BSD http://opensource.org/licenses/BSD-3-Clause
*
* This software is a derived product, based on:
*
* O... | Ant59/Elkarte | themes/default/scripts/splittag.plugin.js | JavaScript | bsd-3-clause | 4,429 |
/**
* @license
* Copyright (c) 2015 MediaMath Inc. All rights reserved.
* This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt
*/
(function (scope) {
scope.Sync = Polymer({
is:"strand-sync",
behaviors:[
StrandLib.Sync.getBehavior(),
StrandTraits.D... | dlasky/strand | src/strand-sync/strand-sync.js | JavaScript | bsd-3-clause | 408 |
// Copyright 2020 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: --allow-natives-syntax
function f(fnConstructor) {
return Object.is(new fnConstructor(), undefined);
}
const realmIndex = Realm.createAl... | youtube/cobalt | third_party/v8/test/mjsunit/regress-1065094.js | JavaScript | bsd-3-clause | 601 |
if (this.importScripts) {
importScripts('../../../fast/js/resources/js-test-pre.js');
importScripts('shared.js');
}
description("Test IndexedDB transaction internal active flag.");
indexedDBTest(prepareDatabase, runTransaction);
function prepareDatabase()
{
db = event.target.result;
event.target.trans... | leighpauls/k2cro4 | content/test/data/layout_tests/LayoutTests/storage/indexeddb/resources/transaction-active-flag.js | JavaScript | bsd-3-clause | 3,648 |
var es = require('../')
, it = require('it-is').style('colour')
, u = require('ubelt')
exports ['read an array'] = function (test) {
console.log('readable')
return test.end()
var readThis = u.map(3, 6, 100, u.id) //array of multiples of 3 < 100
console.log('readable')
var reader =
es.readable(f... | yuyang545262477/Resume | 项目二电商首页/node_modules/event-stream/test/readable.asynct.js | JavaScript | mit | 4,665 |
/*!
* Chai - getActual utility
* Copyright(c) 2012 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
/**
* # getActual(object, [actual])
*
* Returns the `actual` value for an Assertion
*
* @param {Object} object (constructed Assertion)
* @param {Arguments} chai.Assertion.prototype.assert arguments
*/
... | EvanBurchard/gamedev-garage | node_modules/sendgrid/node_modules/chai/lib/chai/utils/getActual.js | JavaScript | mit | 439 |
/*!
* froala_editor v2.9.1 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2018 Froala Labs
*/
(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory)... | IPRIT/acm-2017 | app/vendor/froala-editor/js/languages/he.js | JavaScript | mit | 18,917 |
var he = require('he');
module.exports = {
pageLoaded: (req, res, next) => {
if (req.prerender.content && req.prerender.renderType == 'html') {
let statusMatch = /<meta[^<>]*(?:name=['"]prerender-status-code['"][^<>]*content=['"]([0-9]{3})['"]|content=['"]([0-9]{3})['"][^<>]*name=['"]prerender-status-code['"])[^... | prerender/prerender | lib/plugins/httpHeaders.js | JavaScript | mit | 1,112 |
/**
* @see ./demo/defile/scroller.html
* @namespace basis.ui.scroller
*/
var namespace = 'basis.ui.scroller';
//
// import names
//
var document = global.document;
var Event = require('basis.dom.event');
var cssom = require('basis.cssom');
var anim = require('basis.animation');
var basisEv... | basisjs/basisjs | src/basis/ui/scroller.js | JavaScript | mit | 26,600 |
import { Meteor } from 'meteor/meteor';
import { FederationServers, FederationRoomEvents, Users } from '../../../models/server';
export function getStatistics() {
const numberOfEvents = FederationRoomEvents.find().count();
const numberOfFederatedUsers = Users.findRemote().count();
const numberOfServers = Federatio... | Sing-Li/Rocket.Chat | app/federation/server/functions/dashboard.js | JavaScript | mit | 1,068 |
/****************************************************************************
Copyright (c) 2008-2010 Ricardo Quesada
Copyright (c) 2011-2012 cocos2d-x.org
Copyright (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of t... | Arlefreak/ArlefreakPlay | public/Games/goToWork/frameworks/cocos2d-html5/cocos2d/core/platform/CCConfig.js | JavaScript | mit | 12,638 |
// Copyright Joyent, Inc. and other Node contributors.
//
// 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... | unknownexception/flow-declarations | test/node/test-cluster-rr-domain-listen.js | JavaScript | mit | 1,818 |
/*!
* verb <https://github.com/verbose/verb>
*
* Copyright (c) 2014-2015, Jon Schlinkert.
* Licensed under the MIT License.
*/
'use strict';
var verb = require('..');
require('should');
describe('engine create:', function () {
beforeEach(function (done) {
verb = new verb.Verb();
verb.engine('*', requi... | doowb/verb | test/verb.create.js | JavaScript | mit | 5,246 |
import { Meteor } from 'meteor/meteor';
import { hasPermission } from '../../../../authorization';
import { Integrations } from '../../../../models';
Meteor.methods({
deleteIncomingIntegration(integrationId) {
let integration;
if (hasPermission(this.userId, 'manage-incoming-integrations')) {
integration = In... | subesokun/Rocket.Chat | app/integrations/server/methods/incoming/deleteIncomingIntegration.js | JavaScript | mit | 871 |
(function () {
'use strict';
/**
* @ngdoc object
* @name ui.grid.service:uiGridConstants
* @description Constants for use across many grid features
*
*/
angular.module('ui.grid').constant('uiGridConstants', {
LOG_DEBUG_MESSAGES: true,
LOG_WARN_MESSAGES: true,
LOG_ERROR_MESSAGES: true... | mportuga/ui-grid | src/js/core/constants.js | JavaScript | mit | 8,933 |