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 (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'print', 'he', {
toolbar: 'הדפסה'
} );
| gmuro/dolibarr | htdocs/includes/ckeditor/ckeditor/_source/plugins/print/lang/he.js | JavaScript | gpl-3.0 | 214 |
/**
* Copyright 2015 IBM Corp.
*
* 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... | newrocknj/horizon | openstack_dashboard/dashboards/identity/static/dashboard/identity/users/users.module.js | JavaScript | apache-2.0 | 889 |
import { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, Input, NgZone, Optional, Output, Renderer, ViewChild, ViewEncapsulation } from '@angular/core';
import { App } from '../app/app';
import { Config } from '../../config/config';
import { DomController } from '../../platform/dom-controller';
import { I... | A-HostMobile/MobileApp | node_modules/ionic-angular/es2015/components/content/content.js | JavaScript | apache-2.0 | 34,899 |
var A;
(function (A) {
var B;
(function (B) {
function createB() {
return null;
}
B.createB = createB;
})(B || (B = {}));
})(A || (A = {}));
var x = null;
| hippich/typescript | tests/baselines/reference/interMixingModulesInterfaces3.js | JavaScript | apache-2.0 | 216 |
/**
* Copyright 2017 The AMP HTML Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | kixer-com/amphtml | test/functional/test-position-observer.js | JavaScript | apache-2.0 | 7,273 |
// Programa de Prueba para utilizar operaciones básicas sobre Redis
//-------------------------------------------------------------------------
// **Autor:** Abel Josué Francisco Agra
// **Versión:** _0.1_
// El presente programa permite ejecutar algunas funcionalidades básicas sobre una
// instalación local de Redi... | luishexen/clases-CC-2015-16 | ejercicios/AbelFranciscoAgra/2_Uso_de_PaaS/testRedis.js | JavaScript | apache-2.0 | 3,490 |
/**
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://... | endlessm/chromium-browser | third_party/polymer/v3_0/components-chromium/neon-animation/neon-animation-behavior.js | JavaScript | bsd-3-clause | 2,294 |
'use strict';
var _jsxAstUtils = require('jsx-ast-utils');
var _ISO = require('../util/attributes/ISO');
var _ISO2 = _interopRequireDefault(_ISO);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
/**
* @fileoverview Enforce lang attribute has a valid value.
* @autho... | jotamaggi/react-calendar-app | node_modules/eslint-plugin-jsx-a11y/lib/rules/lang.js | JavaScript | mit | 1,728 |
define({
root: ({
_widgetLabel: "Tanıtım",
label1: "Ben bir demo aracıyım.",
label2: "Bu yapılandırılabilir."
}),
"ar": 0,
"cs": 0,
"da": 0,
"de": 0,
"el": 0,
"es": 0,
"et": 0,
"fi": 0,
"fr": 0,
"he": 0,
"it": 0,
"ja": 0,
"ko": 0,
"lt": 0,
"lv": 0,
"nb": 0,
"nl": 0,
... | cmccullough2/cmv-wab-widgets | wab/2.3/widgets/samplewidgets/Demo/nls/tr/strings.js | JavaScript | mit | 449 |
//
// 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 requ... | gyiang/advdb-exp | node_modules/keystone/node_modules/azure/node_modules/azure-storage/test/services/table/tablequery-tests.js | JavaScript | mit | 25,560 |
version https://git-lfs.github.com/spec/v1
oid sha256:ed7a3830c76b25bda3cf83febde09afbdfe6e01d09d23b7071fc10952fcbf0e4
size 4761
| yogeshsaroya/new-cdnjs | ajax/libs/mo/1.7.2/console.js | JavaScript | mit | 129 |
version https://git-lfs.github.com/spec/v1
oid sha256:aa81f051b4e2862f74a1977689041c25d2bb83351e6f887fbadb20985b888e60
size 12980
| yogeshsaroya/new-cdnjs | ajax/libs/yui/3.9.1/editor-para/editor-para-debug.js | JavaScript | mit | 130 |
/**
* @file
* JavaScript for the show replies links on full post entities.
*/
(function($) {
function harmony_post_toggle_replies() {
var post_id = $(this).attr('data-post-id');
$(this).toggleClass('show-replies-active');
$('#post-' + post_id + '-replies').slideToggle('fast');
return false;
}
... | giorgos1987/dev.tap | sites/all/modules/harmony_core/js/harmony-post.js | JavaScript | gpl-2.0 | 1,380 |
/**
* 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... | mk007sg/threeSeaShells | node_modules/react-native/Libraries/Components/Switch/Switch.js | JavaScript | gpl-3.0 | 3,707 |
// Copyright (c) 2016, Frappe Technologies Pvt. Ltd. and contributors
// For license information, please see license.txt
frappe.ui.form.on("Assessment Result", {
onload: function(frm) {
frm.set_query('assessment_plan', function(){
return {
filters: {
docstatus: 1
}
};
});
},
assessment_plan:... | ovresko/erpnext | erpnext/education/doctype/assessment_result/assessment_result.js | JavaScript | gpl-3.0 | 1,596 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 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/. */
var gTestfile = 'regress-446169-01... | sainaen/rhino | testsrc/tests/js1_8/extensions/regress-446169-01.js | JavaScript | mpl-2.0 | 1,260 |
/**
* Copyright 2016 The AMP HTML Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | kixer-com/amphtml | extensions/amp-o2-player/0.1/amp-o2-player.js | JavaScript | apache-2.0 | 3,611 |
$(function () {
$('.toggle-sidebar-info > span').on('click', function () {
var toggleText = $(this).attr('data-toggle')
$(this).attr('data-toggle', $(this).text())
$(this).text(toggleText)
changeSideBarInfo()
})
$('#toggle-sidebar').on('click', function () {
if (!isMobile() && $('#sidebar').is... | zhaoxunyong/blog | themes/melody/source/js/sidebar.js | JavaScript | apache-2.0 | 2,103 |
// Copyright (c) 2013 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.
'use strict';
base.requireStylesheet('ui.value_bar');
base.require('base.unittest');
base.require('base.bbox2');
base.require('ui.dom_helpers');
base... | xin3liang/platform_external_chromium-trace | trace-viewer/src/ui/text_end_value_bar_test.js | JavaScript | bsd-3-clause | 1,162 |
// Copyright (c) 2015 Uber Technologies, Inc.
//
// 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... | anson627/tchannel | test/balance_peer_requests.js | JavaScript | mit | 3,961 |
module.exports = Connection;
var util = require('util');
var Socket = require('net').Socket;
var MAGIC = 'VT01';
util.inherits(Connection, Socket);
function Connection() {
Socket.call(this);
this.on('readable', this._readPacket.bind(this));
}
Connection.prototype.send = function(data) {
// encrypt
if (this.... | luop90/LuopsSteamBot | node_modules/steam/lib/connection.js | JavaScript | mit | 1,163 |
import createGetFormInitialValues from '../getFormInitialValues';
import plain from '../../structure/plain';
import plainExpectations from '../../structure/plain/expectations';
import immutable from '../../structure/immutable';
import immutableExpectations from '../../structure/immutable/expectations';
import addExpect... | JamieMason/npm-cache-benchmark | pnpm-offline/.pnpm-store-offline/1/registry.npmjs.org/redux-form/6.6.3/es/selectors/__tests__/getFormInitialValues.spec.js | JavaScript | mit | 1,776 |
describe('Controller: ContentHostsBulkHostCollectionsModalController', function() {
var $scope, $uibModalInstance, hostIds, translate, HostBulkAction, HostCollection, Organization,
Task, CurrentOrganization, Nutupane, $location, hostCollectionIds;
beforeEach(module('Bastion.content-hosts', 'Bastion.tes... | pmoravec/katello | engines/bastion_katello/test/content-hosts/bulk/content-hosts-bulk-host-collections-modal.controller.test.js | JavaScript | gpl-2.0 | 3,277 |
CHS.Editor = {
/* Editor Constants */
GRAPHICS: 0,
CONSOLE: 1,
KAREL: 2,
APP_NAME: 'editor',
SUBMIT_BUTTON: "#submit-button",
NEXT_BUTTON: "#next-button",
SAVE_BUTTON: "#save-button",
run: function() {
this.stop();
this.myCodeMirror.save()... | ty-po/code-dot-org | pegasus/sites.v3/drupal.code.org/public/sites/default/files/karel_starter/static/js/chs_editor.js | JavaScript | apache-2.0 | 4,750 |
/**
* @license
* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be f... | cpboyd/webcomponentsjs | tests/ShadowDOM/js/Document.js | JavaScript | bsd-3-clause | 22,006 |
/*
* container-test.js: Tests for Rackspace Cloudfiles containers
*
* (C) 2010 Charlie Robbins, Ken Perkins, Ross Kukulinski & the Contributors.
* MIT LICENSE
*
*/
// TODO Enable all rackspace storage client tests with mocks
//var path = require('path'),
// vows = require('vows'),
// fs = require('fs'),
/... | Hopebaytech/pkgcloud | test/rackspace/storage/storage-object-large-test.js | JavaScript | mit | 2,695 |
/**!
* @fileOverview Kickass library to create and place poppers near their reference elements.
* @version 1.12.7
* @license
* Copyright (c) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files... | jdh8/cdnjs | ajax/libs/popper.js/1.12.7/umd/popper-utils.js | JavaScript | mit | 33,716 |
var styleModule = require("./style");
var stylePropertyModule = require("./style-property");
var stylersCommonModule = require("./stylers-common");
var visualStateConstatnsModule = require("./visual-state-constants");
var convertersModule = require("./converters");
exports.Property = stylePropertyModule.Property;
expor... | kumabotz/flick | platforms/android/src/main/assets/app/tns_modules/ui/styling/styling.js | JavaScript | mit | 2,045 |
import React, {Component, PropTypes} from "react"
import SVGIcon from "../SVGIcon"
import requireRaw from "../requireRaw"
export default class Footer extends Component {
static contextTypes = {
file: PropTypes.object.isRequired,
}
render() {
return (
<footer className="cssnext-Footer">
<... | arnaudbenard/cssnext | docs/src/modules/Footer/index.js | JavaScript | mit | 1,297 |
/**
* State-based routing for AngularJS 1.x
* @version v1.0.11
* @link https://ui-router.github.io
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('angular')) :
typeof define ==... | webgradus/kms | vendor/assets/bower_components/angular-ui-router/release/stateEvents.js | JavaScript | mit | 12,559 |
// Copyright 2014 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.
/**
* @constructor
* @param {!WebInspector.SourcesPanel} sourcesPanel
* @param {!WebInspector.Workspace} workspace
*/
WebInspector.WorkspaceMappingTi... | CTSRD-SOAAP/chromium-42.0.2311.135 | third_party/WebKit/Source/devtools/front_end/sources/WorkspaceMappingTip.js | JavaScript | bsd-3-clause | 7,607 |
/**
* The examples provided by Facebook are for non-commercial testing and
* evaluation purposes only.
*
* Facebook reserves all rights not expressly granted.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
... | evansolomon/react-native | Examples/TicTacToe/TicTacToeApp.js | JavaScript | bsd-3-clause | 7,383 |
import Ember from 'ember';
import {request as ajax} from 'ic-ajax';
/* global key */
export default Ember.Component.extend({
selection: null,
content: [],
isLoading: false,
contentExpiry: 10 * 1000,
contentExpiresAt: false,
posts: Ember.computed.filterBy('content', 'category', 'Posts'),
p... | denzelwamburu/denzel.xyz | core/client/app/components/gh-search-input.js | JavaScript | mit | 6,110 |
var searchData=
[
['注册登录',['注册登录',['../group___xE6_xB3_xA8_xE5_x86_x8C_xE7_x99_xBB_xE5_xBD_x95.html',1,'']]],
['消息发送与管理',['消息发送与管理',['../group___xE6_xB6_x88_xE6_x81_xAF_xE5_x8F_x91_xE9_x80_x81_xE4_xB8_x8E_xE7_xAE_xA1_xE7_x90_x86.html',1,'']]],
['消息回执与未读',['消息回执与未读',['../group___xE6_xB6_x88_xE6_x81_xAF_xE5_x9B_x9E... | war22moon/jpush-docs | zh/jmessage/client/im_win_api_docs/search/groups_1.js | JavaScript | mit | 458 |
'use strict';
angular.module('mgcrea.ngStrap.timepicker', [
'mgcrea.ngStrap.helpers.dateParser',
'mgcrea.ngStrap.helpers.dateFormatter',
'mgcrea.ngStrap.tooltip'])
.provider('$timepicker', function() {
var defaults = this.defaults = {
animation: 'am-fade',
prefixClass: 'timepicker',
pla... | spawashe/poc-mango-cad | www/lib/bower_components/angular-strap/src/timepicker/timepicker.js | JavaScript | mit | 19,751 |
var prompt = require('../');
prompt.password('tell me a secret: ', function (val) {
console.log(val);
});
| hinsenchan/gearbox_web_app | node_modules/originate/node_modules/loom/node_modules/cli-prompt/examples/password.js | JavaScript | mit | 109 |
Proj4js.defs["EPSG:4384"] = ""; | pmauduit/georchestra | mapfishapp/src/main/webapp/lib/proj4js/lib/defs/EPSG4384.js | JavaScript | gpl-3.0 | 31 |
Proj4js.defs["EPSG:2290"] = "+proj=sterea +lat_0=47.25 +lon_0=-63 +k=0.999912 +x_0=700000 +y_0=400000 +a=6378135 +b=6356750.304921594 +units=m +no_defs"; | debard/georchestra-ird | mapfishapp/src/main/webapp/lib/proj4js/lib/defs/EPSG2290.js | JavaScript | gpl-3.0 | 153 |
Proj4js.defs["EPSG:5612"] = ""; | pmauduit/georchestra | mapfishapp/src/main/webapp/lib/proj4js/lib/defs/EPSG5612.js | JavaScript | gpl-3.0 | 31 |
$(function() {
function toggleIncomingOptions() {
var enabled = $('#emailpost').attr('checked');
if (enabled) {
// Note: button style currently does not respond to disabled in our main themes.
// Graying out the whole section with a 50% transparency will do for now. :)
// @todo: add a g... | gayathri6/stepstream_salute | js_old/emailsettings.js | JavaScript | agpl-3.0 | 735 |
/*
Copyright © 2001-2004 World Wide Web Consortium,
(Massachusetts Institute of Technology, European Research Consortium
for Informatics and Mathematics, Keio University). All
Rights Reserved. This work is distributed under the W3C® Software License [1] in the
hope that it will be useful, but WITHOUT ANY WARRANT... | cristianosistemas/domino | test/w3c/level1/html/obsolete/HTMLTableSectionElement21.js | JavaScript | bsd-2-clause | 3,467 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** 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 Lic... | darkrsw/safe | tests/parser_tests/js/src/tests/js1_5/extensions/regress-303277.js | JavaScript | bsd-3-clause | 2,216 |
var Client = require('../client')
, util = require(process.binding('natives').util ? 'util' : 'sys')
, qs = require('querystring');
var Multipart = module.exports = function(){
Client.apply(this, arguments);
};
util.inherits(Multipart, Client);
Multipart.prototype._onConnect = function(req, res){
var self = ... | thetomcraig/redwood | web/node_modules/socket.io/lib/socket.io/transports/xhr-multipart.js | JavaScript | isc | 2,309 |
var merge = require('merge-deep');
var path = require('path');
var common = {
devtool: 'source-map',
cache: false,
entry: {
},
output: {
path: root('dist'),
filename: '[name].js',
},
resolve: {
// ensure loader extensions match
extensions: ['','.ts','.js','.json']
},
module: {
... | gabrieldamaso7/innocircle | node_modules/ie-shim/webpack.config.js | JavaScript | mit | 1,166 |
/**
* 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... | alexciobanu4/symfony3 | web/node_modules/googleapis/apis/licensing/v1.js | JavaScript | mit | 9,072 |
var [...{x}] = y
| Jazzling/jazzle-parser | test/test-esprima/fixtures/ES6/binding-pattern/array-pattern/rest-element-object-pattern.js | JavaScript | mit | 17 |
'use strict';
var deepMap = require('../../utils/collection/deepMap');
var asinAcsc = require('../../utils/bignumber/asinAcsc');
var HALF_PI = 1.5707963267948966;
function factory (type, config, load, typed) {
var complexAsin = typed.find(load(require('./asin')), ['Complex']);
/**
* Calculate the inverse cos... | SunriseCoder/update-checker | src/main/resources/public/bower_components/mathjs/lib/function/trigonometry/acsc.js | JavaScript | gpl-3.0 | 1,944 |
OC.L10N.register(
"files_versions",
{
"Could not revert: %s" : "Nelze vrátit: %s",
"Versions" : "Verze",
"Failed to revert {file} to revision {timestamp}." : "Selhalo vrácení souboru {file} na verzi {timestamp}.",
"_%n byte_::_%n bytes_" : ["%n bajt","%n bajty","%n bajtů"],
"Restore" : "Obno... | jbicha/server | apps/files_versions/l10n/cs_CZ.js | JavaScript | agpl-3.0 | 580 |
"use strict";
var helpers = require("../../helpers/helpers");
exports["Antarctica/Davis"] = {
"1957" : helpers.makeTestYear("Antarctica/Davis", [
["1957-01-12T23:59:59+00:00", "23:59:59", "zzz", 0],
["1957-01-13T00:00:00+00:00", "07:00:00", "DAVT", -420]
]),
"1964" : helpers.makeTestYear("Antarctica/Davis", [... | kidaa/moment-timezone | tests/zones/antarctica/davis.js | JavaScript | mit | 1,316 |
import Koa from 'koa'
import convert from 'koa-convert'
import webpack from 'webpack'
import webpackConfig from '../build/webpack.config'
import historyApiFallback from 'koa-connect-history-api-fallback'
import serve from 'koa-static'
import proxy from 'koa-proxy'
import _debug from 'debug'
import config from '../confi... | febobo/react-redux-start | server/main.js | JavaScript | mit | 2,127 |
/**
* Element that can be automatically clipped to visible boundaries.
*
* Whenever the element's natural height changes, you have to call
* #clip to make sure it's still clipping correctly.
*
* @abstract
* @class
*
* @constructor
* @param {Object} [config] Configuration options
* @cfg {jQuery} [$clippable] ... | tyolab/mediawiki-dist | vendor/oojs/oojs-ui/src/elements/ClippableElement.js | JavaScript | gpl-2.0 | 7,032 |
a = ''
b = []
a = b.concat(a)
Object.defineProperty(a, 3, {
e: gczeal(4, 2)
})
| michath/ConMonkey | js/src/jit-test/tests/basic/bug768732.js | JavaScript | mpl-2.0 | 81 |
'use strict';
/**
* @ngdoc function
* @name openshiftConsole.controller:CreateProjectController
* @description
* # CreateProjectController
* Controller of the openshiftConsole
*/
angular.module('openshiftConsole')
.controller('CreateProjectController', function ($scope, DataService, Notification, Navigate) {
... | dcrisan/origin | assets/app/scripts/controllers/createProject.js | JavaScript | apache-2.0 | 1,153 |
/**
* @license Highcharts JS v6.0.7 (2018-02-16)
*
* (c) 2009-2016 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
(function(factory) {
if (typeof module === 'object' && module.exports) {
module.exports = factory;
} else {
factory(Highcharts);
}
}(function(Highc... | billchen198318/bamboobsc | gsbsc-mobile-web/WebContent/highcharts/code/js/highcharts-more.src.js | JavaScript | apache-2.0 | 191,102 |
var assert = require('assert'),
spdy = require('../../'),
Buffer = require('buffer').Buffer;
suite('A Parser of SPDY module', function() {
var parser;
[2,3].forEach(function(version) {
suite('version ' + version, function() {
setup(function() {
var deflate = spdy.utils.createDeflate(ver... | ddombrow/watchdog | server/node_modules/restify/node_modules/spdy/test/unit/parser-test.js | JavaScript | apache-2.0 | 3,358 |
var Client = require('./client')
, Server = require('./server')
, CustomType = require('./customtype')
, dateFormatter = require('./date_formatter')
var xmlrpc = exports
/**
* Creates an XML-RPC client.
*
* @param {Object} options - server options to make the HTTP request to
* - {String} host
* - {Numb... | mohamadir/15-minutes | temp/node_modules/xmlrpc/lib/xmlrpc.js | JavaScript | mit | 1,475 |
'use strict';
/**
* 'e:/foo/bar/baz'
*/
module.exports = ['E:\\\\foo/bar\\baz']; | jlinglue/vertexSDK | www/node_modules/update/node_modules/verb/node_modules/template-utils/node_modules/parse-filepath/node_modules/path-ends-with/node_modules/normalize-path/benchmark/fixtures/path-7.js | JavaScript | mit | 84 |
(function ($) {
$.Redactor.opts.langs['id'] = {
html: 'HTML',
video: 'Sisipkan Video...',
image: 'Sisipkan Gambar...',
table: 'Tabel',
link: 'Tautan',
link_insert: 'Sisipkan Tautan ...',
link_edit: 'Edit link',
unlink: 'Hapus Tautan',
formatting: 'Format',
paragraph: 'Paragraf',
... | sho-wtag/catarse-2.0 | vendor/cache/redactor-rails-e79c3b8359b4/vendor/assets/javascripts/redactor-rails/langs/id.js | JavaScript | mit | 2,065 |
import React from 'react';
import Container from './Container';
export default class SortableCancelOnDropOutside {
render() {
return (
<div>
<p>
<b><a href='https://github.com/gaearon/react-dnd/tree/master/examples/04%20Sortable/Cancel%20on%20Drop%20Outside'>Browse the Source</a></b>
... | ntdb/react-dnd | examples/04 Sortable/Cancel on Drop Outside/index.js | JavaScript | mit | 836 |
(function ($) {
$(document).ready(function() {
// Unique ID
var guid = (function() {
function s4() {
return Math.floor((1 + Math.random()) * 0x10000)
.toString(16)
.substring(1);
}
return function() {
return s4() + s4() + '-' + s4() + '-... | adampresley/portfolio | www/assets/materialize/js/pushpin.js | JavaScript | gpl-2.0 | 2,595 |
/**
* Barebones iframe implementation.
*/
Ext.define('Ext.ux.IFrame', {
extend: 'Ext.Component',
alias: 'widget.uxiframe',
loadMask: 'Loading...',
src: 'about:blank',
renderTpl: [
'<iframe src="{src}" id="{id}-iframeEl" data-ref="iframeEl" name="{frameName}" width="100%" height="100%"... | ebouda33/torrent | www/ext/packages/ux/classic/src/IFrame.js | JavaScript | gpl-3.0 | 3,243 |
(function($) {
Sammy = Sammy || {};
// `Sammy.Meld` is a simple templating engine that uses the power of jQuery's
// DOM manipulation to easily meld JSON data and HTML templates very quickly.
//
// The template can either be a string (i.e. loaded from a remote template)
// or a DOM Element/jQuery object. ... | iriscouch/futon_couchdb | priv/sammy_futon/script/sammy/plugins/sammy.meld.js | JavaScript | apache-2.0 | 4,394 |
'use strict';
var path = require('path')
, test = require('tap').test
, request = require('request')
, helper = require(path.join(__dirname, '..', '..', 'lib', 'agent_helper.js'))
;
test("Express 2 router introspection", function (t) {
t.plan(12);
var agent = helper.instrumentMockedAgent()
, a... | Frogman7/Wedding-Website | node_modules/newrelic/test/versioned/express2-ejs/express2-router.tap.js | JavaScript | mit | 1,810 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* Evaluate the production ArrayLiteral: [ Elision, AssignmentExpression, Elision ]
*
* @path ch11/11.1/11.1.4/S11.1.4_A1.6.js
* @description Checking various properteis and contents of the array defined with "var array = [,,3,,,]"
*/
var array = [,,... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch11/11.1/11.1.4/S11.1.4_A1.6.js | JavaScript | bsd-3-clause | 1,513 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* If Type(x) and Type(y) are Null-s, return true
*
* @path ch11/11.9/11.9.4/S11.9.4_A6.2.js
* @description null === null
*/
//CHECK#1
if (!(null === null)) {
$ERROR('#1: null === null');
}
| Oceanswave/NiL.JS | Tests/tests/sputnik/ch11/11.9/11.9.4/S11.9.4_A6.2.js | JavaScript | bsd-3-clause | 263 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* If y is -Infinity and x !== y, return false
*
* @path ch11/11.8/11.8.3/S11.8.3_A4.8.js
* @description x is number primitive
*/
//CHECK#1
if ((0 <= Number.NEGATIVE_INFINITY) !== false) {
$ERROR('#1: (0 <= -Infinity) === false');
}
//CHECK#2
if (... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch11/11.8/11.8.3/S11.8.3_A4.8.js | JavaScript | bsd-3-clause | 938 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* Equivalent to the expression RegExp.prototype.exec(string) != null
*
* @path ch15/15.10/15.10.6/15.10.6.3/S15.10.6.3_A1_T12.js
* @description RegExp is /\.14/ and tested string is {toString:function(){return Math.PI;}}
*/
var __string = {toString:... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.10/15.10.6/15.10.6.3/S15.10.6.3_A1_T12.js | JavaScript | bsd-3-clause | 584 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-223-1.js
* @description Object.defineProperty - 'Attributes' is the Math object that uses Object's [[Get]] method to access the 'get' property of prototype object (8.10.5 step 7.a)
*/
function testcas... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-223-1.js | JavaScript | bsd-3-clause | 684 |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ retu... | froala/cdnjs | ajax/libs/rollbar.js/2.0.0-alpha.2/rollbar.js | JavaScript | mit | 462,751 |
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/autoload/annotation-xm;l.js
*
* Implements the HTML-CSS output for <annotation-xml> elements.
*
* -------... | uva/mathjax-rails-assets | vendor/assets/javascripts/jax/output/HTML-CSS/autoload/annotation-xml.js | JavaScript | mit | 2,160 |
import {
moduleFor,
test
} from 'ember-qunit';
moduleFor('route:items', 'ItemsRoute', {
// Specify the other units that are required for this test.
// needs: ['controller:foo']
});
test('it exists', function() {
var route = this.subject();
ok(route);
});
| cjk/biorder | tests/unit/routes/items-test.js | JavaScript | gpl-2.0 | 269 |
/* SeaJS v1.1.0 | seajs.org | MIT Licensed */
/**
* @fileoverview A CommonJS module loader, focused on web.
* @author lifesinger@gmail.com (Frank Wang)
*/
/**
* Base namespace for the framework.
*/
this.seajs = { _seajs: this.seajs };
/**
* @type {string} The version of the framework. It will be replaced
* ... | liushaohua/tuer.me | public/seajs/sea-debug.js | JavaScript | bsd-3-clause | 32,128 |
// $Id$
(function ($) {
/**
* Attaches the autocomplete behavior to all required fields.
*/
Drupal.behaviors.autocomplete = {
attach: function (context, settings) {
var acdb = [];
$('input.autocomplete', context).once('autocomplete', function () {
var uri = this.value;
if (!acdb[uri]) {
... | Crell/drupal-oo-hooks | misc/autocomplete.js | JavaScript | gpl-2.0 | 8,026 |
/* exported add_option, show_options, hide, fixHelper */
/* jshint scripturl: true */
/* global XProfileAdmin, ajaxurl */
/**
* Add option for the forWhat type.
*
* @param {string} forWhat Value of the field to show options for
*/
function add_option(forWhat) {
var holder = document.getElementById(forWhat +... | ankitdds/liwts | wp-content/plugins/buddypress/bp-xprofile/admin/js/admin.js | JavaScript | gpl-2.0 | 9,602 |
/**
* 动画主控制器
* @config target 动画对象,可以是数组,如果是数组的话会批量分发onframe等事件
* @config life(1000) 动画时长
* @config delay(0) 动画延迟时间
* @config loop(true)
* @config gap(0) 循环的间隔时间
* @config onframe
* @config easing(optional)
* @config ondestroy(optional)
* @config onrestart(optional)
*/
define(
function(require) {
... | lhy0719/xhtBlog | src/main/webapp/thirdlib/zrender/src/animation/Clip.js | JavaScript | apache-2.0 | 3,401 |
/**
* @author TristanVALCKE / https://github.com/TristanVALCKE
*/
//Todo
console.warn("Todo: Unit tests of Shape")
| xundaokeji/three.js | test/unit/src/extras/core/Shape.js | JavaScript | mit | 118 |
// Copyright (c) 2013 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.
cr.define('policy', function() {
/**
* A hack to check if we are displaying the mobile version of this page by
* checking if the first column ... | geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/chrome/browser/resources/policy.js | JavaScript | gpl-3.0 | 20,785 |
// Copyright 2014 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.
var CreateEvent = require('guestViewEvents').CreateEvent;
var GuestViewEvents = require('guestViewEvents').GuestViewEvents;
function ExtensionOptionsEven... | geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/extensions/renderer/resources/guest_view/extension_options/extension_options_events.js | JavaScript | gpl-3.0 | 1,432 |
var srcToCSSP = (function() {
var TokenType = {
StringSQ: 'StringSQ',
StringDQ: 'StringDQ',
CommentML: 'CommentML',
CommentSL: 'CommentSL',
Newline: 'Newline',
Space: 'Space',
Tab: 'Tab',
ExclamationMark: 'ExclamationMark', // !
QuotationMark: 'QuotationMark', /... | tykayn/card-deck | node_old/gulp-csso/node_modules/csso/lib/gonzales.cssp.node.js | JavaScript | apache-2.0 | 67,834 |
// Copyright 2014 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 Stores the history of a ChromeVox session.
*/
goog.provide('cvox.History');
goog.require('cvox.DomUtil');
goog.require('cvox.Node... | scheib/chromium | ui/accessibility/extensions/chromevoxclassic/chromevox/injected/history.js | JavaScript | bsd-3-clause | 10,605 |
YUI.add('dd-delegate', function(Y) {
/**
* Provides the ability to drag multiple nodes under a container element using only one Y.DD.Drag instance as a delegate.
* @module dd
* @submodule dd-delegate
*/
/**
* Provides the ability to drag multiple nodes under a container element u... | Rich-Harris/cdnjs | ajax/libs/yui/3.5.1/dd-delegate/dd-delegate.js | JavaScript | mit | 10,506 |
/**
* jBox is a jQuery plugin that makes it easy to create customizable tooltips, modal windows, image galleries and more.
*
* Author: Stephan Wagner (https://stephanwagner.me)
*
* License: MIT (https://opensource.org/licenses/MIT)
*
* Requires: jQuery 3.2.1 (https://code.jquery.com/jquery-3.2.1.min.js)
*
* Do... | khuenqdev/miribot | web/assets/js/jBox/jBox.js | JavaScript | mit | 79,841 |
tinyMCE.addI18n('ms.advhr_dlg',{size:"Tinggi",noshade:"Tanpa bayang",width:"Lebar"}); | jewsroch/sf-photos | zp-core/zp-extensions/tiny_mce/plugins/advhr/langs/ms_dlg.js | JavaScript | gpl-2.0 | 85 |
import 'babel-polyfill'
import React from 'react'
import { render } from 'react-dom'
import { createStore } from 'redux'
import { Provider } from 'react-redux'
import App from './components/App'
import todoApp from './reducers'
const store = createStore(todoApp)
const rootElement = document.getElementById('root')
ren... | janaagaard75/framework-investigations | old-or-not-typescript/learn-redux/todos-with-undo/index.js | JavaScript | unlicense | 395 |
/*
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/licenses/publicdomain/
*/
/* Check that strict mode functions get decompiled properly. */
function lenient() { return typeof this == "object"; }
assertEq(eval(uneval(lenient) + "lenient;")(), true);
function strict() { 'use strict'... | darkrsw/safe | tests/parser_tests/js/src/tests/ecma_5/extensions/XXXuneval-strict-functions.js | JavaScript | bsd-3-clause | 1,756 |
/*
* Planck.js v0.1.16
*
* Copyright (c) 2016-2017 Ali Shakiba http://shakiba.me/planck.js
* Copyright (c) 2006-2013 Erin Catto http://www.gphysics.com
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from... | Asaf-S/jsdelivr | files/planck/0.1.16/planck-with-testbed.js | JavaScript | mit | 461,750 |
/*jshint multistr:true */
this.recline = this.recline || {};
this.recline.View = this.recline.View || {};
(function($, my) {
"use strict";
my.QueryEditor = Backbone.View.extend({
className: 'recline-query-editor',
template: ' \
<form action="" method="GET" class="form-inline"> \
<div class="input-pr... | angrycactus/dkan | webroot/profiles/dkan/libraries/recline_deeplink/lib/widget.queryeditor.js | JavaScript | gpl-2.0 | 1,173 |
import { moduleForModel, test } from 'ember-qunit';
moduleForModel('user', 'Unit | Model | user', {
// Specify the other units that are required for this test.
needs: []
});
test('it exists', function(assert) {
var model = this.subject();
// var store = this.store();
assert.ok(!!model);
});
| asm-products/autora | webapp/client/tests/unit/user/model-test.js | JavaScript | agpl-3.0 | 304 |
'use strict';
/**
* Provides methods for augmenting the parse results based on their content.
* @module jsdoc/augment
*/
var doop = require('jsdoc/util/doop');
var name = require('jsdoc/name');
var hasOwnProp = Object.prototype.hasOwnProperty;
function mapDependencies(index, propertyName) {
var dependencies ... | case2111/ueditor_port_rails | ueditor1_4_3_1-src/node_modules/grunt-closurecompiler/node_modules/closurecompiler/node_modules/jsdoc/lib/jsdoc/augment.js | JavaScript | mit | 19,797 |
/**
* Menu button with a popup for showing the volume slider.
* @constructor
*/
vjs.VolumeMenuButton = vjs.MenuButton.extend({
/** @constructor */
init: function(player, options){
vjs.MenuButton.call(this, player, options);
// Same listeners as MuteToggle
player.on('volumechange', vjs.bind(this, thi... | Socratacom/socrata-europe | wp-content/themes/socrata/bower_components/videojs/src/js/control-bar/volume-menu-button.js | JavaScript | gpl-2.0 | 1,620 |
var Faker = require('../lib');
var faker = new Faker({ locale: 'nl', localeFallback: 'en' });
faker.locales['nl'] = require('../lib/locales/nl');
faker.locales['en'] = require('../lib/locales/en');
module['exports'] = faker;
| together-web-pj/together-web-pj | node_modules/faker/locale/nl.js | JavaScript | gpl-3.0 | 225 |
(function ($, Drupal, drupalSettings) {
"use strict";
/**
* Ensures that the "stylescombo" button's metadata remains up-to-date.
*
* Triggers the CKEditorPluginSettingsChanged event whenever the "stylescombo"
* plugin settings change, to ensure that the corresponding feature metadata is
* immediate... | casivaagustin/drupalcon-mentoring | src/core/modules/ckeditor/js/ckeditor.stylescombo.admin.js | JavaScript | mit | 4,162 |
$(function() {
function LoginStateViewModel() {
var self = this;
self.loginUser = ko.observable();
self.loginPass = ko.observable();
self.loginRemember = ko.observable(false);
self.loggedIn = ko.observable(false);
self.username = ko.observable(undefined);
se... | dragondgold/OctoPrint | src/octoprint/static/js/app/viewmodels/loginstate.js | JavaScript | agpl-3.0 | 4,414 |
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var OuterSubscriber_1 = require('../OuterSubscri... | MSCommunity/community | src/MyAngular2BaseApp/node_modules/rxjs/operator/switchMapTo.js | JavaScript | mit | 3,188 |
function array_replace_recursive(arr) {
// discuss at: http://phpjs.org/functions/array_replace_recursive/
// original by: Brett Zamir (http://brett-zamir.me)
// example 1: array_replace_recursive({'citrus' : ["orange"], 'berries' : ["blackberry", "raspberry"]}, {'citrus' : ['pineapple'], 'berries' : ['blueber... | grshane/monthofmud | web/themes/custom/mom/node_modules/phpjs/functions/array/array_replace_recursive.js | JavaScript | mit | 1,146 |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.ReduxPersist = global.ReduxPersist || {})));
}(this, (function (exports) { 'use strict';
var KEY_PREFIX = 'redu... | jdh8/cdnjs | ajax/libs/redux-persist/4.9.1/redux-persist.js | JavaScript | mit | 25,927 |
/**
* Copyright (c) 2008-2011 The Open Planning Project
*
* Published under the GPL license.
* See https://github.com/opengeo/gxp/raw/master/license.txt for the full text
* of the license.
*/
/**
* @require OpenLayers/Filter/Comparison.js
*/
/** api: (define)
* module = gxp.form
* class = C... | sahana/Turkey | static/scripts/gis/gxp/widgets/form/ComparisonComboBox.js | JavaScript | mit | 2,563 |
/**
* The examples provided by Facebook are for non-commercial testing and
* evaluation purposes only.
*
* Facebook reserves all rights not expressly granted.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
... | ymcao/TopNewsIOS | ProDevForIOS/React-Native-0.21-stable/Examples/UIExplorer/PanResponderExample.js | JavaScript | mit | 3,915 |
// Copyright JS Foundation and other contributors, http://js.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 r... | grgustaf/jerryscript | tests/jerry/string-prototype.js | JavaScript | apache-2.0 | 670 |
/*! /function/unique/uuid 2.0.0 | http://nucleus.qoopido.com | (c) 2016 Dirk Lueth */
!function(){"use strict";function x(){function x(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(r,function(x){var n=16*Math.random()|0;return("x"===x?n:3&n|8).toString(16)})}var n={},r=new RegExp("[xy]","g");return function(){... | Asaf-S/jsdelivr | files/qoopido.nucleus/2.0.0/function/unique/uuid.js | JavaScript | mit | 412 |