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 |
|---|---|---|---|---|---|
(function(ht) {
function plotChart() {
$.getJSON('http://www.highcharts.com/samples/data/jsonp.php?filename=aapl-c.json&callback=?', function (data) {
// Create the chart
ht.StockChart(
{
chart : {
renderTo : 'chart'
},
... | trnsriram/webpack-highcharts | app/scripts/plugins/trial.js | JavaScript | mit | 790 |
import test from "tape";
import glob from "glob";
import path from "path";
import load from "load-json-file";
import write from "write-json-file";
import truncate from "@turf/truncate";
import { featureEach } from "@turf/meta";
import { featureCollection } from "@turf/helpers";
import pointOnFeature from "./index";
te... | dpmcmlxxvi/turf | packages/turf-point-on-feature/test.js | JavaScript | mit | 1,152 |
import React from 'react'
class Radix extends React.Component {
render() {
return (
<div>Radix</div>
)
}
}
export default Radix | hyy1115/react-redux-webpack3 | src/pages/sorting/Radix/Radix.js | JavaScript | mit | 145 |
// @flow weak
/* eslint import/namespace: ['error', { allowComputed: true }] */
/**
* Important: This test also serves as a point to
* import the entire lib for coverage reporting
*/
import { assert } from 'chai';
import * as MaterialUI from './index';
describe('Material-UI', () => {
it('should have exports', ()... | dsslimshaddy/material-ui | src/index.spec.js | JavaScript | mit | 491 |
var _concat = require('./internal/_concat');
var _curry2 = require('./internal/_curry2');
var _reduce = require('./internal/_reduce');
var map = require('./map');
/**
* ap applies a list of functions to a list of values.
*
* Dispatches to the `ap` method of the second argument, if present. Also
* treats curried f... | jimf/ramda | src/ap.js | JavaScript | mit | 1,440 |
$(function () {
// Prepare demo data
var data = [
{
"hc-key": "qa-ms",
"value": 0
},
{
"hc-key": "qa-us",
"value": 1
},
{
"hc-key": "qa-dy",
"value": 2
},
{
"hc-key": "qa-... | Oxyless/highcharts-export-image | lib/highcharts.com/samples/mapdata/countries/qa/qa-all/demo.js | JavaScript | mit | 1,491 |
import * as React from 'react';
import { expect } from 'chai';
import renderToStaticMarkup from '../../../src/renderer/renderToStaticMarkup';
import App from './includes/App';
import FailureApp from './includes/FailureApp';
describe('renderToStaticMarkup', () => {
it('should do render to static markup', function (do... | gabrielbull/react-router-server | test/tests/renderer/renderToStaticMarkup.js | JavaScript | mit | 883 |
<%- banner %>
import { module } from 'angular';
Controller.$inject = [ '$scope' ];
function Controller( $scope ) {
// TODO: add your implementation here
}
export const name = module( '<%= angularModuleName %>', [] )
.controller( '<%= angularControllerName %>', Controller ).name;
| LaxarJS/generator-laxarjs2 | generators/widget/templates/angular.widget.controller.js | JavaScript | mit | 290 |
// settings.js
// ===========
// This file contains settings for VSCP websocket and other JavaScript examples
//
// The vscpkey is the same key as set in the general/security settings of the
// VSCP server found in /etc/vscp/.vscp.key It should always be 32 bytes (64 charcater)
// in length and be kept secret.
... | grodansparadis/vscp_html5 | js/settings.js | JavaScript | mit | 801 |
// Define libraries
require.config({
baseUrl: 'js/',
paths: {
jquery: '../../../assets/jquery.min',
ember: 'lib/ember-latest.min',
handlebars: '../../../assets/handlebars.min',
text: 'lib/require/text',
jasmine: '../../../assets/jasmine/jasmine',
jasmine_html: '../../../assets/jasmine/jasmine-html'
}
});... | jsoverson/todomvc | dependency-examples/emberjs_require/js/app.js | JavaScript | mit | 1,024 |
$(function () {
// Prepare demo data
var data = [
{
"hc-key": "us-ca-083",
"value": 0
},
{
"hc-key": "us-fl-087",
"value": 1
},
{
"hc-key": "us-mi-033",
"value": 2
},
{
"h... | Oxyless/highcharts-export-image | lib/highcharts.com/samples/mapdata/countries/us/us-all-all/demo.js | JavaScript | mit | 258,073 |
import { ɵɵdefineInjectable, Injectable } from '@angular/core';
class Angulartics2GoogleAnalyticsEnhancedEcommerce {
/**
* Add impression in GA enhanced ecommerce tracking
* @link https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce#measuring-activities
*/
... | cdnjs/cdnjs | ajax/libs/angulartics2/10.1.0/ga-enhanced-ecom/fesm2015/angulartics2-ga-enhanced-ecom.js | JavaScript | mit | 1,473 |
//
// config file
// --------------------------------------------------
//
// customize the template function via this file.
//
// but for the contact form and subscribe, please check the documentation
//
//
// overlay
// --------------------------------------------------
//
// overlay color doesnt mean home section b... | jeffthemaximum/jeffline | templates/jeffline-landing/template/purple-version/slideshow-constellation/assets/js/variable.js | JavaScript | mit | 5,378 |
import Ringa from '../../src/index';
class CommandFail extends Ringa.Command {
execute(error, kill) {
this.fail(error, kill);
}
}
export default CommandFail; | jung-digital/ringa | tests/shared/CommandFail.js | JavaScript | mit | 167 |
const path = require('path');
const express = require('express');
const bodyParser = require('body-parser');
const errorController = require('./controllers/error');
const sequelize = require('./util/database');
const Product = require('./models/product');
const User = require('./models/user');
const app = express();... | tarsoqueiroz/NodeJS | Udemy/NodeJS - The Complete Guide/Recursos/11/08-fetching-related-products/app.js | JavaScript | mit | 1,298 |
gereji.entities = {
" " : " ",
"¡" : "¡",
"¢" : "¢",
"£" : "£",
"¤" : "¤",
"¥" : "¥",
"¦" : "¦",
"§" : "§",
"¨" : "¨",
"©" : "©",
"ª" : "ª",
"«" : "«",
"¬" : "¬... | dnjuguna/refunite-todos | sites/todos/static/javascripts/core/gereji.entities.js | JavaScript | mit | 6,062 |
define(["./ToggleButtonBaseComponent","../lib/jquery"],function(e){var n=e.extend({getValue:function(){return"undefined"!=this.currentVal&&null!=this.currentVal?this.currentVal:this.placeholder("."+this.name+":checked").val()
}});return n}); | SteveSchafer-Innovent/innovent-pentaho-birt-plugin | js-lib/expanded/cdf/js/compressed/components/RadioComponent.js | JavaScript | epl-1.0 | 241 |
var game = new Phaser.Game(800, 600, Phaser.AUTO, 'phaser-example', { preload: preload, create: create, update: update });
var filter;
var filter2;
var sprite;
function preload() {
// From http://glslsandbox.com/e#20450.0
game.load.shader('blueDots', 'assets/shaders/blue-dots.frag');
game.load.shader('... | boniatillo-com/PhaserEditor | source/phasereditor/phasereditor.resources.phaser.examples/phaser-examples-master/examples/filters/multiple shaders.js | JavaScript | epl-1.0 | 939 |
/*
* Copyright (c) 2015-2016 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Coden... | alexVengrovsk/che | dashboard/src/app/workspaces/create-workspace/create-workspace.controller.js | JavaScript | epl-1.0 | 7,151 |
/*jslint browser: true */ /*global jQuery: true */
/**
* jQuery Cookie plugin
*
* Copyright (c) 2010 Klaus Hartl (stilbuero.de)
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
*/
// TODO JsDoc
/**
* Create a cookie... | ibrahimcesar/comercio-de-servicos | wp-content/plugins/cielo-woocommerce/js/jquery.cookie.js | JavaScript | gpl-2.0 | 3,868 |
/*
* (C) Copyright ${year} Nuxeo SA (http://nuxeo.com/) and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser General Public License
* (LGPL) version 2.1 which accompanies this distribution, and is available at
* http://www.gnu.org/... | zhangzuoqiang/GoodHuddle | src/main/resources/static/admin/lib/angular-1.2.22/i18n/angular-locale_es-ec.js | JavaScript | gpl-2.0 | 2,576 |
'use strict';
var assert = require('chai').assert;
var Joi = require('joi');
var _ = require('../../../src/scripts/vendor/minified')._;
var HTML = require('../../../src/scripts/vendor/minified').HTML;
var components = require('../../../src/scripts/components');
var manipulators = require('../../../src/scripts/lib/mani... | keegan-lillo/pebble-clay | test/spec/components/index.js | JavaScript | gpl-2.0 | 1,940 |
describe("Sync.fetch",function(){
beforeEach(function(){
this.sync = new Sync({chunk:10});
this.sync.request = function(){
return new Promise(function(resolve,reject){
});
}
})
it("accept coordinates and return a Promise",function(){
expect(this.sync.fetch(0,0)).to.be.instanceof(Promis... | klepthys/Maya | test/client/tests/test_sync_fetch.js | JavaScript | gpl-2.0 | 711 |
/*
Copyright (c) 2013, Oracle and/or its affiliates. All rights
reserved.
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; version 2 of
the License.
This program is distributed in the hope t... | ForcerKing/ShaoqunXu-mysql5.7 | storage/ndb/nodejs/Adapter/impl/ndb/NdbConnection.js | JavaScript | gpl-2.0 | 6,000 |
$(window).load(function(){FusionCharts.ready(function () {
var cpuGauge = new FusionCharts({
type: 'hlineargauge',
renderAt: 'chart-container',
id: 'cpu-linear-gauge',
width: '400',
height: '170',
dataFormat: 'json',
dataSource: {
"chart": {
... | sguha-work/fiddletest | fiddles/Gauge/Listening-to-Events/Configuring-a-real-time-linear-gauge_213/demo.js | JavaScript | gpl-2.0 | 3,793 |
$('#google_map').gmap3(
{ action:'init',
options:{
center:[40.710443,-73.993996],
address: "Manhattan, NY 10002 30 ft N",
zoom: 16
}
},
{ action: 'addMarkers',
markers:[
{lat:40.710443, lng:-73.993996, data:'Manhattan, NY 10002 30 ft N'}
],
marker:{
options:{
draggable: false,
icon:n... | devthuan/ffm | templates/fastfox/js/gmap.init.js | JavaScript | gpl-2.0 | 509 |
/**
* Kunena Component
* @package Kunena.Template.Crypsis
*
* @copyright (C) 2008 - 2017 Kunena Team. All rights reserved.
* @license https://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link https://www.kunena.org
**/
jQuery(document).ready(function($) {
/* Provide autocomplete user list in search form and in us... | xsocket/knss | components/com_kunena/template/crypsis/assets/js/search.js | JavaScript | gpl-2.0 | 1,114 |
self.on("context", function (node) {
if(!window.bbsfox) {
return false;
}
//TODO: bbsfox.buf.PageState always == 0, if mouse browsering == false
let bbsfox = window.bbsfox;
let prefs = bbsfox.prefs;
if(!window.getSelection().isCollapsed && prefs.enableBlacklist && prefs.blacklistMenu) {
//check blac... | ettoolong/BBSFox-E10S | data/js/context-menu/blacklistAdd.js | JavaScript | gpl-2.0 | 1,247 |
/*
Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
dojo._xdResourceLoaded(function(dojo, dijit, dojox){
return {depends: [["provide", "dijit.form.MultiSelect"],
["require", "... | fedora-infra/packagedb | pkgdb/static/js/dijit/form/MultiSelect.xd.js | JavaScript | gpl-2.0 | 3,982 |
define({
root: ({
label: "Layer",
show: "Show",
actions: "Configure Layer Fields",
field: "Field",
alias: "Alias",
visible: "Visible",
linkField: "Link Field",
noLayers: "No feature layers are available",
back: "Back",
exportCSV: "Allow exporting to CSV",
restore: "Restore ... | johnaagudelo/ofertaquequieres | visor-oferta/widgets/AttributeTable/setting/nls/strings.js | JavaScript | gpl-2.0 | 1,287 |
var searchData=
[
['open',['open',['../structdcdfort__reader_1_1dcdfile.html#adc8a28a9e2fd6a7178e31d06d1cfa29c',1,'dcdfort_reader::dcdfile::open()'],['../structdcdfort__writer_1_1dcdwriter.html#a369acf578a55fc421a094cf1000c4856',1,'dcdfort_writer::dcdwriter::open()'],['../structdcdfort__trajectory_1_1trajectory.html#... | wesbarnett/dcdfort | docs/html/search/functions_7.js | JavaScript | gpl-2.0 | 404 |
/*
Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dijit.layout.ContentPane"]){ //_hasResource checks added by build. Do not use _hasResource directly ... | fedora-infra/packagedb | pkgdb/static/js/dijit/layout/ContentPane.js | JavaScript | gpl-2.0 | 16,808 |
Drupal.behaviors.mn_core_behavior_popup = function(context) {
var data = $(context).data('openlayers');
if (data && data.map.behaviors.mn_core_behavior_popup) {
// Collect vector layers
var vector_layers = [];
for (var key in data.openlayers.layers) {
var layer = data.openlayers.layers[key];
... | zzolo/drupaldaze.com | profiles/managingnews/modules/features/mn_core/behaviors/mn_core_behavior_popup.js | JavaScript | gpl-2.0 | 5,637 |
var util = require("util");
var choreography = require("temboo/core/choreography");
/*
CreateRun
Creates an action that represents a user running a course.
*/
var CreateRun = function(session) {
/*
Create a new instance of the CreateRun Choreo. A TembooSession object, containing a valid
... | shoultzy/tempProject | node_modules/temboo/Library/Facebook/Actions/Fitness/Runs.js | JavaScript | gpl-2.0 | 18,378 |
Ext.ns('ezScrum');
ezScrum.ProjectLeftPanel = Ext.extend(ezScrum.projectLeftTree.treePanel, {
collapsible : true,
collapseMode :'mini',
animCollapse : false,
animate : false,
hideCollapseTool: true,
id : 'projectleftside',
ref : 'projectleftside_refID',
lines : false,
rootVisible : false,
autoScr... | ezScrum/ezScrum | WebContent/javascript/ezScrumLayout/ProjectLeftTreePanel.js | JavaScript | gpl-2.0 | 738 |
/**
* String tests based on profiled data.
*/
var stringWeighted = {
version: 1,
init: function() {
},
run: function() {
var s0 = "Nulla blandit congue odio. Cras rutrum nulla a est. Sed eros ligula, blandit in, aliquet id.";
var s1 = "Lorem ipsum dolor sit amet, consectetur adipiscing elit.";
var ... | sloanyang/BrowserBenchmark | Peacekeeper/peacekeeper2/js/tests/string/stringWeighted.js | JavaScript | gpl-2.0 | 1,811 |
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
/*!
* Copyright 2016 Amazon.com,
* Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Amazon Software License (the "License").
* You may not us... | ElucidataInc/ElMaven | bin/node_modules/amazon-cognito-identity-js/es/DateHelper.js | JavaScript | gpl-2.0 | 1,889 |
// For react-testing-library helpers, overrides, and utilities
// All elements from react-testing-library can be imported from this wrapper.
// See https://testing-library.com/docs/react-testing-library/setup for more info
import React from 'react';
import thunk from 'redux-thunk';
import Immutable from 'seamless-immut... | snagoor/katello | webpack/test-utils/react-testing-lib-wrapper.js | JavaScript | gpl-2.0 | 3,336 |
/*
* Copyright (C) 2016 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... | Debian/openjfx | modules/web/src/main/native/Source/WebCore/Modules/modern-media-controls/controls/time-control.js | JavaScript | gpl-2.0 | 3,286 |
"use strict";
var htmlparser = require("htmlparser2");
function parseIndentDescriptor(indentDescriptor) {
var match = /^(\+)?(tab|\d+)$/.exec(indentDescriptor);
if (!match) {
return { relative: false, spaces: "auto" };
}
return {
relative: match[1] === "+",
spaces: match[2] === "tab" ? "\t" : Ar... | yodfz/JS | react/projectResize/node_modules/eslint-plugin-html/src/extract.js | JavaScript | gpl-2.0 | 3,654 |
/*
Test the #error directive
© 2016 - Guillaume Gonnet
License GPLv2
Sources at https://github.com/ParksProjets/C-Preprocessor
*/
// Create the test
var utils = require('../utils.js'),
test = utils.test('#error');
// Expected the rsult
var text = 'Math is the life !';
// Store error and success functions
v... | ParksProjets/Compile-JS-like-C | test/tests/error.js | JavaScript | gpl-2.0 | 786 |
FusionCharts.ready(function () {
var adjustTickCB = document.getElementById('tMarkCB'),
cpuGauge = new FusionCharts({
type: 'hlineargauge',
renderAt: 'chart-container',
id: 'cpu-linear-gauge',
width: '400',
height: '170',
dataFormat: 'json',
dataSource... | sguha-work/fiddletest | backup/fiddles/Gauge/Tick_Marks/Configuring_major_minor_tick_marks_in_linear_gauge/demo.js | JavaScript | gpl-2.0 | 2,468 |
FusionCharts.ready(function () {
var stockChart = new FusionCharts({
type: 'candlestick',
renderAt: 'chart-container',
id: 'myChart',
width: '600',
height: '400',
dataFormat: 'json',
dataSource: {
"chart": {
"caption": "Daily Stock ... | sguha-work/fiddletest | backup/fiddles/Chart/Trend_Sets/Configuring_trend_sets_in_CandleStick_chart/demo.js | JavaScript | gpl-2.0 | 28,871 |
//Slot implementations and slot-signal connections for $BASEFILENAME$ form
/*$SPECIALIZATION$*/
| serghei/kde3-kdevelop | languages/kjssupport/subclassing_template/subclass_template.js | JavaScript | gpl-2.0 | 96 |
(function() {
/**
* Synchronously load relevant platform PhoneGap scripts during startup.
*/
// Is there a way that PhoneGap can more reliably identify its presence and platform before deviceready?
var platform = 'unknown',
includes = ['platform.js'],
ua = navigator.userAgent;
if (ua.match(/; Android /)) {
// Mo... | debloper/WikipediaMobile | assets/www/js/platform-stub.js | JavaScript | gpl-2.0 | 1,567 |
'use strict';
angular.module('cookeat-recipe', [
'cookeat-couchdb',
'angularModalService',
'cookeat-recipe'
]).factory(
'RecipeService',
[
'$resource', '$routeParams', 'ModalService', 'CouchdbService',
function($resource, $routeParams, Modal, Couch) {
return {
list: function() {... | showi/cookeat | couch/cookeat/vendor/cookeat/_attachments/module/recipe/service.js | JavaScript | gpl-2.0 | 1,628 |
/*
* VPDB - Virtual Pinball Database
* Copyright (C) 2019 freezy <freezy@vpdb.io>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) ... | freezy/node-vpdb | src/app/profile/profile.api.acl.spec.js | JavaScript | gpl-2.0 | 3,824 |
(function(jQuery){jQuery.extend({progressBar:new function(){this.defaults={steps:20,stepDuration:20,max:100,showText:true,textFormat:'percentage',width:120,height:12,callback:null,boxImage:'images/progressbar.gif',barImage:{0:'images/progressbg_red.gif',30:'images/progressbg_orange.gif',70:'images/progressbg_green.gif... | slavam/adult-childhood | wp-content/plugins/lazyest-gallery/js/jquery.progressbar.js | JavaScript | gpl-2.0 | 3,786 |
/**
* Created by David on 14/05/2015.
*/
(function (){
window.onload = function() {
var notification = document.getElementById("notification");
var emailInput = document.getElementById('email');
var temperatureInput = document.getElementById("temperatureThreshold");
... | DRGC/weatherTrackingSystemARM | weatherTrackingServerlet/web/javascript/notificationsController.js | JavaScript | gpl-2.0 | 1,197 |
/* This file is part of Indico.
* Copyright (C) 2002 - 2015 European Organization for Nuclear Research (CERN).
*
* Indico 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... | XeCycle/indico | indico/htdocs/js/indico/jquery/ajaxcheckbox.js | JavaScript | gpl-3.0 | 3,742 |
/**
-- Odin JavaScript --------------------------------------------------------------------------------
A Pile of Herbs - The Forest of Patience <Step 5> (101000104)
-- By ---------------------------------------------------------------------------------------------
Information
-- Version Info ------------------------... | swordiemen/Mushy | scripts/npc/1043001.js | JavaScript | gpl-3.0 | 1,349 |
'use strict';
var async = require('async');
var S = require('string');
var nconf = require('nconf');
var user = require('../user');
var meta = require('../meta');
var topics = require('../topics');
var posts = require('../posts');
var privileges = require('../privileges');
var plugins = require('../plugins');
var he... | androidfanatic/NodeBB | src/controllers/topics.js | JavaScript | gpl-3.0 | 10,299 |
(function() {
"use strict";
var util = require("./util");
var NativeRequest = function(params) {
util.assign(this, "method", params);
util.assign(this, "url", params);
util.assign(this, "headers", params);
};
module.exports = NativeRequest;
})();
| foraproject/isotropy-http | lib/native-request.js | JavaScript | gpl-3.0 | 294 |
'use strict';
/**
* @ngdoc function
* @name openeyesApp.controller:AcuityViewCtrl
* @description
* # AcuityViewCtrl
* Controller of the openeyesApp
*/
angular.module('openeyesApp')
.controller('AcuityViewCtrl', ['$scope', '$routeParams', 'Element', 'Ticket', 'MODEL_DOMAIN', function($scope, $routeParams, Eleme... | openeyes/poc-frontend | app/scripts/directives/acuityView.js | JavaScript | gpl-3.0 | 1,861 |
var searchData=
[
['readme',['README',['../md_README.html',1,'']]],
['readinputbuffer',['readInputBuffer',['../classec_1_1TcpSocket.html#a64a402951553c83c1ba6be46fcf642d0',1,'ec::TcpSocket']]],
['rear',['rear',['../classec_1_1SingleQueue.html#a55e2ac6df57ba91c264955685adb94a0',1,'ec::SingleQueue']]],
['refresh'... | napoleonOu/MQAA-Client | doc/html/search/all_e.js | JavaScript | gpl-3.0 | 1,156 |
/* eslint no-var: 0 */
/* globals inject,beforeEach,window, */
/* exported commonSpec */
/* jshint varstmt: false */
'use strict';
let commonSpec = function(spec) {
spec.originalData = null;
beforeEach(angular.mock.module('game'));
beforeEach(angular.mock.module(function (_$provide_) {
spec.$provide = _$p... | angarg12/incremental_table_elements | test/unit/common.js | JavaScript | gpl-3.0 | 3,516 |
/**
* This file is loaded in the service web views to provide a Rambox API.
*/
const { ipcRenderer } = require('electron');
/**
* Make the Rambox API available via a global "rambox" variable.
*
* @type {{}}
*/
window.rambox = {};
/**
* Sets the unraed count of the tab.
*
* @param {*} count The unread count
... | weeman1337/rambox | resources/js/rambox-service-api.js | JavaScript | gpl-3.0 | 1,162 |
import React from 'react';
import Proptypes from 'prop-types';
import TextField from '@material-ui/core/TextField';
import moment from 'moment';
import { withStyles } from '@material-ui/core/styles';
const styles = {
rowContainer: {
display: 'flex',
flexDirection: 'row',
justifyContent: 'left',
},
ro... | linea-it/qlf | frontend/src/components/select-date/select-date.js | JavaScript | gpl-3.0 | 4,612 |
import IssueForm from './IssueForm';
/**
* Render IssueForm on page load
*/
window.addEventListener('load', () => {
const id = location.href.split('/issue/')[1];
ReactDOM.render(
<IssueForm
Module='issue_tracker'
DataURL={loris.BaseURL
+ '/issue_tracker/Edit/?issueID='
+ id}... | aces/Loris | modules/issue_tracker/jsx/index.js | JavaScript | gpl-3.0 | 570 |
// Thanks to: https://github.com/airyland/vux/blob/v2/src/directives/transfer-dom/index.js
// Thanks to: https://github.com/calebroseland/vue-dom-portal
/**
* Get target DOM Node
* @param {(Node|string|Boolean)} [node=document.body] DOM Node, CSS selector, or Boolean
* @return {Node} The target that the el will be ... | cmos3511/cmos_linux | python/op/op_site/op_static/npm/node_modules/iview/src/directives/transfer-dom.js | JavaScript | gpl-3.0 | 3,082 |
var searchData=
[
['unloadcontent',['UnloadContent',['../class_microsoft_1_1_samples_1_1_kinect_1_1_avateering_1_1_kinect_chooser.html#a7ef341c7a8390e715f93c2a73ecb1e86',1,'Microsoft::Samples::Kinect::Avateering::KinectChooser']]],
['update',['Update',['../class_microsoft_1_1_samples_1_1_kinect_1_1_avateering_1_1_a... | kandran/musee-interactif | Prototype 3D/Docs/html/search/functions_f.js | JavaScript | gpl-3.0 | 2,024 |
dojo.provide("dojox.form.DropDownSelect");
dojo.require("dojox.form._FormSelectWidget");
dojo.require("dojox.form._HasDropDown");
dojo.require("dijit.Menu");
dojo.requireLocalization("dijit.form", "validate");
dojo.declare("dojox.form.DropDownSelect", [dojox.form._FormSelectWidget, dojox.form._HasDropDown], {
// su... | Emergen/zivios-panel | web/public/scripts/devel/current/dojox/form/DropDownSelect.js | JavaScript | gpl-3.0 | 6,496 |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'quicktable', 'th', {
more: ' เลือกอื่นๆ...'
} );
| johnforeland/Codename-JAK | public/ckeditor/plugins/quicktable/lang/th.js | JavaScript | gpl-3.0 | 240 |
import React, {Component} from "react";
import CoinInputApp from './CoinInputApp';
import { Glyphicon, Tab, Col, Row, Nav, NavItem } from 'react-bootstrap';
/** Component maps through portfolios array received from parent (PortfolioContainer) and creates tabs, each one renders CoinInputApp*/
export default class Mult... | applebaum/open-cryptofolio | public/javascripts/components/MultiplePortfolios.js | JavaScript | gpl-3.0 | 4,140 |
/**
* Copyright (c) 2014 Geosolutions
*
* Published under the GPL license.
* See https://github.com/opengeo/gxp/raw/master/license.txt for the full text
* of the license.
*/
/** api: (define)
* module = gxp.data
* class = WPSUniqueValuesProxy
* base_link = `Ext.data.DataProxy <http://extjs.com/deploy/dev/docs/?c... | mbarto/mapstore | mapcomposer/app/static/externals/gxp/src/script/data/WPSUniqueValuesProxy.js | JavaScript | gpl-3.0 | 5,259 |
semantic.customize = {};
// ready event
semantic.customize.ready = function() {
var
$accordion = $('.main.container .ui.accordion'),
$choice = $('.download .item'),
$popup = $('.main.container [data-content]'),
$checkbox = $('.download .item .checkbox'),
handler = {}
;
$choice
.... | michaelimperial/Nautilus | docs/server/files/javascript/customize.js | JavaScript | gpl-3.0 | 717 |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'forms', 'ro', {
button: {
title: 'Proprietăţi buton',
text: 'Text (Valoare)',
type: 'Tip',
typeBtn: 'Buton',
typeSbm: 'Trimite',
typeRst:... | Mediawiki-wysiwyg/WYSIWYG-CKeditor | WYSIWYG/ckeditor_source/plugins/forms/lang/ro.js | JavaScript | gpl-3.0 | 1,750 |
$(document).ready(function() {
var form = $("#signup");
var signup_pass_msg = $("#signup_pass_msg");
var signup_fail_msg = $("#signup_fail_msg");
var signup_instruct_msg = $("#signup_instruct_msg");
var inline_user_msg = $("#user_status");
var inline_user_error = $("#user_error");
var inline_pass_msg = $("#pa... | Mitame/Notifi-Web | js/signup.js | JavaScript | gpl-3.0 | 5,516 |
import SagaTester from 'redux-saga-tester';
import * as recommendationsApi from 'amo/api/recommendations';
import recommendationsReducer, {
abortFetchRecommendations,
fetchRecommendations,
loadRecommendations,
} from 'amo/reducers/recommendations';
import recommendationsSaga from 'amo/sagas/recommendations';
imp... | kumar303/addons-frontend | tests/unit/amo/sagas/test_recommendations.js | JavaScript | mpl-2.0 | 2,826 |
initSidebarItems({"trait":[["Typeable","Universal mixin trait for adding a `get_type` method."]]}); | susaing/doc.servo.org | typeable/sidebar-items.js | JavaScript | mpl-2.0 | 99 |
// Generated by CoffeeScript 1.7.1
(function() {
var universe;
universe = require('./universe');
universe.start();
console.log('The answer is' + universe.answer);
phantom.exit();
}).call(this);
| brandonaaskov/gunslinger-client | node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/examples/module.js | JavaScript | mpl-2.0 | 209 |
'use strict';
// Third party libs
var when = require('when');
// Locally defined libs
var CRUDValueStream = require('./crudvaluestream');
// Export DataCollector class.
module.exports = RoomDataCollector;
// Provide an interface to collect data by room, delete data by room, and
// "iterate" over that data by room t... | councilforeconed/interactive-activities | src/server/roomdatacollector.js | JavaScript | mpl-2.0 | 1,939 |
// DO NOT EDIT! This test has been generated by tools/gentest.py.
// OffscreenCanvas test in a worker:2d.gradient.interpolate.solid
// Description:
// Note:
importScripts("/resources/testharness.js");
importScripts("/2dcontext/resources/canvas-tests.js");
var t = async_test("");
t.step(function() {
var offscreenCanv... | larsbergstrom/servo | tests/wpt/web-platform-tests/offscreen-canvas/fill-and-stroke-styles/2d.gradient.interpolate.solid.worker.js | JavaScript | mpl-2.0 | 649 |
/*
* Copyright (c) 2017 ThoughtWorks, Inc.
*
* Pixelated 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, either version 3 of the License, or
* (at your option) any later version.
*
* Pixelated i... | pixelated/pixelated-user-agent | web-ui/src/common/i18n.js | JavaScript | agpl-3.0 | 1,288 |
/* eslint-env node, mocha */
/* global expect */
/* eslint no-console: 0 */
'use strict';
// Uncomment the following lines to use the react test utilities
// import TestUtils from 'react-addons-test-utils';
import createComponent from 'helpers/shallowRenderHelper';
import FacebookComponent from 'components/socialMedi... | chimo/se-dir-frontend-react | test/components/socialMedia/FacebookComponentTest.js | JavaScript | agpl-3.0 | 630 |
import Mn from 'backbone.marionette';
import application from '../application';
import { timeToString } from '../libs/utils';
const Player = Mn.LayoutView.extend({
template: require('./templates/player'),
ui: {
player: 'audio',
currentTime: '#current-time',
totalTime: '#total-time',
... | kosssi/cozy-music | app/views/player.js | JavaScript | agpl-3.0 | 9,001 |
module.exports = function(core, config, store) {
core.on('setstate', changes => {
const future = store.with(changes);
if (changes && changes.nav && 'thread' in changes.nav && future.get('nav', 'mode') === 'chat') {
const threadId = future.get('nav', 'thread');
if (threadId) {
const roomId = future.get(... | wesley1001/io.scrollback.neighborhoods | app/store.orig/rules/loadThread.js | JavaScript | agpl-3.0 | 887 |
/*
* (c) Copyright Ascensio System SIA 2010-2015
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU ... | fluent93/DocumentServer | OfficeWeb/sdk/Excel/model/CollaborativeEditing.js | JavaScript | agpl-3.0 | 42,243 |
"use strict";
module.exports = {
HTML5: require("./HTML5")
}; | asm-products/notello | node_modules/react-dnd/dist-modules/backends/index.js | JavaScript | agpl-3.0 | 64 |
import _ from 'lodash';
export function getScreenDetails() {
let widthLabel,
widthPixels,
pixelDensity,
isRetina;
let widths = {
'$width-xxs': 500,
'$width-xs': 728,
'$width-s': 970,
'$width-m': 1024,
'$width-l': 1200
}
if (typeof window != "undefined") {
widthPixel... | hiddentao/heartnotes | src/js/utils/screen.js | JavaScript | agpl-3.0 | 1,061 |
// ***** tree loader ***** //
og.MemberChooserTreeLoader = function(config) {
og.MemberChooserTreeLoader.superclass.constructor.call(this, config);
if (this.ownerTree) {
this.ownerTree.totalNodes = 0 ;
}
};
Ext.extend(og.MemberChooserTreeLoader , Ext.tree.TreeLoader, {
ownerTree: null ,
cre... | abhinay100/fengoffice_app | public/assets/javascript/og/MemberChooserTreeLoader.js | JavaScript | agpl-3.0 | 3,593 |
var searchData=
[
['broken_5fpipe',['broken_pipe',['../namespacequickcpplib_1_1__xxx_1_1signal__guard.html#ad51cebe56c9a0718495f06b43bd71fa3ab6de06c7476055104a0290d06b726368',1,'quickcpplib::_xxx::signal_guard']]]
];
| FSMaxB/molch | outcome/include/outcome/quickcpplib/doc/html/search/enumvalues_1.js | JavaScript | lgpl-2.1 | 219 |
/*jshint maxlen:1000*/
model.jsonModel = {
services: [
{
name: "alfresco/services/LoggingService",
config: {
loggingPreferences: {
enabled: true,
all: true
}
}
},
"alfresco/services/ErrorReporter",
"alfresco/serv... | nzheyuti/Aikau | aikau/src/test/resources/testApp/WEB-INF/classes/alfresco/site-webscripts/alfresco/renderers/CommentsList.get.js | JavaScript | lgpl-3.0 | 973 |
// ax5.ui.formatter
(function () {
var UI = ax5.ui;
var U = ax5.util;
var FORMATTER;
UI.addClass({
className: "formatter",
version: "0.6.1"
}, (function () {
var TODAY = new Date();
var setSelectionRange = function (input, pos) {
if (typeof pos == "undefi... | dongyoung86/ax5ui-kernel | src/ax5ui-formatter/src/ax5formatter.js | JavaScript | lgpl-3.0 | 13,600 |
/*
* Copyright (c) 2015-2016 Fraunhofer FOKUS
*
* 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... | fhg-fokus-nubomedia/nubomedia-paas | src/main/resources/static/bower_components/holderjs/src/ondomready.js | JavaScript | apache-2.0 | 5,705 |
/*******************************************************************************
* KindEditor - WYSIWYG HTML Editor for Internet
* Copyright (C) 2006-2012 kindsoft.net
*
* @author Roddy <luolonghao@gmail.com>
* @website http://www.kindsoft.net/
* @licence http://www.kindsoft.net/license.php
* @version 4.1.1 (2012-06-10... | zhaojingtao/PHP-Learning-Module | 基础班/21.PHP操作MySQL及新闻页增删/js/editor/kindeditor.js | JavaScript | apache-2.0 | 154,717 |
define(['knockout',
'jquery',
'text!./FeasibilityReportViewerTemplate.html',
'./FeasibilityIntersectReport',
'./FeasibilityAttritionReport',
'css!../css/report.css'],
function (
ko,
$,
template) {
function FeasibilityReportViewer(params) {
var self = this;
self.report = params.repor... | OHDSI/Calypso | js/modules/cohortbuilder/components/FeasibilityReportViewer.js | JavaScript | apache-2.0 | 697 |
$(document).ready(function() {
$.getJSON('api/presents')
.then(function(presents) {
displayPresents(presents);
})
.catch(function(err) {
console.error("failed to load presents data: %s", err.responseJSON.message);
});
var messages = pollMessages();
for (var i=0; i < messages.length; i+... | bestm4n/wedding-web | src/main/resources/static/js/presents.js | JavaScript | apache-2.0 | 4,382 |
define(function(require){
return 'file_info_tab';
}); | tuxmea/one | src/sunstone/public/app/tabs/files-tab/panels/info/panelId.js | JavaScript | apache-2.0 | 55 |
var http = require('http');
var SQLUpdateJSFun = {};
SQLUpdateJSFun.options = {
host: 'localhost',
port: '8080',
path: '/webresources',
method: 'GET',
headers: {'Authorization': 'Basic ',
'Accept': 'application/json',
'Content-Type': 'application/json'}
};
SQLUpdateJSFun.sethttpOpti... | ADVANTECH-Corp/node-red-contrib-susiaccess-3.1 | DatabaseCtrl/SQL/SQLUpdate/SQLUpdate.js | JavaScript | apache-2.0 | 7,774 |
// the semi-colon before function invocation is a safety net against concatenated
// scripts and/or other plugins which may not be closed properly.
;
(function( $, window, document, undefined )
{
// undefined is used here as the undefined global variable in ECMAScript 3 is
// mutable (ie. it can be changed by ... | esironal/webdesktop | assets/js/jquery.MenuParser.js | JavaScript | apache-2.0 | 5,692 |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... | xingwu1/azure-sdk-for-node | lib/services/datalake.Store/lib/account/models/updateDataLakeStoreAccountParameters.js | JavaScript | apache-2.0 | 6,679 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototy... | sindicetech/kibiutils | lib/migrations/migration.js | JavaScript | apache-2.0 | 14,882 |
/**
* @file Defines the class CUI.ChatMediaPresenter
*/
var CUI = CUI || {};
/**
* Represents a media message in {@link CUI.ChatPresenter}.
* @class
* @param {CUI.ChatMediaModel} model - The model to present.
* @returns {CUI.ChatMediaPresenter}
*/
CUI.ChatMediaPresenter = function(model){
/**
* The H... | cjlee112/socraticqs2 | mysite/lms/static/js/chat/presenters/cui.chat-media-presenter.js | JavaScript | apache-2.0 | 3,426 |
import test from 'tape'
import Immutable from 'immutable'
import { actionTypes as types, initialState, reducer } from '../../app/universal/ui'
test('UI:Reducer[DEFAULT] - UI reducer default output', t => {
const actual = reducer(undefined, {})
const expected = initialState
t.deepEqual(actual, expected,
'r... | ShandyClub/shandy-club-app | test/ui/reducer.js | JavaScript | apache-2.0 | 995 |
import { ChangeDetectionStrategy, Component, ContentChildren, ContentChild, Directive, ElementRef, EventEmitter, Input, Optional, Output, Renderer, ViewEncapsulation, NgZone } from '@angular/core';
import { isPresent, swipeShouldReset } from '../../util/util';
import { Item } from './item';
import { List } from '../lis... | sajithaliyanage/Travel_SriLanka | node_modules/ionic-angular/es2015/components/item/item-sliding.js | JavaScript | apache-2.0 | 17,643 |
$(function () {
var data = [1.02, 2.3, 4.75, 5.0, 6.13, 7.4, 8.9];
// format follows the d3 formatting conventions
// https://github.com/mbostock/d3/wiki/Formatting#wiki-d3_format
new Contour({
el: '.myLineChart',
yAxis: {
labels :
{ formatter:
... | JohnSZhang/contour | src/documentation/fiddle/config.yAxis.labels.formatter/demo.js | JavaScript | apache-2.0 | 477 |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var _ionicIonic = require('ionic/ionic');
var _angular2Angular2 = require('angula... | philmerrell/ionic-site | docs/v2/components/demo/buttons/full/pages.js | JavaScript | apache-2.0 | 1,661 |
var extend = require('util')._extend;
var EventEmitter = require('events').EventEmitter,
inherits = require('util').inherits,
DebugConnection = require('./debugger.js');
function createFailingConnection(reason) {
return {
connected: false,
isRunning: false,
request: function(command, args, callback)... | liyun074/gooDay | node_modules/node-inspector/lib/DebuggerClient.js | JavaScript | apache-2.0 | 4,898 |
(function () {
'use strict';
// module definition
stockModule.factory("reactiveFactory", function reactiveFactory() {
return {
// Execute an action after a period of time without calls
getThrottle: _createThrottle
};
function _createThrottle(delay) {
... | Ryuno-Ki/angularjs-crudgrid | Items.Web/app/reactive-factory.js | JavaScript | apache-2.0 | 1,056 |