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 |
|---|---|---|---|---|---|
/* -*- tab-width: 2; 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/. */
/**
File Name: 15.8.2.16.js
... | kostaspl/SpiderMonkey38 | js/src/tests/ecma/Math/15.8.2.16.js | JavaScript | mpl-2.0 | 2,192 |
/*
* Copyright (C) 2016 - 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 | spec/javascripts/jsx/calendar/scheduler/components/appointment_groups/AppointmentGroupListSpec.js | JavaScript | agpl-3.0 | 7,303 |
/**
* SPDX-FileCopyrightText: © 2014 Liferay, Inc. <https://liferay.com>
* SPDX-License-Identifier: LGPL-3.0-or-later
*/
if (!CKEDITOR.plugins.get('ae_selectionkeystrokes')) {
/**
* CKEditor plugin that simulates editor interaction events based on manual keystrokes. This
* can be used to trigger different reac... | ambrinchaudhary/alloy-editor | src/plugins/selectionkeystrokes.js | JavaScript | lgpl-3.0 | 1,481 |
chrome.devtools.panels.create(
"CatX.FM",
"radio.png",
"panel.html",
function cb(panel) {
panel.onShown.addListener(function(win){ win.focus(); });
}
);
| akfish-archive/fm-terminal | devtool.js | JavaScript | lgpl-3.0 | 189 |
/**
* Created by Mike Pugh on 05/27/2014. MIT License.
*/
(function () {
'use strict';
var AngularGeoFire;
angular.module('angularGeoFire', []).factory('$geofire', [
'$q',
'$timeout',
'$rootScope',
'$log',
function ($q, $timeout, $rootScope, $log) {
return function (geoRef) {
... | alexu84/atmSurfingClient | www/lib/AngularGeoFire/src/angularGeoFire.js | JavaScript | unlicense | 3,043 |
/**
* @author kile / http://kile.stravaganza.org/
*/
var Cylinder = function (numSegs, topRad, botRad, height, topOffset, botOffset) {
THREE.Geometry.call(this);
var scope = this, i;
// VERTICES
// Top circle vertices
for (i = 0; i < numSegs; i++) {
v(
Math.sin(2 * 3.1415 * i / numSegs)*topRad,
Ma... | ehelms/medipa_web | web/three.js/extras/primitives/Cylinder.js | JavaScript | apache-2.0 | 1,590 |
//Create Volume
var libpb=require('libprofitbricks')
libpb.setauth('username','password') // <---- Your username and password
var dcid='f355b51d-1c9c-4150-bc55-a616fe3bf437' // <--- Your data center id
var vol=new libpb.volume( {'name': 'My Favorite Volume',
'size': 80,
... | StackPointCloud/profitbricks-sdk-nodejs | examples/createvolume.js | JavaScript | apache-2.0 | 465 |
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 7.6.1-4-6
description: >
Allow reserved words as property names by set function within an
object, verified with hasOwnProperty: continue, for, switch
---*/
... | m0ppers/arangodb | 3rdParty/V8/V8-5.0.71.39/test/test262/data/test/language/reserved-words/7.6.1-4-6.js | JavaScript | apache-2.0 | 1,258 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: The length property of splice does not have the attribute DontDelete
es5id: 15.4.4.12_A5.2
description: Checking use hasOwnProperty, delete
---*/
//CHECK#1
if (Array.prototyp... | m0ppers/arangodb | 3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/Array/prototype/splice/S15.4.4.12_A5.2.js | JavaScript | apache-2.0 | 963 |
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
Vue.config.productionTip = false
Vue.prototype.$http = axios
/* eslint-disab... | alexlib/docker-ubuntu-vnc-desktop | web/src/main.js | JavaScript | apache-2.0 | 414 |
foam.CLASS({
package: 'foam.nanos.alarming',
name: 'AlarmConfigOMNameSink',
extends: 'foam.dao.ProxySink',
javaImports: [
'foam.util.SafetyUtil'
],
methods: [
{
name: 'put',
javaCode: `
getDelegate().put(obj, sub);
AlarmConfig config = (AlarmConfig) obj;
if ( c... | jacksonic/vjlofvhjfgm | src/foam/nanos/alarming/AlarmConfigOMNameSink.js | JavaScript | apache-2.0 | 1,081 |
const pmc = zrequire('pm_conversations');
run_test('partners', () => {
const user1_id = 1;
const user2_id = 2;
const user3_id = 3;
pmc.set_partner(user1_id);
pmc.set_partner(user3_id);
assert.equal(pmc.is_partner(user1_id), true);
assert.equal(pmc.is_partner(user2_id), false);
assert.... | timabbott/zulip | frontend_tests/node_tests/pm_conversations.js | JavaScript | apache-2.0 | 1,560 |
/**
* @license
* Copyright 2017 The FOAM 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 ... | jacksonic/vjlofvhjfgm | src/foam/java/PropertyInfo.js | JavaScript | apache-2.0 | 16,398 |
/// 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-70.js | JavaScript | apache-2.0 | 2,708 |
/**
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"... | dpogue/cordova-windows | spec/unit/build.spec.js | JavaScript | apache-2.0 | 15,415 |
/**
* Copyright (c) 2014, 2016, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
define(["ojs/ojcore","ojs/ojprogressbar","ojs/ojtree","ojs/ojtoolbar","ojs/ojpopup","ojs/ojmenu","ojs/ojradioset","ojs/ojtrain","ojs/ojtabs","ojs/ojcollapsible","ojs/ojdialog","ojs/ojaccordion","ojs... | charlier-shoe/2fauth | frontend/js/libs/oj/v2.1.0/min/ojcomponents.js | JavaScript | apache-2.0 | 456 |
/*
Copyright (c) 2006, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 0.12.0
*/
/**
* Config is a utility used within an Object to allow the implementer to maintain a list of local configuration properties and listen for changes to thos... | richkadel/flip.tv | showfiles/src/main/webapp/lib/YahooUI/container/container_core-debug.js | JavaScript | apache-2.0 | 93,694 |
var __extends = this.__extends || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
__.prototype = b.prototype;
d.prototype = new __();
};
var common = require("ui/tab-view/tab-view-common");
var trace = require("trace");
var imageSource = r... | paveldk/TalkUpp-Repo | tns_modules/ui/tab-view/tab-view.android.js | JavaScript | bsd-2-clause | 14,657 |
if (typeof module !== 'undefined' && module.exports) {
module.exports = jQuery;
}
else if (typeof define !== 'undefined' && define.amd) {
define([], function () {
return jQuery;
});
}
| alkaest2002/gzts-lab | web/app/assets/frameworks/bower_components/r.js/build/tests/pragma/good5.js | JavaScript | bsd-3-clause | 204 |
// Copyright (c) 2012 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.
// Shows an updating list of process statistics.
function init() {
chrome.processes.onUpdatedWithMemory.addListener(
function(processes) {
... | anirudhSK/chromium | chrome/common/extensions/docs/examples/api/processes/process_monitor/popup.js | JavaScript | bsd-3-clause | 2,324 |
function (doc) {
if (doc.doc_type === "ADMReport"
&& (!doc.domain || (doc.domain && doc.is_default))) {
var entry = {
name: doc.name,
description: doc.description
};
if (doc.domain) {
entry['domain'] = doc.domain;
}
emit(["defaults ... | gmimano/commcaretest | corehq/apps/adm/_design/views/all_default_reports/map.js | JavaScript | bsd-3-clause | 641 |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports... | tanbo800/ourjs | node_modules/cssshrink/node_modules/gonzales-ast/demo/bundle.js | JavaScript | bsd-3-clause | 73,261 |
var
async = require('async'),
token = require('./token/'),
response = require('./../util/response.js'),
error = require('./../error'),
emitter = require('./../events');
/**
* Token endpoint controller
* Used for: "authorization_code", "password", "client_credentials", "refresh_token" flows
*
* ... | DawoonC/node-oauth20-provider | lib/controller/token.js | JavaScript | mit | 5,066 |
define(function (require) {
var zrUtil = require('zrender/core/util');
return require('../../echarts').extendComponentView({
type: 'marker',
init: function () {
/**
* Markline grouped by series
* @private
* @type {module:zrender/core/util.Ha... | yjwz0428/yjwz0428.github.io | 作业(1)/echarts-master/src/component/marker/MarkerView.js | JavaScript | mit | 1,107 |
(function($) {
var
$console = $("#dm_console"),
$command = $("#dm_command"),
$lines = $console.find(".dm_content_command"),
$wait = $console.find(".dm_console_wait");
scroll();
$lines.bind("click", function()
{
$command.focus();
}).trigger("click");
$("#dm_command_wrap form").ajaxForm({
beforeSubmit: function... | octavioalapizco/diem | dmAdminPlugin/web/js/dmAdminConsole.js | JavaScript | mit | 900 |
'use strict';
let path = require('path');
let webpack = require('webpack');
module.exports = {
entry: {
popover_defaultfunctionality: './app/popover/defaultfunctionality/main.ts',
popover_positioning: './app/popover/positioning/main.ts',
popover_bottompositioning: './app/popover/bottomposit... | luissancheza/sice | js/jqwidgets/demos/angular/webpack.config9.js | JavaScript | mit | 4,312 |
module.exports = {
getSubscribers: function(cb) {
return cb( null, [
{
rowid: 1001,
phone: '3125555555',
createdAt: '2015-04-26 20:08:45'
},{
rowid: 1002,
phone: '3125555556',
createdAt: '2015-04-23 20:08:45'
},{
rowid: 1003,
phone:... | benwilhelm/kcbx-petcoke | test/stubs/smsSubscriberService.js | JavaScript | mit | 3,460 |
var utilities = require("./utilities");
var querySelectorForHeadingsToNativize = 'h1.section_heading, h2.section_heading, h3.section_heading';
function getSectionHeadersArray(){
var nodeList = document.querySelectorAll(querySelectorForHeadingsToNativize);
var nodeArray = Array.prototype.slice.call(nodeList);
... | soppysonny/wikipedia-ios | www/js/sectionHeaders.js | JavaScript | mit | 1,330 |
/**
* A general sheet class. This renderable container provides base support for orientation-aware transitions for popup or
* side-anchored sliding Panels.
*
* In most cases, you should use {@link Ext.ActionSheet}, {@link Ext.MessageBox}, {@link Ext.picker.Picker}, or {@link Ext.picker.Date}.
*/
Ext.define('Ext.Sh... | flrent/livre-sencha-touch-exemples | touch/src/Sheet.js | JavaScript | mit | 4,176 |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'preview', 'fr-ca', {
preview: 'Prévisualiser'
} );
| ninsuo/touchscreen-video-player | src/BaseBundle/Resources/public/ckeditor/plugins/preview/lang/fr-ca.js | JavaScript | mit | 223 |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.messages = exports.ruleName = undefined;
exports.default = function (expectation) {
var checker = (0, _utils.whitespaceChecker)("space", expectation, messages);
return function (root, result) {
var validOptions = _stylelint... | pmarsceill/stately | node_modules/stylelint-scss/dist/rules/dollar-variable-colon-space-after/index.js | JavaScript | mit | 2,548 |
/* global angular */
angular.module('storm.directives')
.directive('stSeasonList', ['$timeout', '$window', '$state', 'Navigation', function($timeout, $window, $state, Navigation) {
return {
restrict: 'A',
scope: true,
link: function(scope, element, attr) {
scope.seasonsList = null;
scope.selectedSeason ... | pazipazita/storm-master | app/js/directives/stSeasonList.js | JavaScript | mit | 2,967 |
lychee.define('lychee.ui.Entity').includes([
'lychee.event.Emitter'
]).exports(function(lychee, global) {
var _default_state = 'default';
var _default_states = { 'default': null, 'active': null };
var Class = function(data) {
var settings = lychee.extend({}, data);
this.width = typeof settings.width =... | nspforever/lycheeJS | lychee/ui/Entity.js | JavaScript | mit | 3,836 |
'use strict'
let { SourceMapConsumer, SourceMapGenerator } = require('source-map-js')
let { dirname, resolve, relative, sep } = require('path')
let { pathToFileURL } = require('url')
let sourceMapAvailable = Boolean(SourceMapConsumer && SourceMapGenerator)
let pathAvailable = Boolean(dirname && resolve && relative &&... | kipid/blog | nodejs/web1_html_internet-master/node_modules/postcss/lib/map-generator.js | JavaScript | mit | 7,682 |
/**
* 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 appli... | Poornakiruthika/Test | node_modules/youtube-api/node_modules/googleapis/apis/taskqueue/v1beta2.js | JavaScript | mit | 10,120 |
/*
ByteBuffer.js (c) 2015 Daniel Wirtz <dcode@dcode.io>
[BUILD] ByteBufferAB - Backing buffer: ArrayBuffer, Accessor: Uint8Array
Released under the Apache License, Version 2.0
see: https://github.com/dcodeIO/ByteBuffer.js for details
*/
function u(k){function g(a,b,c){"undefined"===typeof a&&(a=g.DEFAULT_CAPACITY);... | luop90/LuopsSteamBot | node_modules/steam/node_modules/bytebuffer/dist/ByteBufferAB.min.js | JavaScript | mit | 44,406 |
import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './skeleton.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <Ap... | oliviertassinari/material-ui | docs/pages/material/api/skeleton.js | JavaScript | mit | 639 |
var combinations = require('combinations');
var data = require('../data');
var versions = false;
module.exports = function() {
if (versions) {
return versions;
}
versions = data.versions;
for (var version in versions) {
versions[version] = combinations(versions[version].sort());
versions[version].... | michael829/jquery-builder | lib/combinations.js | JavaScript | mit | 356 |
var fs = require('fs');
var path = require('path');
var vm = require('vm');
var coffee = require('coffee-script');
var log = require('./logger').create('config');
var helper = require('./helper');
var constant = require('./constants');
var Pattern = function(pattern, served, included, watched) {
this.pattern = pat... | jgrowl/karma | lib/config.js | JavaScript | mit | 7,419 |
/*jshint camelcase:true, plusplus:true, forin:true, noarg:true, noempty:true, eqeqeq:true, bitwise:true, strict:true, undef:true, unused:true, curly:true, browser:true, devel:true, maxerr:100, white:false, onevar:false */
/*global jQuery:true $:true */
(function ($, undefined) {
"use strict";
$(document).ready... | Endika/jquery-simulate-ext | tests/key-combo.js | JavaScript | mit | 9,178 |
PANDA.text.DatasetSearch = function() {
return {
search_dataset: gettext("Search <strong>%(dataset)s</strong>"),
search_placeholder: gettext("Enter a search query"),
search: gettext("Search"),
more_options: gettext("More search options"),
back_to_dataset: gettext("Back to dat... | PalmBeachPost/panda | client/static/js/text/dataset_search.js | JavaScript | mit | 1,667 |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Utils_1 = require("../Utils/Utils");
var Constants_1 = require("../Utils/Constants");
var Grabber = (function () {
function Grabber() {
}
Grabber.grab = function (particle, container) {
var options = container.options;
... | cdnjs/cdnjs | ajax/libs/tsparticles/1.13.0-alpha.4/Classes/Particle/Grabber.js | JavaScript | mit | 1,214 |
/* [ ---- Gebo Admin Panel - calendar ---- ] */
$(document).ready(function() {
gebo_calendar.regular();
gebo_calendar.google();
//* resize elements on window resize
var lastWindowHeight = $(window).height();
var lastWindowWidth = $(window).width();
$(window).on("debouncedresize",function() {
i... | mtaki/UchumiERP | themes/gebo/js/gebo_calendar.js | JavaScript | epl-1.0 | 3,660 |
'use strict';
var React = require('react');
var PureRenderMixin = require('react-addons-pure-render-mixin');
var SvgIcon = require('../../svg-icon');
var NotificationVoiceChat = React.createClass({
displayName: 'NotificationVoiceChat',
mixins: [PureRenderMixin],
render: function render() {
return React.cr... | fernando-jascovich/vagrant-manager | node_modules/material-ui/lib/svg-icons/notification/voice-chat.js | JavaScript | gpl-2.0 | 574 |
/**
* appendix page
*/
( function( window ) {
'use strict';
var ID = window.ID;
var transitionProp = getStyleProperty('transition');
var transitionEndEvent = {
WebkitTransition: 'webkitTransitionEnd',
MozTransition: 'transitionend',
OTransition: 'otransitionend',
transition: 'transitionend'
}[ transitionP... | delvethemes/Free.Delve | wp-content/themes/delve/plugins/isotope-docs/js/pages/appendix.js | JavaScript | gpl-2.0 | 2,233 |
/**
* @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
/**
* @fileOverview Justify commands.
*/
( function() {
function getAlignment( element, useComputedState ) {
useComputedState = useC... | WBCE/WebsiteBaker_CommunityEdition | wbce/modules/ckeditor/ckeditor/plugins/justify/plugin.js | JavaScript | gpl-2.0 | 8,624 |
/**
* @author cormac1
*/
$(document).ready(function(){
var flag=0;
var color;
$('.edit-button a').addClass('button').wrapInner('<span></span>');
$('.odd').children().css("background-color","#ffffff");
$('.actor-link').parent().parent().click(function(){
//document.location = this.children(0).attr('href');
... | equalitie/rightscase | sites/all/themes/ninesixty/js/button.js | JavaScript | gpl-2.0 | 1,107 |
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 3.0.0pr1
*/
YUI.add('dd-ddm-base', function(Y) {
/**
* Provides the base Drag Drop Manger required for making a Node draggable.
* @module dd
* @submodule d... | NERC-CEH/jules-jasmin | majic/joj/public/js/yui/build/dd/dd-ddm-base.js | JavaScript | gpl-2.0 | 9,568 |
/****************************************************************************
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 this software and associated documentation... | zero5566/super_mahjong | mahjong/super_mahjong/frameworks/cocos2d-html5/cocos2d/core/platform/CCInputManager.js | JavaScript | gpl-2.0 | 22,201 |
$(function () {
$("a.submit").click(function (ev) {
ev.preventDefault();
var f = $(this).closest("form");
f.attr("action", this.href);
bootbox.confirm("Are you sure you want do this? There is no undo button.", function (result) {
if (result) {
$.block();
... | nehresma/bvcms | CmsWeb/Content/touchpoint/js/people/merge.js | JavaScript | gpl-2.0 | 867 |
/*
* 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/DesignerModel.js | JavaScript | gpl-3.0 | 913 |
module.exports = {
entry: './client/index.js',
output: {
path: __dirname,
filename: './public/bundle.js'
},
devtool: 'source-map',
module: {
rules: [
{
test: /\.jsx?$/,
exclude: /(node_modules|bower_components)/,
loader: 'babel-loader'
},
{
test: /... | coinsTracker/coinTracker | webpack.config.js | JavaScript | gpl-3.0 | 555 |
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
/*eslint max-nested-callbacks: 0*/
/*jscs:disable requirePaddingNewLinesInObjects*/
/*jscs:disable jsDoc*/
define([
'underscore',
'uiRegistry',
'Magento_Ui/js/form/components/collection/item'
], function (_, ... | rajmahesh/magento2-master | vendor/magento/magento2-base/dev/tests/js/jasmine/tests/app/code/Magento/Ui/base/js/form/components/collection/item.test.js | JavaScript | gpl-3.0 | 9,385 |
// LICENCE https://github.com/adaptlearning/adapt_authoring/blob/master/LICENSE
define(function(require) {
var Origin = require('coreJS/app/origin');
var SidebarContainerView = require('coreJS/sidebar/views/sidebarView');
var Sidebar = {};
Sidebar.addView = function($el, options) {
// Trigger... | AmitGolhar/adapt_authoring | frontend/src/core/sidebar/sidebar.js | JavaScript | gpl-3.0 | 949 |
/*
* Copyright (C) 2005-2013 University of Sydney
*
* Licensed under the GNU License, Version 3.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.gnu.org/licenses/gpl-3.0.txt
*
* Unless required by applicable law or agreed to in ... | thegooglecodearchive/heurist | viewers/map/loadOLMap.js | JavaScript | gpl-3.0 | 10,789 |
define([
'intern!object',
'intern/chai!assert',
'base/lib/config',
'base/lib/login',
'base/lib/assert',
'base/lib/poll',
'base/lib/POM'
], function(registerSuite, assert, config, libLogin, libAssert, poll, POM) {
// Create this page's specific POM
var Page = new POM({
// Any... | davehunt/kuma | tests/ui/tests/auth.js | JavaScript | mpl-2.0 | 6,271 |
/**
* Less - Leaner CSS v3.11.1
* http://lesscss.org
*
* Copyright (c) 2009-2020, Alexis Sellier <self@cloudhead.net>
* Licensed under the Apache-2.0 License.
*
* @license Apache-2.0
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
... | BigBoss424/portfolio | v7/development/node_modules/less/dist/less.js | JavaScript | apache-2.0 | 468,443 |
/* 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
* distributed... | robsoncardosoti/flowable-engine | modules/flowable-ui-modeler/flowable-ui-modeler-app/src/main/webapp/scripts/controllers/model-common-actions.js | JavaScript | apache-2.0 | 8,719 |
'use strict';
define(['angular', 'require'], function(angular, require) {
var app = angular.module('my-app.marketplace.directives', []);
app.directive('marketplacePortlet', function() {
return {
restrict : 'E',
templateUrl : require.toUrl('./partials/marketplace-portlet.html')
... | paulerickson/angularjs-portal | angularjs-portal-home/src/main/webapp/my-app/marketplace/directives.js | JavaScript | apache-2.0 | 560 |
// Create variables for the welcome message
var greeting = 'Howdy ';
var name = 'Molly';
var message = ', please check your order:';
// Concatenate the three variables above to create the welcome message
var welcome = greeting + name + message;
// Create variables to hold details about the sign
var sign = 'Montague Ho... | shammunhossain/ITE220 | web2/javascript-and-jquery-book-code-0915/c02/js/example.js | JavaScript | apache-2.0 | 1,721 |
/*
* Copyright 2016 IBM Corp.
* Copyright 2016 99Cloud.
*
* 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 appl... | openstack/horizon | horizon/static/framework/widgets/table/hz-table-footer.controller.js | JavaScript | apache-2.0 | 1,037 |
/**
* This task starts a dev server that provides a script loader for OpenLayers
* and Closure Library and runs tests in PhantomJS.
*/
var path = require('path');
var spawn = require('child_process').spawn;
var phantomjs = require('phantomjs-prebuilt');
var serve = require('../build/serve');
/**
* Try listening... | dsmiley/hhypermap-bop | bop-ui/assets/lib/ol3-google-maps/tasks/test.js | JavaScript | apache-2.0 | 2,414 |
angular.module('gdgXBoomerang')
.controller('OrganizersController', function ($http, Config, NavService) {
var vm = this;
vm.loading = false;
NavService.setNavTab(4);
var url = 'http://hub.gdgx.io/api/v1/chapters/' + Config.id + '?callback=JSON_CALLBACK';
var headers = { 'headers': { 'Accept': 'app... | jhoon/boomerang | app/organizers/organizers.js | JavaScript | apache-2.0 | 512 |
/**
* @preserve Copyright 2014 Washington University
* @author kumar.sunil.p@gmail.com (Sunil Kumar)
* @author herrickr@mir.wustl.edu (Rick Herrick)
*/
goog.provide('gxnat');
// goog
goog.require('goog.net.XhrIo');
goog.require('goog.object');
goog.require('goog.string');
goog.require('goog.array');
/**
* gxn... | evast/XNATImageViewer | src/main/scripts/viewer/gxnat/gxnat.js | JavaScript | bsd-3-clause | 6,826 |
/*
* Author: Zoltán Lajos Kis <zoltan.lajos.kis@ericsson.com>
*/
"use strict";
(function() {
var util = require('util');
var ofp = require('../ofp.js');
var packet = require('../../packet.js');
var offsets = ofp.offsets.ofp_action_header;
module.exports = {
"unpack" : function(buffer, offset) {
... | John-Lin/oflib-node | lib/ofp-1.1/actions/pop-vlan.js | JavaScript | bsd-3-clause | 1,615 |
var searchData=
[
['comparator_5ffunction_148',['comparator_function',['../namespacepmem_1_1kv.html#a030860872cabda2262ece46fc77785d7',1,'pmem::kv']]]
];
| pbalcer/pbalcer.github.io | content/pmemkv/v1.3/doxygen/search/typedefs_0.js | JavaScript | bsd-3-clause | 156 |
// FORK:
// https://github.com/danielweck/keymaster
// keymaster.js
// (c) 2011-2013 Thomas Fuchs
// keymaster.js may be freely distributed under the MIT license.
;(function(global){
var k,
_handlers = {},
_mods = { 16: false, 18: false, 17: false, 91: false },
_scope = 'all',
// modifie... | cene-co-za/readium-js-viewer | lib/thirdparty/keymaster.js | JavaScript | bsd-3-clause | 8,780 |
/**
* Copyright (c) 2013-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.
*
* @provides... | mroch/relay | src/container/isReactComponent.js | JavaScript | bsd-3-clause | 716 |
export default function min(values, valueof) {
let min;
if (valueof === undefined) {
for (const value of values) {
if (value != null
&& (min > value || (min === undefined && value >= value))) {
min = value;
}
}
} else {
let index = -1;
for (let value of values) {
... | d3/d3-arrays | src/min.js | JavaScript | isc | 502 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.3.4.4_A5_T5;
* @section: 15.3.4.4;
* @assertion: If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value;
* @description: thisAr... | seraum/nectarjs | tests/ES3/Conformance/15_Native_ECMA_Script_Objects/15.3_Function_Objects/15.3.4_Properties_of_the_Function_Prototype_Object/15.3.4.4_Function.prototype.call/S15.3.4.4_A5_T5.js | JavaScript | mit | 558 |
import createSlicer from './createSlicer.js'
import mergeState from './util/mergeState.js'
/**
* @description
* persistState is a Store Enhancer that syncs (a subset of) store state to localStorage.
*
* @param {String|String[]} [paths] Specify keys to sync with localStorage, if left undefined the whole store is pe... | ruprict/redux-localstorage | src/persistState.js | JavaScript | mit | 2,096 |
// This project uses "Yarn" package manager for managing JavaScript dependencies along
// with "Webpack Encore" library that helps working with the CSS and JavaScript files
// that are stored in the "assets/" directory.
//
// Read https://symfony.com/doc/current/frontend.html to learn more about how
// to manage CSS an... | voronkovich/symfony-demo | webpack.config.js | JavaScript | mit | 1,420 |
//FIXME: should be part of the jdl, but test are broken there
import React from 'react';
import { assert} from 'chai';
import sd from 'skin-deep';
import Immutable from 'immutable';
import { StatusIndicator, SvgStatus, SvgSpinner }
from '@jenkins-cd/design-language';
const props = {
width: '640px',
height... | alvarolobato/blueocean-plugin | blueocean-dashboard/src/test/js/status-spec.js | JavaScript | mit | 1,682 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.3.2.1_A3_T5;
* @section: 15.3.2.1, 13.2;
* @assertion: When the Function constructor is called with arguments p, body the following steps are taken:
* i) Let Result(i) be... | seraum/nectarjs | tests/ES3/Conformance/15_Native_ECMA_Script_Objects/15.3_Function_Objects/15.3.2_The_Function_Constructor/S15.3.2.1_A3_T5.js | JavaScript | mit | 1,463 |
version https://git-lfs.github.com/spec/v1
oid sha256:28450dc809566b07cabb11d478ddd9745359835b95a9fb707d2d6c5c7f2b2a47
size 26134
| yogeshsaroya/new-cdnjs | ajax/libs/dojo/1.10.4/cldr/nls/japanese.js.uncompressed.js | JavaScript | mit | 130 |
var searchData=
[
['cparbiter',['cpArbiter',['../group__cp_arbiter.html',1,'']]],
['cpbb',['cpBB',['../group__cp_b_b_b.html',1,'']]],
['cpbody',['cpBody',['../group__cp_body.html',1,'']]],
['cpcircleshape',['cpCircleShape',['../group__cp_circle_shape.html',1,'']]],
['cpconstraint',['cpConstraint',['../group__... | mnewhouse/tselements | dependencies/chipmunk-7.0.2/doc/API-Reference/search/groups_63.js | JavaScript | mit | 1,755 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.4.4.10_A4_T1;
* @section: 15.4.4.10, 8.6.2.1, 15.2.4.5;
* @assertion: [[Get]] from not an inherited property;
* @description: [[Prototype]] of Array instance is Array... | seraum/nectarjs | tests/ES3/Conformance/15_Native_ECMA_Script_Objects/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.10_Array_prototype_slice/S15.4.4.10_A4_T1.js | JavaScript | mit | 939 |
/**
* @fileoverview Rule to flag when deleting variables
* @author Ilya Volodin
*/
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------
module.exports = function(context) {
"use stri... | okuryu/eslint | lib/rules/no-delete-var.js | JavaScript | mit | 581 |
IntlRelativeFormat.__addLocaleData({"locale":"ks","pluralRuleFunction":function (n,ord){if(ord)return"other";return n==1?"one":"other"},"fields":{"year":{"displayName":"ؤری","relative":{"0":"this year","1":"next year","-1":"last year"},"relativeTime":{"future":{"other":"+{0} y"},"past":{"other":"-{0} y"}}},"month":{"di... | Hive-Team/venus | node_modules/intl-relativeformat/dist/locale-data/ks.js | JavaScript | mit | 1,171 |
/*
This plugin extends lazySizes to lazyLoad:
background images, videos/posters and scripts
Background-Image:
For background images, use data-bg attribute:
<div class="lazyload" data-bg="bg-img.jpg"></div>
Video:
For video/audio use data-poster and preload="none":
<video class="lazyload" preload="none" data-poster... | aFarkas/lazysizes | plugins/unveilhooks/ls.unveilhooks.js | JavaScript | mit | 4,355 |
( function ( $ ) {
'use strict';
var nqoTransliteration = {
id: 'nqo-transliteration',
name: "N'Ko transliteration",
description: "N'Ko transliteration",
date: '2019-04-26',
URL: 'http://github.com/wikimedia/jquery.ime',
author: 'Amir E. Aharoni',
license: 'GPLv3',
version: '1.0',
maxKeyLength: 3,
... | cdnjs/cdnjs | ajax/libs/jquery.ime/0.3.0/rules/nqo/nqo-transliteration.js | JavaScript | mit | 1,938 |
/* Source and licensing information for the line(s) below can be found at http://www.hottubstore.com/sites/all/modules/flexslider/assets/js/flexslider.load.js. */
(function($){Drupal.behaviors.flexslider={attach:function(context,settings){var sliders=[];if($.type(settings.flexslider)!=='undefined'&&$.type(settings.flex... | mikeusry/thts | hot_tub/advagg_js/js__9VOFA0ojDRe-jzLYqMfhS65SJRxkYxfImCkNhDzFTGY__303WIuiWT3VWvFC6uhfqIZq0KlK2nYVnjfIOpqHEtUU__mI8nZtE_y7QMByurk4XzZQbcUvZv2i4LHlRJhG9hHJQ.js | JavaScript | gpl-2.0 | 1,571 |
module.exports = require('./lib/ClusterPlus'); | cw0100/cwse | nodejs/node_modules/rrestjs/lib/modules/ClusterPlus/index.js | JavaScript | gpl-2.0 | 46 |
// script.aculo.us controls.js v1.8.2, Tue Nov 18 18:30:58 +0100 2008
// Copyright (c) 2005-2008 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
// (c) 2005-2008 Ivan Krstic (http://blogs.law.harvard.edu/ivan)
// (c) 2005-2008 Jon Tirsen (http://www.tirsen.com)
// Contributors:
// Richa... | bczmufrn/riaufrn | static/js/scriptaculous/controls.js | JavaScript | gpl-3.0 | 35,309 |
/* ----------------------------------------------------------------------
* js/ca/ca.utils.js
* ----------------------------------------------------------------------
* CollectiveAccess
* Open-source collections management software
* ----------------------------------------------------------------------
*
* Soft... | rwahs/providence | assets/ca/ca.utils.js | JavaScript | gpl-3.0 | 10,930 |
var locale = {
placeholder: 'Избор на час'
};
export default locale; | ZSMingNB/react-news | node_modules/antd/es/time-picker/locale/bg_BG.js | JavaScript | gpl-3.0 | 82 |
var parseStructureFile = require('./parseStructureFile');
var Summary = require('../models/summary');
var SummaryModifier = require('../modifiers').Summary;
/**
Parse summary in a book, the summary can only be parsed
if the readme as be detected before.
@param {Book} book
@return {Promise<Book>}
*/
fu... | hhkaos/awesome-arcgis | node_modules/gitbook/lib/parse/parseSummary.js | JavaScript | gpl-3.0 | 1,309 |
export default Ember.HTMLBars.template((function() {
return {
meta: {
"fragmentReason": {
"name": "triple-curlies"
},
"revision": "Ember@2.6.1",
"loc": {
"source": null,
"start": {
"line": 1,
"column": 0
},
"end": {
"lin... | Elektro1776/latestEarthables | core/client/tmp/broccoli_persistent_filtertemplate_compiler-output_path-WWntW3wm.tmp/modules/ember-basic-dropdown/templates/components/basic-dropdown/content.js | JavaScript | gpl-3.0 | 1,984 |
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* 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/. */
var SECTION = "exception-011";
var V... | SlateScience/MozillaJS | js/src/tests/ecma_2/Exceptions/exception-011-n.js | JavaScript | mpl-2.0 | 685 |
$(document).ready(function() {
$("#wrap_filter_system input").click(function() {
$(this).parents("form").submit();
});
$("#filter_field").change(function() {
$(this).parents("form").submit();
});
var redirectLoginClick = function() {
if($("#redirectLogin_-1:checked").size() > 0) $("#wrap_redirectLogin... | e-gob/modernizacion | wire/modules/Process/ProcessTemplate/ProcessTemplate.js | JavaScript | mpl-2.0 | 6,544 |
cms_learning = {
};
| EcoAlternative/noosfero-ecosol | plugins/cms_learning/public/javascripts/cms_learning.js | JavaScript | agpl-3.0 | 23 |
// Generated by CoffeeScript 1.11.1
var OVHFetcher, async, cozydb, fetcher, moment,
bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };
cozydb = require('cozydb');
moment = require('moment');
async = require('async');
fetcher = require('../lib/fetcher');
OVHFetcher = (function() {
... | nono/konnectors | build/server/lib/ovh_fetcher.js | JavaScript | agpl-3.0 | 4,038 |
/**
* 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.rm-CH.js | JavaScript | agpl-3.0 | 6,584 |
module("tinymce.EditorManager", {
setupModule: function() {
QUnit.stop();
tinymce.init({
selector: "textarea",
add_unload_trigger: false,
disable_nodechange: true,
skin: false
}).then(function(editors) {
window.editor = editors[0];
QUnit.start();
});
}
});
test('get', function() {
strictE... | jtark/tinymce | tests/tinymce/EditorManager.js | JavaScript | lgpl-2.1 | 5,380 |
(function() {
var DD = YAHOO.util.DragDropMgr, Dom = YAHOO.util.Dom, Event = YAHOO.util.Event, lang = YAHOO.lang;
/**
* DDProxy for DDList items (used by DDList)
* @class inputEx.widget.DDListItem
* @extends YAHOO.util.DDProxy
* @constructor
* @param {String} id
*/
inputEx.widget.DDListItem = function(id)... | whummer/WS-Aggregation | web/wireit/lib/inputex/js/widgets/ddlist.js | JavaScript | apache-2.0 | 8,389 |
// Generated by CoffeeScript 1.9.0
var BulkLoad, Connection, ConnectionError, DEFAULT_CANCEL_TIMEOUT, DEFAULT_CLIENT_REQUEST_TIMEOUT, DEFAULT_CONNECT_TIMEOUT, DEFAULT_PACKET_SIZE, DEFAULT_PORT, DEFAULT_TDS_VERSION, DEFAULT_TEXTSIZE, Debug, EventEmitter, ISOLATION_LEVEL, KEEP_ALIVE_INITIAL_DELAY, Login7Payload, MessageI... | erkankoc1221647/MyGrade | node_modules/tedious/lib/connection.js | JavaScript | apache-2.0 | 43,286 |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2014 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* 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 Licen... | ruhan1/pnc | ui/app/milestone/directives/unqiue-version.js | JavaScript | apache-2.0 | 2,086 |
import objstr from 'obj-str';
import * as Preact from '#preact';
import {useCallback} from '#preact';
import {propName} from '#preact/utils';
import {useStyles} from './component.jss';
/**
* @param {!BentoBaseCarouselDef.ArrowProps} props
* @return {PreactDef.Renderable}
*/
export function Arrow({
advance,
as... | ampproject/amphtml | src/bento/components/bento-base-carousel/1.0/arrow.js | JavaScript | apache-2.0 | 2,244 |
//// [newTargetNarrowing.ts]
function foo(x: true) { }
function f() {
if (new.target.marked === true) {
foo(new.target.marked);
}
}
f.marked = true;
//// [newTargetNarrowing.js]
"use strict";
function foo(x) { }
function f() {
if (new.target.marked === true) {
foo(new.target.marked);
... | Microsoft/TypeScript | tests/baselines/reference/newTargetNarrowing.js | JavaScript | apache-2.0 | 346 |
//
// Copyright (c) Microsoft and contributors. 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... | xingwu1/azure-sdk-for-node | lib/services/resourceManagement/lib/resource.js | JavaScript | apache-2.0 | 1,167 |