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 |
|---|---|---|---|---|---|
/* ----------------
ResponsiveTabs.js
Author: Pete Love | www.petelove.com
Version: 1.10
------------------- */
var RESPONSIVEUI = {};
(function($) {
RESPONSIVEUI.responsiveTabs = function () {
var $tabSets = $('.responsive-tabs');
if (!$tabSets.hasClass('responsive-tabs--enabled')) { // if we hav... | anniyananeesh/avenirevents | js/assets/responsiveTabs.js | JavaScript | mit | 7,818 |
const glob = require('glob');
const fs = require('fs');
const path = require('path');
const request = require('request');
const checkedUrls = {
'src/archive/index.php': '',
};
function getUrlContents(url) {
return new Promise(function(resolve, reject) {
request(
url,
{ followRe... | ceolter/angular-grid | grid-packages/ag-grid-docs/link-checker.js | JavaScript | mit | 3,830 |
import Vector from '../../../../src/lib/Vector';
import Utils from '../../../../src/lib/Utils';
import Perlin from '../../../../src/lib/Perlin';
export default class FlowField {
constructor(w, h, z, resolution, source, cbInit) {
this.ctx;
this.width = w;
this.height = h;
this.field = [];
this.re... | GorillaBus/PhySim | projects/local/noc-tests/lib/FlowField.js | JavaScript | mit | 7,895 |
// The size of Rectangle, Bound etc.
class Size {
constructor(width, height) {
this.type = 'Size'
this.width = width
this.height = height
}
set(width, height) {
this.width = width
this.height = height
}
}
export default Size
| jarvisniu/Bu.js | src/math/Size.js | JavaScript | mit | 256 |
/*
Template Name: Color Admin - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.2
Version: 1.6.0
Author: Sean Ngu
Website: http://www.seantheme.com/color-admin-v1.6/admin/
*/
var handleEmailToInput = function() {
$('#email-to').tagit({
availableTags: ["c++", "java", "php", ... | kamalmahmudi/sia | src/main/webapp/resources/js/email-compose.demo.js | JavaScript | mit | 663 |
var assert = require('assert')
var parse = require('../')
// test parser
assert.equal(parse('***foo***'),
'<p><strong><em>foo</em></strong></p>\n')
assert.equal(parse('# **blah**'),
'<h1><a name="--blah--"></a><strong>blah</strong></h1>\n')
assert.equal(parse('Blah blah\n-----'),... | rlidwka/render-readme | test/test.js | JavaScript | mit | 1,538 |
const name = 'wizard';
describe("Metro 4 :: Wizard", () => {
it('Component Initialization', ()=>{
cy.visit("cypress/"+name+".html");
})
}) | ridjohansen/Metro-UI-CSS | cypress/integration/components/wizard.js | JavaScript | mit | 155 |
module.exports={"title":"R","hex":"276DC3","source":"https://www.r-project.org/logo/","svg":"<svg aria-labelledby=\"simpleicons-r-icon\" role=\"img\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><title id=\"simpleicons-r-icon\">R icon</title><path d=\"M12 18.82c-6.627 0-12-3.598-12-8.037s5.373-8.037 12-8.... | cdnjs/cdnjs | ajax/libs/simple-icons/1.9.12/r.js | JavaScript | mit | 870 |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = requirePropFactory;
function requirePropFactory(componentNameInError) {
if (process.env.NODE_ENV === 'production') {
return () => null;
}
const requireProp = requiredProp => (props, propName, componentName, loc... | cdnjs/cdnjs | ajax/libs/material-ui/5.0.0-alpha.14/node/utils/requirePropFactory.js | JavaScript | mit | 662 |
//>>built
define({"widgets/Stream/setting/nls/strings":{_widgetLabel:"Ruscello",streamControls:"Controlli streaming",streamFilter:"Filtro",startStreaming:"Avvia streaming",stopStreaming:"Interrompi streaming",streamLayers:"Layer di flusso",startStopStream:"Attiva opzione Interrompi streaming o Avvia streaming",clearStr... | SARscene/MapSAROnlinev4 | Web Mapping Application/widgets/Stream/setting/nls/Setting_it.js | JavaScript | cc0-1.0 | 1,085 |
(function() {
var cx = scriptParams.google_search_engine_id;
//var cx = '007604623310582658229:j5pu9nxyssu';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
... | visitmost/visitmost.github.io | wp-content/plugins/wp-google-search/assets/js/google_cse_v2.js | JavaScript | cc0-1.0 | 468 |
function fileSelect(evt) {
alert("hep");
if (window.File && window.FileReader && window.FileList && window.Blob) {
var files = evt.target.files;
var result = '';
var file;
for (var i = 0; file = files[i]; i++) {
// if the file is not an image, continue
// ... | halla/synapticle | html/js/readfile.js | JavaScript | epl-1.0 | 2,364 |
if(!ORYX.Plugins){ORYX.Plugins=new Object()
}ORYX.Plugins.BPMN2XPDL20=ORYX.Plugins.AbstractPlugin.extend({construct:function(){arguments.callee.$.construct.apply(this,arguments);
this.facade.offer({name:ORYX.I18N.BPMN2XPDL.xpdlExport,functionality:this.transform.bind(this),group:ORYX.I18N.BPMN2XPDL.group,dropDownGroupI... | asantoya/jbpm | src/main/webapp/org.jbpm.designer.jBPMDesigner/js/Plugins/bpmn2xpdl20-min.js | JavaScript | epl-1.0 | 2,612 |
// $Id$
(function ($) {
/**
* Toggles the collapsible region.
*/
Drupal.behaviors.mementoAdminToggle = {
attach: function (context, settings) {
$('.collapsible-toggle a, context').click(function() {
$('#section-collapsible').toggleClass('toggle-active').find('.region-collapsible').slideToggle('f... | geoffreygevalt/ywp | sites/all/themes/at_memento/js/scripts.js | JavaScript | gpl-2.0 | 1,253 |
define(["three"],
/**
* Extend THREE namespace with ConvolutionShader
*/
function(THREE) {
/**
* @author alteredq / http://alteredqualia.com/
*
* Convolution shader
* ported from o3d sample to WebGL / GLSL
* http://o3d.googlecode.com/svn/trunk/samples/convolution.html
*/
THREE.Convoluti... | emkatsom/virtual-atom-smasher | src/modules/extern/three-extras/js/shader-convolution.js | JavaScript | gpl-2.0 | 2,177 |
/**
* $Id: jquery.multiupload.gears.js 616 2008-11-27 15:43:52Z spocke $
*
* @author Moxiecode
* @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
*/
(function($) {
if (!$.multiUpload.initialized && window.google && google.gears) {
$.multiUpload.initialized = 1;
$.multiUp... | masterit92/c-par | public_html/public/tinymce/script/plugins/imagemanager/pages/im/js/jquery/jquery.multiupload.gears.js | JavaScript | gpl-2.0 | 3,768 |
/*
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2015 RocketTheme, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
ace.define('ace/snippets/objectivec', ['require', 'exports', 'module' ], function(require, exports, module) {
exports.snippetText =... | hoangyen201201/TrienLamOnline | plugins/editors/rokpad/ace/snippets/objectivec.js | JavaScript | gpl-2.0 | 360 |
var source= ('http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-vbw');
document.write ("<scr"+"ipt type='text/javascript' src='"+source);
document.write ("'><\/scr"+"ipt>"); | ramsalt/kr | sites/all/modules/morelikethis/contrib/morelikethis_googlevideo/api.js | JavaScript | gpl-2.0 | 183 |
/** @jsx React.DOM */
(function( module, undefined) {
var React = require('react');
var CanvasApp = require('./components/Canvas.js');
var FormApp = require('./components/Form.js');
var FormParametroApp = require('./components/FormParametro.js');
var PendulumStore = require('./stores/Pendulum.js');... | messias-physics/fuzzy-flux-react | appReact/app.js | JavaScript | gpl-2.0 | 1,488 |
/*
* Copyright (C) 2013-2015 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditi... | qtproject/qtwebkit | Source/WebInspectorUI/UserInterface/Views/DashboardView.js | JavaScript | gpl-2.0 | 2,750 |
/**
* Theme Customizer enhancements for a better user experience.
*
* Contains handlers to make Theme Customizer preview reload changes asynchronously.
*/
( function( $ ) {
// Site title and description.
wp.customize( 'blogname', function( value ) {
value.bind( function( to ) {
$( '.site-title a' ).text( to... | christiannwamba/codedevfolks | wp-content/themes/oria/js/customizer.js | JavaScript | gpl-2.0 | 1,755 |
function icl_content_lang_propagate(lang, speed) {
var id = '#icl-content-translate-' + lang;
$('#icl-content').show('slow');
$('#icl-content fieldset').hide();
if ( $('#edit-minor-edit')) {
if($('#edit-minor-edit').attr('checked')) {
$(id).hide(speed);
... | rmontero/dla_ecommerce_site | sites/all/modules/contrib/translation_management/icl_content/js/icl_content.js | JavaScript | gpl-2.0 | 1,828 |
/**
* @plugin leanerModal
* @author Finely Sliced <finelysliced.com.au>
* @author Edward Hotchkiss <edwardhotchkiss@me.com>
* @description originally from http://leanmodal.finelysliced.com.au/
*
* @modified by AJ Clarke for the Total WordPress theme
**/
(function($) {
$.fn.extend({
leanerModal: function(o... | iq007/MadScape | wp-content/themes/Total/js/lib/leanner-modal.js | JavaScript | gpl-2.0 | 1,671 |
/**
* WARNING: WHILE THERE ARE TWO VERSIONS OF SPECIAL:CONTACT... THIS WILL BE THE MASTER FILE, AND THE OTHER /extensions/wikia/SpecialContact/SpecialContact.js
* IS A COPY OF THIS FUNCTIONALITY.
*/
var SpecialContact = {
init: function() {
$( '#picker_grid' ).find( 'td > a' ).click( function () {
var trackLa... | SuriyaaKudoIsc/wikia-app-test | extensions/wikia/SpecialContact2/SpecialContact.js | JavaScript | gpl-2.0 | 2,380 |
/* bender-tags: editor,unit,pastefromword */
/* bender-ckeditor-plugins: clipboard,pastefromword,format,ajax */
( function() {
'use strict';
bender.editor = true;
var compat = bender.tools.compatHtml;
function testWordFilter( editor ) {
return function( input, output ) {
assertPasteEvent( editor, { dataVal... | tuxun/smw-funwiki | extensions/WYSIWYG/ckeditor/_source/tests/tickets/9456/1.js | JavaScript | gpl-2.0 | 614 |
/**
* @file mosync.resource.js
* @author Ali Sarrafi
*
* The library for loading Image resources into Mosync program from Javascript.
* This library only supports image resources and used together with the
* NativeUI library.
*/
/**
* The Resource handler submodule of the bridge module.
*/
mosync.resource =... | MoSync/MoSync | examples/cpp/JSNativeUI/LocalFiles/js/mosync-resource.js | JavaScript | gpl-2.0 | 3,029 |
var Backbone = require('backbone');
var Modules = require('collections/modules');
var ModuleFactory = require('utils/module-factory');
var Builder = Backbone.Model.extend({
defaults: {
selectDefault: modularPageBuilderData.l10n.selectDefault,
addNewButton: modularPageBuilderData.l10n.add... | mattheu/modular-page-builder | assets/js/src/models/builder.js | JavaScript | gpl-2.0 | 2,924 |
/*
* Copyright (C) 2013 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | qtproject/qtwebkit | Source/WebInspectorUI/UserInterface/Models/TimelineRecording.js | JavaScript | gpl-2.0 | 12,242 |
'use strict';
var should = require('should');
var app = require('../../app');
var request = require('supertest');
describe('GET /api/signins', function() {
it('should respond with JSON array', function(done) {
request(app)
.get('/api/signins')
.expect(200)
.expect('Content-Type', /json/)
... | xBlazeTECH/FHS-AMS | server/api/signin/signin.spec.js | JavaScript | gpl-2.0 | 465 |
var searchData=
[
['quick_5fsort',['quick_sort',['../input__output_8cc.html#af4e9acb1bb4f1aea6ef17d8344679c48',1,'input_output.cc']]]
];
| cecco4/zombie-kaze | doc/html/search/functions_71.js | JavaScript | gpl-2.0 | 139 |
/* global tinymce */
tinymce.PluginManager.add( 'wpeditimage', function( editor ) {
var toolbar, serializer,
each = tinymce.each,
trim = tinymce.trim,
iOS = tinymce.Env.iOS;
function isPlaceholder( node ) {
return !! ( editor.dom.getAttrib( node, 'data-mce-placeholder' ) || editor.dom.getAttrib( node... | casedot/AllYourBaseTemplate | wp-includes/js/tinymce/plugins/wpeditimage/plugin.js | JavaScript | gpl-2.0 | 28,308 |
/* Copyright (C) YOOtheme GmbH, http://www.gnu.org/licenses/gpl.html GNU/GPL */
function selectZooItem(d,c,a){jQuery("#"+a+"_id").val(d);jQuery("#"+a+"_name").val(c);SqueezeBox.close?SqueezeBox.close():$("sbox-window").close()}
(function(d){var c=function(){};d.extend(c.prototype,{name:"ZooApplication",options:{url:nu... | winder84/JacAuto_old | administrator/components/com_zoo/helpers/fields/zooapplication.js | JavaScript | gpl-2.0 | 2,594 |
// Módulo respnsável pela criação do gráfico Stacked Area do relatório
// de participação dos alunos nas aulas da disciplina
var LectureParticipationGraph = function () {
var chart;
// Definição do gráfico
var options ={
chart: {
renderTo: '',
type: 'area',
style: { lineHeight: 'normal' }
... | OpenRedu/OpenRedu | app/assets/javascripts/chart/lectures_participation.js | JavaScript | gpl-2.0 | 1,814 |
define(
//begin v1.x content
{
"dateFormat-full": "EEEE, d MMMM y 'г'. G",
"dateFormat-long": "d MMMM y 'г'. G",
"dateFormat-medium": "dd.MM.yyyy G",
"dateFormat-short": "dd.MM.yy G",
"dateFormatItem-d": "d",
"dateFormatItem-E": "ccc",
"dateFormatItem-Ed": "E, d",
"dateFormatItem-Gy": "y G",
"dateFormatItem-H"... | Gambiit/pmb-on-docker | web_appli/pmb/javascript/dojo/dojo/cldr/nls/ru/buddhist.js | JavaScript | gpl-2.0 | 3,861 |
(function () {
"use strict";
function config($stateProvider, $urlRouterProvider) {
$urlRouterProvider.otherwise("/profile");
$stateProvider
.state("/", {
url: "/",
templateUrl: "js/app/views/home.html",
controller: "homeController",
... | logicalforhad/AngularMultilevelForm | springtest/src/main/resources/static/js/app/config/config.js | JavaScript | gpl-3.0 | 907 |
//** Smooth Navigational Menu- By Dynamic Drive DHTML code library: http://www.dynamicdrive.com
//** Script Download/ instructions page: http://www.dynamicdrive.com/dynamicindex1/ddlevelsmenu/
//** Menu created: Nov 12, 2008
//** Dec 12th, 08" (v1.01): Fixed Shadow issue when multiple LIs within the same UL (level... | vishalmote/online | ijs/ddsmoothmenu.js | JavaScript | gpl-3.0 | 8,796 |
module.exports={A:{A:{"2":"K D G E A B hB"},B:{"1":"2 C d J M H I"},C:{"2":"0 1 2 3 4 6 7 8 eB BB F N K D G E A B C d J M H I O P Q R S T U V W X Y Z a b c e f g h i j k l m n o L q r s t u v w x y z HB GB AB CB DB FB YB XB"},D:{"2":"0 1 2 3 4 6 7 8 F N K D G E A B C d J M H I O P Q R S T U V W X Y Z a b c e f g h i j ... | hhkaos/awesome-arcgis | node_modules/caniuse-lite/data/features/http-live-streaming.js | JavaScript | gpl-3.0 | 886 |
import tip from 'democracyos-tip'
import View from '../../view/view.js'
import template from './template.jade'
export default class Participant extends View {
/**
* Participants View Class
*
* @param {Array} participants array of ids
* @api public
*/
constructor (participant, index) {
super(te... | jskye/votebird | lib/site/participant-view/view.js | JavaScript | gpl-3.0 | 477 |
/*!
* VisualEditor ContentEditable AlignableNode class.
*
* @copyright 2011-2016 VisualEditor Team and others; see http://ve.mit-license.org
*/
/**
* ContentEditable Alignable node.
*
* @class
* @abstract
* @extends ve.ce.ClassAttributeNode
*
* @constructor
*/
ve.ce.AlignableNode = function VeCeAlignableNo... | Facerafter/starcitizen-tools | extensions/VisualEditor/lib/ve/src/ce/ve.ce.AlignableNode.js | JavaScript | gpl-3.0 | 926 |
var searchData=
[
['cosangle',['cosAngle',['../class_polar.html#a4628c596876a75709853a2ac46bb0d86',1,'Polar']]]
];
| dpointer80906/polar | doc/html/search/functions_0.js | JavaScript | gpl-3.0 | 117 |
/*
* Copyright (C) 2016-2021 phantombot.github.io/PhantomBot
*
* 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.
*
... | Stargamers/PhantomBot | resources/web/panel/js/pages/settings/commandSettings.js | JavaScript | gpl-3.0 | 3,397 |
module.exports = {
// eslint-disable-next-line global-require
...require('@spotify/prettier-config'),
// your overrides here
printWidth: 100,
};
| sectsect/google-spreadsheet-to-db | prettier.config.js | JavaScript | gpl-3.0 | 153 |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'ar', {
alt: 'فاصل الصفحة',
toolbar: 'إدخال صفحة جديدة'
} );
| vanpouckesven/cosnics | src/Chamilo/Libraries/Resources/Javascript/HtmlEditor/Ckeditor/src/plugins/pagebreak/lang/ar.js | JavaScript | gpl-3.0 | 280 |
(function () {
"use strict";
angular
.module("philoApp")
.directive('searchForm', searchForm)
.directive('searchReports', searchReports)
.directive('searchTerms', searchTerms)
.directive('searchMethods', searchMethods)
.directive('metadataFields', metadataFields)... | ARTFL-Project/PhiloLogic5 | www/app/shared/searchForm/searchFormDirectives.js | JavaScript | gpl-3.0 | 14,698 |
exports.prefix = '/forms';
//exports.before = function(request, response, next) { next() };
exports.general = function(request, response) {
response.render("forms/general", {
title: "General"
})
};
exports.advanced = function(request, response) {
response.render("forms/advanced", {
title: "Advanced"
}... | RamEduard/admin-lte-express | server/admin-routes/forms/index.js | JavaScript | gpl-3.0 | 438 |
'use strict';
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.definePro... | klhdy/im-indepartment | packORGAN/client/sealtalk-desktop-ent-src/node_modules/command-line-args/es5/argv.js | JavaScript | gpl-3.0 | 3,008 |
var searchData=
[
['btserial',['BTSerial',['../control__2_80_8c.html#a14bb84b12818dd2f13acf63d4cb14d98',1,'control_2.0.c']]]
];
| mora260/ie0117_III16 | grupo7/Proyecto 1: Control/Documentacion/html/search/functions_0.js | JavaScript | gpl-3.0 | 130 |
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import 'fontsource-roboto';
ReactDOM.render(
<React.StrictMode>
<App />
</React.StrictMode>,
document.getElementById('root')
);
| BrechtBa/homecon | frontend/src/index.js | JavaScript | gpl-3.0 | 247 |
var path = require('path');
module.exports = {
entry: __dirname + '/src/main.jsx',
output: {
path: __dirname + '/build/js',
filename: '[name].bundle.js'
},
externals: {
'react': 'React',
'react/addons': 'React'
},
module: {
loaders: [
{
test: /\.js$/,
loaders: ['ba... | gvn/webmaker-browser | webpack.config.js | JavaScript | mpl-2.0 | 713 |
export const basicSortDataModel = [
{
type: 'pand/address',
},
{
type: 'kadaster/kadastraal_object',
},
{
type: 'bag/pand',
},
]
export const basicDataModel = [
{
uri: 'https://acc.api.data.amsterdam.nl/',
label: 'Warmoesstraat 178',
categoryLabel: 'Adres',
type: 'pand/address... | DatapuntAmsterdam/atlas_prototype | src/map/services/map-search-results/map-search-results.fixture.js | JavaScript | mpl-2.0 | 1,654 |
var le__mcc__call__interface_8h =
[
[ "le_mcc_call_ObjRef_t", "le__mcc__call__interface_8h.html#adb403b78b90d26456b14cd87a6c05e13", null ],
[ "le_mcc_call_Event_t", "le__mcc__call__interface_8h.html#adcb2920422915a863a7ea52fe592d64d", [
[ "LE_MCC_CALL_EVENT_SETUP", "le__mcc__call__interface_8h.html#adcb29... | legatoproject/legato-docs | 15_01_1/le__mcc__call__interface_8h.js | JavaScript | mpl-2.0 | 4,200 |
OC.L10N.register(
"templateeditor",
{
"Could not load template" : "Klarte ikke å laste mal",
"Saved" : "Lagret",
"Reset" : "Tilbakestill",
"An error occurred" : "En feil har oppstått",
"Sharing email - public link shares (HTML)" : "Delings-epost - offentlige lenke-delinger (HTML)",
"Shar... | ino1988/soulcloud | apps/templateeditor/l10n/nb_NO.js | JavaScript | agpl-3.0 | 1,023 |
import SPELLS from 'common/SPELLS';
/*
* Fields:
* int: spell scales with Intellect
* crit: spell scales with (is able to or procced from) Critical Strike
* hasteHpm: spell does more healing due to Haste, e.g. HoTs that gain more ticks
* hasteHpct: spell can be cast more frequently due to Haste, basically any spe... | enragednuke/WoWAnalyzer | src/Parser/Core/Modules/Features/SpellInfo.js | JavaScript | agpl-3.0 | 2,709 |
/* */
var apply = require('./_apply'),
castPath = require('./_castPath'),
isKey = require('./_isKey'),
last = require('./last'),
parent = require('./_parent'),
toKey = require('./_toKey');
function baseInvoke(object, path, args) {
if (!isKey(path, object)) {
path = castPath(path);
object ... | mscottnelson/grapph | public/jspm_packages/npm/lodash@4.13.1/_baseInvoke.js | JavaScript | agpl-3.0 | 525 |
import React from 'react';
import SPELLS from 'common/SPELLS';
import { calculateAzeriteEffects } from 'common/stats';
import { formatPercentage } from 'common/format';
import AzeritePowerStatistic from 'interface/statistics/AzeritePowerStatistic';
import BoringSpellValueText from 'interface/statistics/components/Bori... | sMteX/WoWAnalyzer | src/parser/priest/discipline/modules/azeritetraits/DepthOfTheShadows.js | JavaScript | agpl-3.0 | 5,815 |
/* @flow */
/* eslint-disable no-param-reassign*/
import { bus, cache, config } from '../../core-server';
import winston from 'winston';
import { room as Room, roomrel as RoomRel } from '../../models/models';
import * as place from '../../lib/places';
import * as constants from '../../lib/Constants';
import uuid from ... | scrollback/pure | src/modules/belong/belong.js | JavaScript | agpl-3.0 | 7,295 |
/**
* Copyright 2014-2017 Vincent Noel (vincent.noel@butantan.gov.br)
*
* This file is part of SigNetSim.
*
* libSigNetSim 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... | msreis/SigNetSim | signetsim/static/js/forms.js | JavaScript | agpl-3.0 | 24,881 |
// DATA_TEMPLATE: dom_data
oTest.fnStart( "oLanguage.sLengthMenu" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable();
var oSettings = oTable.fnSettings();
oTest.fnTest(
"Menu language is 'Show _MENU_ entries' by default",
null,
function () { return oSettings.... | lyan6/genenetwork2 | wqflask/wqflask/static/new/packages/DataTables/unit_testing/tests_onhold/1_dom/oLanguage.sLengthMenu.js | JavaScript | agpl-3.0 | 2,401 |
/*
* Copyright (C) 2018 - present Instructure, Inc.
*
* This file is part of Canvas.
*
* Canvas is free software: you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License as published by the Free
* Software Foundation, version 3 of the License.
*
* Canvas is distribut... | djbender/canvas-lms | app/jsx/rubrics/CommentButton.js | JavaScript | agpl-3.0 | 1,320 |
// Generated by CoffeeScript 1.8.0
var AppManager, ControllerClient, HttpClient, MemoryManager, async, fs, singleton;
fs = require('fs');
async = require('async');
HttpClient = require("request-json").JsonClient;
ControllerClient = require('cozy-clients').ControllerClient;
MemoryManager = require('./memory').Memor... | m4dz/cozy-home | build/server/lib/paas.js | JavaScript | agpl-3.0 | 9,553 |
module.exports = {
plugins: {
"postcss-import": {},
tailwindcss: {},
autoprefixer: {},
}
}
| PanoptikumIO/pan | assets/postcss.config.js | JavaScript | agpl-3.0 | 107 |
import { t } from '@lingui/macro';
import { formatPercentage } from 'common/format';
import SPELLS from 'common/SPELLS';
import { SpellLink } from 'interface';
import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer';
import Events from 'parser/core/Events';
import BoringSpellValue from 'parser/ui/BoringSpellVa... | Juko8/WoWAnalyzer | analysis/druidguardian/src/modules/features/GuardianOfElune.js | JavaScript | agpl-3.0 | 4,590 |
og.PrintCalendar = {};
og.PrintCalendar.printCalendar = function(genid){
var printWindow = this.createPrintWindow(genid);
var html = document.getElementById(genid + 'view_calendar').innerHTML.replace(/gridcontainer/, '');
printWindow.document.write(html);
og.PrintCalendar.closePrintWindow(printWindow);
}
og.Print... | fengoffice/fengoffice | public/assets/javascript/og/CalendarPrint.js | JavaScript | agpl-3.0 | 2,377 |
dojo.provide("dojo.widget.ShowSlide");
dojo.require("dojo.widget.*");
dojo.require("dojo.lang.common");
dojo.widget.ShowSlide = function(){
}
dojo.lang.extend(dojo.widget.ShowSlide, {
title: "",
_action: -1,
isContainer: true,
_components: {},
_actions: [],
gotoAction: function(/*int*/ action){
this._action =... | dedomenon/dedomenon | public/javascripts/dojo/src/widget/ShowSlide.js | JavaScript | agpl-3.0 | 725 |
/*
* Ext JS Library 2.3.0
* Copyright(c) 2006-2009, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
/**
* @class Ext.form.Action
* <p>The subclasses of this class provide actions to perform upon {@link Ext.form.BasicForm Form}s.</p>
* <p>Instances of this class are only created by ... | xwiki-labs/sankoreorg | web/src/main/webapp/skins/curriki20/extjs/source/widgets/form/Action.js | JavaScript | lgpl-2.1 | 15,291 |
import React, {Component} from "react/addons";
import {createFolder} from "editor/actions/TreeActions";
class CreateFolder extends Component<{}, {}, {}> {
constructor() {
super();
this.handleApply = this.handleApply.bind(this);
this.handleClose = this.handleClose.bind(this);
}
handleClose() {
th... | MrPhantomT/hexlet-ide | src/editor/components/popup/CreateFolder.js | JavaScript | lgpl-3.0 | 1,342 |
define(['joose', 'Psc/UI/FormBuilder'], function(Joose) {
/**
* Ein Trait für ein Objekt welche einen FormBuilder benutzen
*
*/
Joose.Role('Psc.UI.FormBuilding', {
has: {
formBuilder: { is : 'rw', required: false, isPrivate: true }
},
before: { // after ist bissl schlecht, weil... | webforge-labs/psc-cms-js | lib/Psc/UI/FormBuilding.js | JavaScript | lgpl-3.0 | 675 |
Ext.ns('Docs');
Docs.ApiViewport = Ext.extend(Ext.Viewport, {
constructor : function(cfg) {
cfg = Ext.apply(cfg ||{}, {
layout:'border',
items : this.buildItems()
});
this.constructor.superclass.constructor.call(this,cfg);
},
buildItems : function() {
... | piseth/neos-package | Build/Resources/Java/ext-doc/template/ext/resources/Docs/ApiViewport.js | JavaScript | lgpl-3.0 | 2,639 |
$.extend(window.lang_id, {
"Title": "Apakah Anda Melainkan ..",
"installApp": "Gunakan Aplikasi untuk membagikan jajak pendapat ini!",
"installAppComments": "Download gratis.",
"haveApp": "Aku sudah App!",
"SecondPageButton": "Bermain",
"Welcome": "Halo selamat datang!",
"rules": "1. Klik link aplikasi untuk memuat vot... | trollderius/wouldyourather_phonegap | www/~lang/id.js | JavaScript | unlicense | 5,953 |
/* */
var baseDifference = require('./_baseDifference'),
baseFlatten = require('./_baseFlatten'),
isArrayLikeObject = require('./isArrayLikeObject'),
rest = require('./rest');
var difference = rest(function(array, values) {
return isArrayLikeObject(array) ? baseDifference(array, baseFlatten(values, 1, tr... | EpitaJS/js-class-2016 | jspm_packages/npm/lodash@4.6.1/difference.js | JavaScript | unlicense | 364 |
// CHANGE FOR APPS HOSTED IN SUBDIRECTORY
FCKRelativePath = '';
// DON'T CHANGE THESE
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector='+FCKRelativePath+'/fckeditor/command';
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.ht... | Fedena/XueDu | vendor/plugins/fckeditor/public/javascripts/fckcustom.js | JavaScript | apache-2.0 | 1,552 |
/*
Your use of this file is governed by the Microsoft Services Agreement http://go.microsoft.com/fwlink/?LinkId=266419.
*/
OSF.OUtil.setNamespace("XLS", OSF.DDA);
OSF.OUtil.augmentList(Microsoft.Office.WebExtension.FilterType, {
OnlyVisible: "onlyVisible"
});
OSF.OUtil.augmentList(Microsoft.Office.WebExtension.Event... | CodeMoggy/ngOutlookApp | SocialERPWeb/Scripts/Office/1.1/excelwebapp-15.debug.js | JavaScript | apache-2.0 | 15,322 |
// config-utils.js -- helpers for coordinating Application runtime vs. Settings configuration
//
// * ApplicationConfig -- Menu items and API values.
// * SettingsConfig -- scoped Settings values.
"use strict";
/* eslint-env commonjs */
/* global log */
module.exports = {
version: '0.0.1a',
ApplicationConf... | RebeccaStankus/hifi-content | Marketplace/camera-move/modules/config-utils.js | JavaScript | apache-2.0 | 10,355 |
describe('Core.selectCell', () => {
beforeEach(function() {
this.$container = $('<div id="testContainer"></div>').appendTo('body');
});
afterEach(function() {
if (this.$container) {
destroy();
this.$container.remove();
}
});
it('should mark single cell visually (default selectionMode... | victorbrodsky/order-lab | orderflex/public/orderassets/AppUserdirectoryBundle/handsontable-5/test/e2e/core/selectCell.spec.js | JavaScript | apache-2.0 | 21,243 |
//// [tests/cases/compiler/importHelpersNoModule.ts] ////
//// [external.ts]
export class A { }
export class B extends A { }
declare var dec: any;
@dec
class C {
method(@dec x: number) {
}
}
//// [script.ts]
class A { }
class B extends A { }
declare var dec: any;
@dec
class C {
method(@dec x: num... | mihailik/TypeScript | tests/baselines/reference/importHelpersNoModule.js | JavaScript | apache-2.0 | 3,297 |
/*!
* ${copyright}
*/
// Provides the base implementation for all model implementations
sap.ui.define(['jquery.sap.global', 'sap/ui/core/format/DateFormat', 'sap/ui/model/SimpleType', 'sap/ui/model/FormatException', 'sap/ui/model/ParseException', 'sap/ui/model/ValidateException'],
function(jQuery, DateFormat, Simpl... | SQCLabs/openui5 | src/sap.ui.core/src/sap/ui/model/type/Date.js | JavaScript | apache-2.0 | 6,346 |
var ListCache = require('./_ListCache'),
stackClear = require('./_stackClear'),
stackDelete = require('./_stackDelete'),
stackGet = require('./_stackGet'),
stackHas = require('./_stackHas'),
stackSet = require('./_stackSet');
/**
* Creates a stack cache object to store key-value pairs.
*
* @priv... | ionutbarau/petstore | petstore-app/src/main/resources/static/node_modules/form-data/node_modules/lodash/_Stack.js | JavaScript | apache-2.0 | 738 |
/**
* Copyright 2019 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... | cory-work/amphtml | src/multidoc-manager.js | JavaScript | apache-2.0 | 19,226 |
/*
* Copyright 2012-2016 the Flamingo Community.
*
* 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... | hyokun31/wisekb-management-platform | wisekb-web/src/main/webapp/flamingo/app/view/workflowdesigner/canvas/Canvas.js | JavaScript | apache-2.0 | 9,828 |
var t = new Map();
var objectKey = {};
var stringKey = 'keykeykey';
var numberKey = 42.24;
var booleanKey = true;
var undefinedKey = undefined;
var nullKey = null;
var nanKey = NaN;
var zeroKey = 0;
var frozenKey = Object.freeze({});
assert.equal(t.size, 0);
assert.isUndefined(t.get(objectKey));
assert.isUndefined(t... | arv/traceur-compiler | test/feature/Collections/Map.js | JavaScript | apache-2.0 | 4,965 |
//** Smooth Navigational Menu- By Dynamic Drive DHTML code library: http://www.dynamicdrive.com
//** Script Download/ instructions page: http://www.dynamicdrive.com/dynamicindex1/ddlevelsmenu/
//** Menu created: Nov 12, 2008
//** Dec 12th, 08" (v1.01): Fixed Shadow issue when multiple LIs within the same UL (level... | vikigroup/cbuilk | web/skin/temp12/scripts/menu/ddsmoothmenu.js | JavaScript | apache-2.0 | 8,801 |
//FirstView Component Constructor
var queViewArray = [];
function FirstView() {
var QueDetailWindow = require('ui/common/QueDetailWindow');
var mainBackgroundColor = "gray";
var queWholeValue = [];
//create object instance, a parasitic subclass of Observable
var self = Ti.UI.createView({
backgroundCo... | mreigen/KhongMinhThanToan | build/mobileweb/ui/common/FirstView.js | JavaScript | apache-2.0 | 2,724 |
/**
* 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... | zhouyx/amphtml | src/service/extension-location.js | JavaScript | apache-2.0 | 3,387 |
Bridge.merge(new System.Globalization.CultureInfo("en-ZM", true), {
englishName: "English (Zambia)",
nativeName: "English (Zambia)",
numberFormat: Bridge.merge(new System.Globalization.NumberFormatInfo(), {
nanSymbol: "NaN",
negativeSign: "-",
positiveSign: "+",
negativeInfi... | AndreyZM/Bridge | Bridge/Resources/Locales/en-ZM.js | JavaScript | apache-2.0 | 2,939 |
//
// Autogenerated by Thrift Compiler (0.9.0)
//
// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
//
var Thrift = require('thrift').Thrift;
var ttypes = require('./recommendations_types');
//HELPER FUNCTIONS AND STRUCTURES
LasService_listUserVisitRecords_args = function(args) {
this.start = null... | mengke/las | las-ui/lib/gen-nodejs/LasService.js | JavaScript | apache-2.0 | 22,334 |
$(function () {
//popover for app list table
$('[data-toggle="popover"]').popover()
});
| Intera/urlaubsverwaltung | src/main/resources/static/js/popover.js | JavaScript | apache-2.0 | 94 |
// do NOT import all the stuff from lab 1
// Lab 2
var view = Ti.UI.createView({
backgroundColor:'#000',
top:0,
left:0,
width:'100%',
height:'100%',
layout:'vertical'
});
// create labels, buttons, text fields
var usernameView = Ti.UI.createView({
backgroundColor:'#000',
top:0,
le... | prpatel/VoterLab2 | Resources/lab2.js | JavaScript | apache-2.0 | 2,023 |
Bridge.merge(new System.Globalization.CultureInfo("en-MH", true), {
englishName: "English (Marshall Islands)",
nativeName: "English (Marshall Islands)",
numberFormat: Bridge.merge(new System.Globalization.NumberFormatInfo(), {
nanSymbol: "NaN",
negativeSign: "-",
positiveSign: "+",
... | AndreyZM/Bridge | Bridge/Resources/Locales/en-MH.js | JavaScript | apache-2.0 | 2,959 |
/*global angular */
'use strict';
describe('Unit: ExampleCtrl', function() {
var ctrl;
beforeEach(function() {
// instantiate the app module
angular.mock.module('app');
// mock the controller
angular.mock.inject(function($controller) {
ctrl = $controller('ExampleCtrl');
});
... | nomagi/miley | miley/static/test/unit/controllers/example_spec.js | JavaScript | apache-2.0 | 704 |
var vsSeperateObj = {
name: '',
id: '',
setId: function (id) {
this.id = id;
},
getId: function () {
return this.id;
},
status: '',
setStatus: function (status) {
this.status = status;
},
'created-time': '',
// Data zone
Steps: {},... | sdgdsffdsfff/zeus | slb/src/main/web/static-new/viewmodel/vs-seperate.js | JavaScript | apache-2.0 | 7,084 |
var watson = require('watson-developer-cloud');
var config = require('../config');
exports.startSession = function(username, passwd, model, callback) {
if (model instanceof Function) {
callback = model;
if (config.lang == 'cht' || config.lang == 'chs') {
model = 'zh-CN_BroadbandModel';
} else if (... | project-humix/humix-dialog-module | lib/watson.js | JavaScript | apache-2.0 | 1,383 |
angular.module('classeur.optional.sysPage', [])
.config(
function ($routeProvider) {
$routeProvider
.when('/sys', {
template: '<cl-sys-page></cl-sys-page>',
controller: function (clAnalytics) {
clAnalytics.trackPage('/sys')
}
})
})
.directive('... | MiaoTofu/classeur | src/optional/sysPage/sysPage.js | JavaScript | apache-2.0 | 2,994 |
/* Copyright 2012 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | 1and1/pdf.js | web/pdf_thumbnail_viewer.js | JavaScript | apache-2.0 | 7,407 |
//// [typesWithSpecializedConstructSignatures.ts]
// basic uses of specialized signatures without errors
class Base { foo: string }
class Derived1 extends Base { bar: string }
class Derived2 extends Base { baz: string }
class C {
constructor(x: 'hi');
constructor(x: 'bye');
constructor(x: string);
co... | synaptek/TypeScript | tests/baselines/reference/typesWithSpecializedConstructSignatures.js | JavaScript | apache-2.0 | 2,109 |
/**
* Copyright 2015 The Incremental DOM 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 ... | markuskobler/incremental-dom | src/walker.js | JavaScript | apache-2.0 | 962 |
// https://jestjs.io/docs/en/manual-mocks#mocking-methods-which-are-not-implemented-in-jsdom
Object.defineProperty(window, 'matchMedia', {
writable: true,
value: jest.fn().mockImplementation(query => ({
matches: false,
media: query,
onchange: null,
addListener: jest.fn(), // depr... | vector-im/vector-web | test/jest-mocks.js | JavaScript | apache-2.0 | 500 |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'image3', 'cy', {
alt: 'Testun Amgen',
btnUpload: 'Anfon i\'r Gweinydd',
captioned: 'Delwedd â phennawd',
captionPlaceholder: 'Caption', // MISSING... | thexerteproject/xerteonlinetoolkits | editor/js/vendor/ckeditor/plugins/image3/lang/cy.js | JavaScript | apache-2.0 | 697 |
define(
//begin v1.x content
{
"LUF_symbol": "F",
"LUF_decimal": ".",
"LUF_group": ","
}
//end v1.x content
); | abssi/poc-tijari | dojoLib/toolkit/dojo/dojo/cldr/nls/de-lu/currency.js | JavaScript | apache-2.0 | 113 |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... | begoldsm/azure-sdk-for-node | lib/services/webSiteManagement2/lib/models/resourceMetricValue.js | JavaScript | apache-2.0 | 2,925 |
imgUrl1="data/afficheimg/20140121tpclwh.jpg";
imgtext1="";
imgLink1=escape("http://www.haoid.cn");
imgUrl2="data/afficheimg/20140121tiskvu.jpg";
imgtext2="";
imgLink2=escape("http://www.haoid.cn");
imgUrl3="data/afficheimg/20140121gmlyoj.jpg";
imgtext3="";
imgLink3=escape("http://www.haoid.cn");
var pics=imgUrl1+"|"+i... | lvguocai/ec | data/flashdata/pinkfocus/data.js | JavaScript | apache-2.0 | 431 |