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 |
|---|---|---|---|---|---|
define("dojox/mobile/_TimePickerMixin", [
"dojo/_base/declare",
"dojo/dom-class",
"dojo/date/locale"
], function(declare, domClass, datelocale){
// module:
// dojox/mobile/_TimePickerMixin
return declare("dojox.mobile._TimePickerMixin", null, {
// summary:
// A mixin for time picker widget.
... | hariomkumarmth/champaranexpress | wp-content/plugins/dojo/dojox/mobile/_TimePickerMixin.js.uncompressed.js | JavaScript | gpl-2.0 | 1,228 |
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.2.2 (2020-04-23)
*/
(function () {
'use strict';
... | emundus/v6 | media/com_emundus_onboard/plugins/noneditable/plugin.js | JavaScript | gpl-2.0 | 4,547 |
/*!
* ExpressLoad.
* Autoload config, models, controllers etc...
*
* @author Jarrad Seers <jarrad@jarradseers.com>
* @created 07/08/2012 NZST
*/
/**
* Module dependencies.
*/
var fs = require('fs')
, path = require('path')
, util = require('util');
/**
* Module Globals.
*/
var title = 'express... | filipe1309/Codes | projects/cdc_node_project/ntalk/node_modules/express-load/lib/express-load.js | JavaScript | gpl-2.0 | 5,502 |
/**
* @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'language', 'pl', {
button: 'Ustaw język',
remove: 'Usuń język'
} );
| SeeyaSia/www | web/libraries/ckeditor/plugins/language/lang/pl.js | JavaScript | gpl-2.0 | 261 |
$(document).ready(function() {
var content_frame = $('#content_frame');
var page_link = $('#pageLink');
change_page = function (pagename) {
content_frame.attr ('src', 'monodoc.ashx?link=' + pagename);
page_link.attr ('href', '?link=' + pagename);
if (window.history && window.history.pushState) {
... | directhex/xamarin-mono-tools | webdoc/plugins/sidebar-plugin/make-tree.js | JavaScript | gpl-2.0 | 1,406 |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'image', 'it', {
alt: 'Testo alternativo',
border: 'Bordo',
btnUpload: 'Invia al server',
button2Img: 'Vuoi trasformare il bottone immagin... | eastoncat/cm.eastoncat | sites/all/modules/contrib/civicrm/packages/ckeditor/plugins/image/lang/it.js | JavaScript | gpl-2.0 | 1,000 |
define(
"dijit/_editor/nls/zh-tw/FontChoice", ({
fontSize: "大小",
fontName: "字型",
formatBlock: "格式",
serif: "新細明體",
"sans-serif": "新細明體",
monospace: "等寬",
cursive: "Cursive",
fantasy: "Fantasy",
noFormat: "無",
p: "段落",
h1: "標題",
h2: "子標題",
h3: "次子標題",
pre: "預先格式化",
1: "最小",
2: "較小",
3:... | hariomkumarmth/champaranexpress | wp-content/plugins/dojo/dijit/_editor/nls/zh-tw/FontChoice.js.uncompressed.js | JavaScript | gpl-2.0 | 464 |
/*
* Copyright (c) 2012 CoNWeT Lab., Universidad Politécnica de Madrid
*
* This file is part of Wirecloud Platform.
*
* Wirecloud Platform 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 ... | sixuanwang/SAMSaaS | wirecloud-develop/src/wirecloud/platform/static/js/wirecloud/PolicyManager.js | JavaScript | gpl-2.0 | 1,584 |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("specialchar", "tr", {euro: "Euro işareti", lsquo: "Sol tek tırnak işareti", rsquo: "Sağ tek tırnak işareti", ldquo: "Sol çift tırnak işareti", rdqu... | octoray/AJAX_PFI | testmon/vendors/ckeditor/plugins/specialchar/dialogs/lang/tr.js | JavaScript | gpl-2.0 | 4,734 |
/**
* @package YJSG Framework
* @copyright Copyright(C) since 2007 Youjoomla.com. All Rights Reserved.
* @author YouJoomla
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
* @websites http://www.youjoomla.com | http://www.yjsimplegrid.com
*/
;
(function ($) {
$.fn.Sm... | baxri/cvote | plugins/system/yjsg/legacy/src/yjsg.smoothdrop.js | JavaScript | gpl-2.0 | 18,857 |
(function () {
'use strict';
window.HeVinci = window.HeVinci || {};
window.HeVinci.ObjectiveUtils = Utils;
/**
* Initializes the helper for a given context. Supported contexts are:
*
* - "objectives" Admin management page of objectives
* - "myObjectives" User objectives p... | ClaroBot/Distribution | plugin/competency/Resources/public/js/objectiveUtils.js | JavaScript | gpl-3.0 | 6,924 |
// @flow
import React, { Component } from 'react'
import EditProfile from 'containers/profile/EditProfile'
import ShowProfile from 'containers/profile/ShowProfile'
class ProfilePage extends Component {
state = {
editing: false,
}
editProfile() {
this.setState({
editing: true
})
}
cancelE... | MichaelMure/TotallyNotArbore | app/containers/profile/ProfilePage.js | JavaScript | gpl-3.0 | 619 |
// Copyright (C) 2011 Regis Houssin <regis@dolibarr.fr>
// Copyright (C) 2009 Laurent Destailleur <eldy@users.sourceforge.net>
//
// 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; eithe... | FHenry/speedealing | htdocs/core/js/jnotify.js | JavaScript | gpl-3.0 | 2,141 |
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
browserify: {
'public/js/app.js': ['client/js/app.js'],
'public/js/map.js': ['client/js/map.js'],
'public/js/styles.js': ['client/js/styles.js'],
'public/js/inputs.js': ['client/js/inputs.js... | worldbank-climate-group/res-ind-tool-country-level | Gruntfile.js | JavaScript | gpl-3.0 | 1,249 |
/**
* Copyright (C) 2015 Austin Peterson
*
* 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 version.
*
* This program is ... | feildmaster/AKP48 | AKP48/Processors/MessageProcessor.js | JavaScript | gpl-3.0 | 2,858 |
/*
* jquery.gridster
* https://github.com/ducksboard/gridster.js
*
* Copyright (c) 2012 ducksboard
* Licensed under the MIT licenses.
*/
(function (root, factory) {
'use strict';
if (typeof exports === 'object') {
module.exports = factory(require('jquery'), require('./jquery.draggable.js'), require('./jquery... | joamuran/classroom-assembly | class-jam/src/lib/gridster/src/jquery.gridster.js | JavaScript | gpl-3.0 | 121,545 |
var HP="3",IP="Any",JP="Aromatic",KP="Nonring",LP="Reset",MP="Ring";function UP(){UP=r;VP=new lp(fd,new WP)}function WP(){}q(215,212,{},WP);_.Tc=function(a){Nx();hM(this,a.b,XP(a.a.a,a.a.a.ob.selectedIndex))};_.Wc=function(){return VP};var VP;function YP(a,b){if(0>b||b>=a.ob.options.length)throw new Eu;}function XP(a,b... | saylordotorg/Moodle_Saylor | question/type/jme/jsme/jsme/deferredjs/7D6AABA6E7E8F41878EB67732DF1CF5E/3.cache.js | JavaScript | gpl-3.0 | 5,800 |
/* Function
* Zoom to boundbox
*input: (1) Gmap object
* (2) Optie1 Item with south, north, west, east and (optional) projection
* optie2 GLatLngBounds or NBounds object
*Dependencies: openLzyers
*
*
*/
function Ozoom(map_ ,bounds ) {
if (bounds) {
if (b... | lizardsystem/flooding-base | flooding_base/static/scripts/shared/maptools.js | JavaScript | gpl-3.0 | 5,171 |
/* Trigger.js
*
* copyright (c) 2010-2022, Christian Mayer and the CometVisu contributers.
*
* 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... | ChristianMayer/CometVisu | source/class/cv/ui/structure/pure/Trigger.js | JavaScript | gpl-3.0 | 2,872 |
'use strict';
define('admin/modules/dashboard-line-graph', ['Chart', 'translator', 'benchpress', 'api', 'hooks', 'bootbox'], function (Chart, translator, Benchpress, api, hooks, bootbox) {
const Graph = {
_current: null,
};
let isMobile = false;
Graph.init = ({ set, dataset }) => {
const canvas = document.get... | NodeBB/NodeBB | public/src/admin/modules/dashboard-line-graph.js | JavaScript | gpl-3.0 | 5,898 |
/*
* jQuery Highlight Plugin
* Examples and documentation at: http://demo.webcodingstudio.com/highlight/
* Copyright (c) 2010 E. Matsakov
* Version: 1.0 (26-FEB-2010)
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
* Req... | quickapps-modules/QACMS-SeoTools | webroot/js/highlight-master/jquery.highlight.js | JavaScript | gpl-3.0 | 15,739 |
angular.module('app')
.controller('accountsChartsCtrl', ['$scope', '$rootScope', '$filter', 'api', 'Assets', 'Charts', 'Translate',
function($scope, $rootScope, $filter, api, Assets, Charts, Translate) {
function reduceArray(array, x, y) {
var returnArray = [];
for (var i = 0; i < array.length; i++)... | AlexChien/bitsharesblocks | app/components/charts/accountsChartsCtrl.js | JavaScript | gpl-3.0 | 3,793 |
/* TL.Media
Main media template for media assets.
Takes a data object and populates a dom object
================================================== */
// TODO add link
TL.Media = TL.Class.extend({
includes: [TL.Events, TL.I18NMixins],
_el: {},
/* Constructor
================================================== ... | tkandala/TimelineJS3 | source/js/media/TL.Media.js | JavaScript | mpl-2.0 | 8,451 |
var Appcache = require('node-appcache-generator');
var fs = require('fs');
var gulp = require('gulp');
module.exports = function (callback) {
var cache = new Appcache.Generator(
null,
['*', 'http://*' ,'https://*'],
['/', 'fallback.html'],
null
);
cache.generateFromDir('.... | badsha-eee/webmaker-app | gulp/cache.js | JavaScript | mpl-2.0 | 475 |
import * as React from 'react';
import { shallow } from 'enzyme';
import Icon from 'ui/components/Icon';
import IconXMark from 'ui/components/IconXMark';
describe(__filename, () => {
const render = (props = {}) => {
return shallow(<IconXMark {...props} />);
};
it('renders a custom class name', () => {
... | kumar303/addons-frontend | tests/unit/ui/components/TestIconXMark.js | JavaScript | mpl-2.0 | 819 |
/* -*- 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/. */
//--------------------------------... | cledoux/cmps530 | js/src/tests/js1_5/Regress/regress-478314.js | JavaScript | mpl-2.0 | 947 |
if (!this.hasOwnProperty("TypedObject"))
quit();
var Vec3u16Type = TypedObject.uint16.array(3);
function foo() {
var x = 0;
for (var i = 0; i < 3; i++) {
var obj = new Vec3u16Type;
var buf = TypedObject.storage(obj).buffer;
var arr = new Uint8Array(buf, 3);
arr[0] = i + 1;
... | cstipkovic/spidermonkey-research | js/src/jit-test/tests/TypedObject/bug1103273-2.js | JavaScript | mpl-2.0 | 507 |
jQuery(function($){var d=$.datepicker.regional['es'];d.buttonText='Open the calendar';d.resetButtonText='Reset the date';$.datepicker.setDefaults($.datepicker.regional['es'])}); | aeag/lizmap-web-client | lizmap/www/jelix/js/jforms/datepickers/default/ui.es.js | JavaScript | mpl-2.0 | 177 |
/**
* Socket implementation that uses flash SocketPool class as a backend.
*
* @author Dave Longley
*
* Copyright (c) 2010-2012 Digital Bazaar, Inc.
*/
(function() {
// define forge
var forge = window.forge = window.forge || {};
// define net namespace
var net = {
// map of flash ID to socket pool
socketPoo... | nmc-probe/emulab-nome | protogeni/flack/js/forge/socket.js | JavaScript | agpl-3.0 | 8,368 |
/*
This file is part of the Juju GUI, which lets users view and manage Juju
environments within a graphical interface (https://launchpad.net/juju-gui).
Copyright (C) 2016 Canonical Ltd.
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License vers... | bac/juju-gui | jujugui/static/gui/src/app/components/budget-chart/test-budget-chart.js | JavaScript | agpl-3.0 | 3,989 |
import React from 'react';
import Analyzer from 'parser/core/Analyzer';
import { formatNumber, formatPercentage } from 'common/format';
import SPELLS from 'common/SPELLS/index';
import TraitStatisticBox, { STATISTIC_ORDER } from 'interface/others/TraitStatisticBox';
import SpellLink from 'common/SpellLink';
/**
* You... | ronaldpereira/WoWAnalyzer | src/parser/shared/modules/spells/bfa/azeritetraits/LaserMatrix.js | JavaScript | agpl-3.0 | 1,972 |
///import core
///import uicore
///import ui/popup.js
///import ui/autotypesetpicker.js
///import ui/splitbutton.js
(function (){
var utils = baidu.editor.utils,
Popup = baidu.editor.ui.Popup,
AutoTypeSetPicker = baidu.editor.ui.AutoTypeSetPicker,
SplitButton = baidu.editor.ui.SplitButton,
... | voilet/cmdb | static/js/ueditor/_src/ui/autotypesetbutton.js | JavaScript | agpl-3.0 | 3,233 |
/*
* 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... | venturehive/canvas-lms | app/jsx/collaborations/reducers/createCollaborationReducer.js | JavaScript | agpl-3.0 | 1,783 |
import { writeSavedTimer } from './output'
import db from '../db'
import { saveTimer } from '../timers'
export default { builder, handler : start}
const defTimersDoc = {
_id: '_local/timers',
timers: []
}
function builder(yargs) {
return yargs
.usage('Usage: tick start [message]')
.example('tick start', 's... | chadfawcett/tickbin | src/commands/tick-start.js | JavaScript | agpl-3.0 | 960 |
/**
* Copyright 2020 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... | rsimha-amp/amphtml | src/preact/component/index.js | JavaScript | apache-2.0 | 830 |
/*
* 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 ... | guozanhua/chrome-app-developer-tool | www/cdvah/js/Installer.js | JavaScript | apache-2.0 | 9,695 |
describe('Get Core', function() {
require('./missing.spec');
require('./values.spec');
require('./references.spec');
require('./errors.spec');
require('./deref.spec');
require('./edges.spec');
require('./null.spec');
require('./get.cache.spec');
});
| jontewks/falcor | test/get-core/index.js | JavaScript | apache-2.0 | 282 |
function preg6(nombre) {
var self = Ti.UI.createWindow({
backgroundImage:"/assets/bg.jpg"
});
var mpuntaje = require("/ui/puntaje");
var msalir = require("/ui/salir");
var mdesafio = require("/ui/desafio");
var cpuntaje = new mpuntaje();
var csalir = new msalir();
va... | kjayru/aplha2etapa | build/iphone/build/Debug-iphonesimulator/Alpha2014.app/ui/tombola2/prega2.js | JavaScript | apache-2.0 | 5,889 |
/**
* Created by yingding on 04.04.17.
*/
var webpack = require('webpack');
var webpackMerge = require('webpack-merge');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var commonConfig = require('./webpack.common.js');
var helpers = require('./helpers');
const ENV = process.env.NODE_ENV = process.en... | yingding/hca17 | week2/webClient/config/webpack.prod.js | JavaScript | apache-2.0 | 1,164 |
<%#
Copyright 2013-2017 the original author or authors from the JHipster project.
This file is part of the JHipster project, see http://www.jhipster.tech/
for more information.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You ma... | deepu105/generator-jhipster | generators/client/templates/angularjs/src/main/webapp/app/components/util/_data-util.service.js | JavaScript | apache-2.0 | 2,825 |
viewModel.chart = new Object()
var crt = viewModel.chart
crt.setMode = (what) => () => {
crt.mode(what)
if (what == 'render') {
crt.refresh()
}
}
crt.categoryAxisField = ko.observable('customer.channelname')
crt.title = ko.observable('')
crt.data = ko.observableArray([])
crt.series = ko.observableArray([])
crt.c... | eaciit/gdrj | web/src/js/museum/page-widget-chart.js | JavaScript | apache-2.0 | 7,499 |
/*
* 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
* distribut... | r-kamath/incubator-zeppelin | zeppelin-web/src/app/tabledata/advanced-transformation-util.js | JavaScript | apache-2.0 | 40,546 |
/*
* 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 ... | orifinkelman/incubator-trafficcontrol | traffic_ops/experimental/ui/app/src/common/modules/table/jobs/index.js | JavaScript | apache-2.0 | 941 |
/*
* Copyright 2021 Apollo Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | yiming187/apollo | apollo-portal/src/main/resources/static/scripts/controller/config/DiffConfigController.js | JavaScript | apache-2.0 | 4,245 |
// Uses CommonJS, AMD or browser globals to create a module.
// Based on: https://github.com/umdjs/umd/blob/master/commonjsStrict.js
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['exports'], factory);
} else if (typ... | jonasfj/rison | js/rison.js | JavaScript | apache-2.0 | 14,917 |
/**
* @license
* Copyright 2020 The FOAM Authors. All Rights Reserved.
* http://www.apache.org/licenses/LICENSE-2.0
*/
foam.INTERFACE({
package: 'foam.nanos.google.api.sheets',
name: 'GoogleSheetsDataImportService',
methods: [
{
name: 'getColumns',
javaType: 'String[]',
args: [
... | jacksonic/vjlofvhjfgm | src/foam/nanos/google/api/sheets/import/GoogleSheetsDataImportService.js | JavaScript | apache-2.0 | 843 |
var usersqls = {
insert: 'INSERT INTO userinfo(id,username,userpass) VALUES(0,?,?)',
queryCount: 'SELECT COUNT(1) AS num FROM userinfo WHERE username = ?',
queryByusername: 'SELECT * FROM userinfo WHERE username = ?'
};
module.exports = usersqls; | lnluckybamboo/fd_homework | task9/myexpress/models/userSql.js | JavaScript | apache-2.0 | 258 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: Function.prototype.apply can`t be used as [[Construct]] caller
es5id: 15.3.4.3_A8_T6
description: >
Checking if creating "new (Function("function
f(){this.p1=1;};retur... | baslr/ArangoDB | 3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/Function/prototype/apply/S15.3.4.3_A8_T6.js | JavaScript | apache-2.0 | 648 |
/*
* 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 ... | vldpyatkov/ignite | modules/web-console/frontend/controllers/igfs-controller.js | JavaScript | apache-2.0 | 15,348 |
"use strict";
var surveyModel = require( '../models/survey-model' ),
instanceModel = require( '../models/instance-model' ),
account = require( '../models/account-model' ),
auth = require( 'basic-auth' ),
express = require( 'express' ),
router = express.Router(),
debug = require( 'debug' )( 'api... | dozymoe/enketo-express-oc | app/controllers/api-v2-controller.js | JavaScript | apache-2.0 | 11,706 |
/**
* RN CLI Config that allows Exponent to work with this project
*
* Extends the base rn-cli.config.js at the root of the project to use a custom transfomer and a
* special blacklist.
*/
const path = require('path');
const config = require('../../../rn-cli.config');
config.getBlacklist = () => [
new RegExp(`... | half-shell/react-navigation | examples/NavigationPlayground/__exponent/rn-cli.config.js | JavaScript | bsd-2-clause | 895 |
/*
* Copyright 2013-2015, All Rights Reserved.
*
* Code licensed under the BSD License:
* https://github.com/node-gh/gh/blob/master/LICENSE.md
*
* @author Henrique Vicente <henriquevicente@gmail.com>
*/
'use strict';
var base = require('../base'),
logger = require('../logger');
function Version() {
}
Ver... | henvic/gh | lib/cmds/version.js | JavaScript | bsd-3-clause | 607 |
// 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.
'use strict';
/**
* Prepares the photo editor.
*
* @param {string} testVolumeName Test volume name passed to the addEntries
* function. Either 'd... | Pluto-tv/chromium-crosswalk | ui/file_manager/integration_tests/gallery/photo_editor.js | JavaScript | bsd-3-clause | 7,117 |
var gonzales = require('gonzales');
var traverse = require('./lib/traverse.js');
var utils = require('./lib/utils.js');
exports.parse = gonzales.srcToCSSP;
exports.toCSS = gonzales.csspToSrc;
exports.toTree = gonzales.csspToTree;
exports.traverse = traverse;
exports.same = utils.same; | tanbo800/ourjs | node_modules/cssshrink/node_modules/gonzales-ast/index.js | JavaScript | bsd-3-clause | 286 |
/**
* Pimcore
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://www.pimcore.org/license
*
* @copyright Copyright (c) 2009-2014 pimcore GmbH (http://www.pimcore... | yasarkunduz/pimcore | pimcore/static6/js/pimcore/document/hardlink.js | JavaScript | bsd-3-clause | 8,758 |
/**
* Loads all assets used by the game
*/
var LoadState = function() {
this.create = function() {
this.state.start('play');
};
this.preload = function() {
this.load.spritesheet('runner', 'assets/runner.png?5', 64, 56); // Public domain, http://opengameart.org/content/classic-hero-and-baddies-pack
this.loa... | tutsplus/Message-Queues-for-Games | v2-message-queue/LoadState.js | JavaScript | bsd-3-clause | 732 |
// ==========================================================================
// Project: SproutCore - JavaScript Application Framework
// Copyright: ©2006-2011 Apple Inc. and contributors.
// License: Licensed under MIT license (see license.js)
// ===================================================================... | darkrsw/safe | tests/clone_detector_tests/sproutcore/frameworks/datastore/tests/system/nested_store/readEditableDataHash.js | JavaScript | bsd-3-clause | 4,453 |
/**
* 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.
*
* @provides... | adamjmcgrath/react-native | Libraries/Components/Touchable/TouchableWithoutFeedback.js | JavaScript | bsd-3-clause | 6,774 |
var _curryN = /*#__PURE__*/require('./internal/_curryN');
var _reduce = /*#__PURE__*/require('./internal/_reduce');
var _reduced = /*#__PURE__*/require('./internal/_reduced');
/**
* Like [`reduce`](#reduce), `reduceWhile` returns a single item by iterating
* through the list, successively calling the iterator func... | endlessm/chromium-browser | third_party/devtools-frontend/src/node_modules/ramda/src/reduceWhile.js | JavaScript | bsd-3-clause | 1,514 |
describe('ReferenceField', function() {
var choiceDirective = require('../../../../ng-admin/Crud/field/maChoiceField');
var referenceDirective = require('../../../../ng-admin/Crud/field/maReferenceField');
var ReferenceField = require('admin-config/lib/Field/ReferenceField');
var mixins = require('../..... | SebLours/ng-admin | src/javascripts/test/unit/Crud/field/maReferenceFieldSpec.js | JavaScript | mit | 4,184 |
asynctest(
'browser.AutoCompleteTest',
[
'ephox.agar.api.Chain',
'ephox.agar.api.FocusTools',
'ephox.agar.api.GeneralSteps',
'ephox.agar.api.Keyboard',
'ephox.agar.api.Keys',
'ephox.agar.api.Pipeline',
'ephox.agar.api.UiControls',
'ephox.agar.api.UiFinder',
'ephox.mcagar.api.Tiny... | pvskand/addictionRemoval | tinymce/src/themes/inlite/src/test/js/browser/AutoCompleteTest.js | JavaScript | mit | 3,295 |
# Phần 5.Các loại phương tiện truyền dẫn trong LANs.
=================================================
1. | MinhTamCK/OnThiDaiHoc | NhapMonLapTrinh/Ly Thuyet/Q-Sessison5-Media_in_LANs.js | JavaScript | mit | 118 |
/**
* @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... | gdg-x/boomerang-polymer | components/webcomponentsjs/CustomElements.debug.js | JavaScript | mit | 34,647 |
// Invoke 'strict' JavaScript mode
'use strict';
// Create the 'articles' module
angular.module('dashboards', ['ui.directives','720kb.datepicker','ui.timepicker','ngDialog','angular-svg-round-progress']); | vibhatha/mean | App_38/public/dashboards/dashboards.client.module.js | JavaScript | mit | 205 |
YUI.add('aui-datatable-edit', function (A, NAME) {
/**
* The Datatable Component
*
* @module aui-datatable
* @submodule aui-datatable-edit
*/
var Lang = A.Lang,
AArray = A.Array,
isArray = Lang.isArray,
isBoolean = Lang.isBoolean,
isFunction = Lang.isFunction,
isObject = Lang.isObject,
is... | marclundgren/marclundgren.github.io | node-checkpoints/build/aui-datatable-edit/aui-datatable-edit.js | JavaScript | mit | 57,142 |
"use strict";
bmApp.controller('AdminDeleteBookCtrl', function ($scope, $routeParams, $location, BookDataService) {
var isbn = $routeParams.isbn;
$scope.book = BookDataService.getBookByIsbn(isbn);
$scope.deleteBook = function(isbn) {
BookDataService.deleteBookByIsbn(isbn);
goToAdminListVie... | alessioalex/dpunkt-buch-beispiele | ch04_02_tags/app/scripts/controllers/admin_delete_book.js | JavaScript | mit | 495 |
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<ff40aed3600a349a81c8d336ef25c383>>
* @flow
* @lightSyntaxTransform
* @nogrep
*/
/* eslint-disabl... | voideanvalue/relay | packages/relay-test-utils/__tests__/__generated__/RelayMockEnvironmentWithComponentsTestWorldClassFeatureQuery.graphql.js | JavaScript | mit | 3,897 |
"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/atn/ATNSimulator.js | JavaScript | mit | 2,682 |
"use strict";
var $ = require("jquery");
var Plugin = require("../modules/Plugin");
var dubtrackfm = Object.create(Plugin);
dubtrackfm.init("dubtrackfm", "Dubtrack.fm", new RegExp("dubtrack\\.fm", "i"));
dubtrackfm.scrape = function () {
var info = {};
var player = $("#player-controller");
... | nwalker/scroblr | src/js/plugins/dubtrackfm.js | JavaScript | mit | 763 |
(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... | hbzhang/me | me/bower_components/ng-focus-on/ng-focus-on.min.js | JavaScript | mit | 841 |
'use strict';
var HelloFileSystem = require('../../../src/node/HelloFileSystem');
describe("HelloWorld", function() {
it("hello() should say hello from file when called", function() {
expect(HelloFileSystem.hello()).toEqual("hello");
});
});
| strandedcity/HereThere2015 | theTwo/nick/suns/test/spec/node/HelloFileSystemSpec.js | JavaScript | mit | 260 |
function foo() {
console.log(foobar)
}
foo()
| opbeat/opbeat-angular | examples/sourcemaps/src/scripts/app.js | JavaScript | mit | 50 |
;(function(){
'use strict';
//Setting up route
angular
.module('<%= slugifiedPluralName %>')
.config( Configuration );
/* @inject */
function Configuration($stateProvider) {
// <%= humanizedPluralName %> state routing
$stateProvider
.state('list<%= classifiedPluralName %>', {
url... | joelcoxokc/slush-builder | templates/crud-module/angular-module/base/client/config/_.client.routes.js | JavaScript | mit | 2,587 |
/*!
* jQuery JavaScript Library v1.9.0 -effects,-dimensions
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2013-2-7
*/
(function( window, undefin... | eric-seekas/jquery-builder | dist/1.9.0/jquery-dimensions-effects.js | JavaScript | mit | 246,252 |
export class kendoToStringValueConverter {
toView(value, format, language) {
return kendo.toString(value, format, language);
}
}
export class kendoParseDateValueConverter {
toView(value, format, language) {
return kendo.parseDate(value, format, language);
}
}
export class kendoParseIntValueConverter {... | aurelia-ui-toolkits/aurelia-kendoui-bridge | src/valueconverters/valueconverters.js | JavaScript | mit | 881 |
/**
* @license
* Video.js 7.6.5 <http://videojs.com/>
* Copyright Brightcove, Inc. <https://www.brightcove.com/>
* Available under Apache License Version 2.0
* <https://github.com/videojs/video.js/blob/master/LICENSE>
*
* Includes vtt.js <https://github.com/mozilla/vtt.js>
* Available under Apache License Versi... | joeyparrish/cdnjs | ajax/libs/video.js/7.6.5/alt/video.core.novtt.js | JavaScript | mit | 833,748 |
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
'use strict';
module.exports = require('./src/ReactTestRenderer');
| brigand/react | packages/react-test-renderer/index.js | JavaScript | mit | 264 |
/**
* Expose `parse`.
*/
module.exports = parse;
/**
* Wrap map from jquery.
*/
var map = {
legend: [1, '<fieldset>', '</fieldset>'],
tr: [2, '<table><tbody>', '</tbody></table>'],
col: [2, '<table><tbody></tbody><colgroup>', '</colgroup></table>'],
_default: [0, '', '']
};
map.td =
map.th = [3, '<tabl... | MtC/mtcms | public/js/domify/index.js | JavaScript | mit | 1,802 |
var cartApp = angular.module('cartApp', []);
cartApp.controller('cartCtrl', function($scope, $http) {
$scope.refreshCart = function(cartId) {
$http.get('/webstore/rest/cart/' + $scope.cartId)
.success(function(data) {
$scope.cart = data;
});
};
$scope.clear... | sohtsuka/Spring-MVC-Beginners-Guide-Second-Edition | Chp 12 code/webstore/src/main/webapp/resources/js/controllers.js | JavaScript | mit | 1,098 |
YUI.add('inputex-dateselectmonth', function (Y, NAME) {
/**
* @module inputex-dateselectmonth
*/
var lang = Y.Lang,
inputEx = Y.inputEx;
/**
* A field to enter a date with 2 strings and a select
* @class inputEx.DateSelectMonthField
* @extends inputEx.CombineField
*/
inputEx.DateSelectMonthField = function ... | neyric/inputex | build/inputex-dateselectmonth/inputex-dateselectmonth.js | JavaScript | mit | 4,636 |
"use strict";
module.exports = function parseOptional() {
return {
$runBefore: ['rendering-docs'],
$process: docs => {
docs.forEach(doc => {
if (doc.members && doc.members.length) {
for (let i in doc.members) {
if (doc.members[i].params && doc.members[i].params.length) {
... | klirix/ionic-native | scripts/docs/processors/parse-optional.js | JavaScript | mit | 642 |
/*!
* jQuery JavaScript Library v2.0.1 -ajax,-ajax/script,-ajax/jsonp,-ajax/xhr,-effects,-dimensions,-deprecated
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/licens... | eric-seekas/jquery-builder | dist/2.0.1/jquery-ajax-deprecated-dimensions-effects.js | JavaScript | mit | 191,634 |
import minifyCSSString from '../minifyCSSString'
describe('Minifying CSS strings', () => {
it('should return a minified CSS string', () => {
expect(minifyCSSString('.foo{color:bar}')).toEqual('.foo{color:bar}')
expect(
minifyCSSString(
`
.foo {
color: bar
}
.baz {
font-size... | rofrischmann/fela | packages/fela/src/__tests__/minifyCSSString-test.js | JavaScript | mit | 413 |
/**
* BC Math Library for Javascript
* Ported from the PHP5 bcmath extension source code,
* which uses the libbcmath package...
* Copyright (C) 1991, 1992, 1993, 1994, 1997 Free Software Foundation, Inc.
* Copyright (C) 2000 Philip A. Nelson
* The Free Software Foundation, Inc.
* 59 Temple Place, S... | michaelgarner/phpjs | workbench/bc/bcmath-js/src/libbcmath.js | JavaScript | mit | 7,968 |
import _curry3 from './internal/_curry3.js';
/**
* The `mapAccumRight` function behaves like a combination of map and reduce; it
* applies a function to each element of a list, passing an accumulating
* parameter from right to left, and returning a final value of this
* accumulator together with the new list.
*
... | CrossEye/ramda | source/mapAccumRight.js | JavaScript | mit | 1,616 |
"use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = exports.styles = void 0;
var _extends2 = _int... | cdnjs/cdnjs | ajax/libs/material-ui/5.0.0-alpha.4/TableHead/TableHead.js | JavaScript | mit | 2,777 |
/*!
Waypoints Infinite Scroll Shortcut - 3.1.0
Copyright © 2011-2015 Caleb Troughton
Licensed under the MIT license.
https://github.com/imakewebthings/waypoints/blog/master/licenses.txt
*/
(function() {
'use strict'
var $ = window.jQuery
var Waypoint = window.Waypoint
/* http://imakewebthings.com/... | rlhardrock/buhos | wp-content/themes/enigma/js/infinite.js | JavaScript | gpl-2.0 | 2,296 |
function lightbox2_login() {
$("a[href*='/user/login'], a[href*='?q=user/login']").each(function() {
$(this).attr({
href: this.href.replace(/user\/login?/,"user/login/lightbox2"),
rel: 'lightmodal[|width:250px; height:210px;]'
});
$(this).addClass('lightmodal-login');
});
}
function lightb... | chrisatwebis/ydc | sites/all/modules/lightbox2-6.x-1.x-dev/lightbox2/js/lightbox_modal.js | JavaScript | gpl-2.0 | 883 |
/*
* Copyright (C) eZ Systems AS. All rights reserved.
* For full copyright and license information view LICENSE file distributed with this source code.
*/
YUI.add('ez-integer-editview', function (Y) {
"use strict";
/**
* Provides the field edit view for the Integer (ezinteger) fields
*
* @mod... | ezpublishlegacy/PlatformUIBundle | Resources/public/js/views/fields/ez-integer-editview.js | JavaScript | gpl-2.0 | 4,613 |
/**
This view renders a post.
@class PostView
@extends Discourse.GroupedView
@namespace Discourse
@module Discourse
**/
Discourse.PostView = Discourse.GroupedView.extend(Ember.Evented, {
classNames: ['topic-post', 'clearfix'],
templateName: 'post',
classNameBindings: ['postTypeClass',
... | zoubeiri/discourse-snowboard | jsapp/views/post_view.js | JavaScript | gpl-2.0 | 9,694 |
/**
* ### Search plugin
*
* Adds search functionality to jsTree.
*/
/*globals jQuery, define, exports, require, document */
(function (factory) {
"use strict";
if (typeof define === 'function' && define.amd) {
define('jstree.search', ['jquery','jstree'], factory);
}
else if(typeof exports === 'object') {
fa... | parkerj/eduTrac-SIS | static/assets/plugins/jstree/jstree.search.js | JavaScript | gpl-3.0 | 15,512 |
/**
* This file is part of OXID eShop Community Edition.
*
* OXID eShop Community Edition 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 opt... | edas1/hot_offer_rep | out/azure/src/js/widgets/oxinfopopup.js | JavaScript | gpl-3.0 | 2,269 |
var common = require('../common');
var assert = common.assert;
var retry = require(common.dir.lib + '/retry');
(function testForeverUsesFirstTimeout() {
var operation = retry.operation({
retries: 0,
minTimeout: 100,
maxTimeout: 100,
forever: true
});
operation.attempt(function(numAtt... | lyy289065406/expcodes | java/01-framework/dubbo-admin/incubator-dubbo-ops/dubbo-admin-frontend/node/node_modules/npm/node_modules/retry/test/integration/test-forever.js | JavaScript | gpl-3.0 | 539 |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'sourcedialog', 'nl', {
toolbar: 'Broncode',
title: 'Broncode'
} );
| igor-borisov/valamis | learn-portlet/src/main/webapp/js2.0/vendor/ckeditor/plugins/sourcedialog/lang/nl.js | JavaScript | gpl-3.0 | 243 |
define(['q'], function(q){
return function ValueStore(dataset, $http, $rootScope){
var self = this;
self.values = dataset.values;
function getItemIndex(r, c){
return dataset.column.keys.length * r + c;
}
function keyToIndex(row, column){
va... | apartensky/mev | web/src/main/javascript/edu/dfci/cccb/mev/web/libs/domain/dataset/src/main/dataset/lib/DatasetValuesJson.js | JavaScript | gpl-3.0 | 1,666 |
/** Heron Map Options (Dutch Maps and Overlays) */
Ext.namespace("Heron.options");
Ext.namespace("Heron.scratch");
OpenLayers.Util.onImageLoadErrorColor = "transparent";
OpenLayers.ProxyHost = "/cgi-bin/proxy.cgi?url=";
OpenLayers.DOTS_PER_INCH = 25.4 / 0.28;
Ext.BLANK_IMAGE_URL = 'http://cdnjs.cloudflare.com/ajax/li... | smas1/geoext-viewer | heron/examples/workshopnl/100-appcomplete/config/Options.js | JavaScript | gpl-3.0 | 52,271 |
/* @preserve
* The MIT License (MIT)
*
* Copyright (c) 2013-2015 Petka Antonov
*
* 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 limitat... | klhdy/im-indepartment | packORGAN/client/sealtalk-desktop-ent-src/node_modules/electron-packager/node_modules/get-package-info/node_modules/bluebird/js/browser/bluebird.core.js | JavaScript | gpl-3.0 | 122,091 |
$(window).load(function () {
var size = 1;
var button = 1;
var button_class = "gallery-header-center-right-links-current";
var normal_size_class = "gallery-content-center-normal";
var full_size_class = "gallery-content-center-full";
var $container = $('#gallery-content-center');
$container.isotope({itemS... | wilxsv/contratos | web/assets/plugins/bower_components/gallery/js/animated-masonry-gallery.js | JavaScript | gpl-3.0 | 1,895 |
/* ***** BEGIN LICENSE BLOCK *****
* Aptana Studio
* Copyright (c) 2005-2011 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the GNU Public License (GPL) v3 (with exceptions).
* Please see the license.html included with this distribution for details.
* Any modifications to this file must k... | HossainKhademian/Studio3 | browser.extensions/debugger.aptana.com/content/aptanadebugger/aptanaFirebug.js | JavaScript | gpl-3.0 | 15,006 |
/*!
* Copyright 2002 - 2017 Webdetails, a Hitachi Vantara company. All rights reserved.
*
* This software was developed by Webdetails and is provided under the terms
* of the Mozilla Public License, Version 2.0, or any later version. You may not use
* this file except in compliance with the license. If you need a ... | davidmsantos90/cdf | core-js/src/test/javascript/cdf/queries/CdaQuery.ext.js | JavaScript | mpl-2.0 | 971 |