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 |
|---|---|---|---|---|---|
if (typeof FormTarget === 'undefined') {
FormTarget = {};
}
FormTarget.arrayrun = (function($) {
/*
* Expected config {
* isAdmin: boolean,
* instruments: array
* }
*/
return {
getUserManualUrl: function() {
return Urls.external.userManual('array_runs');
},
getSaveUrl: funct... | TGAC/miso-lims | miso-web/src/main/webapp/scripts/form_arrayrun.js | JavaScript | gpl-3.0 | 7,102 |
import { combineReducers } from 'redux';
import { ADDED_ACCEPTOR_CAREER,
DELETED_ACCEPTOR_CAREER,
INIT_ACCEPTOR_CAREER_HISTORY,
FETCH_FAILED, FETCHING } from '../../constants';
const error = (state = null, action) => {
switch (action.type) {
case FETCH_FAILED:
return action.error;
default:
... | nagucc/jkef-wxe | src/reducers/acceptors/career.js | JavaScript | gpl-3.0 | 1,229 |
/*!
* tablesorter pager plugin
* updated 5/27/2013
*/
/*jshint browser:true, jquery:true, unused:false */
;(function($) {
"use strict";
/*jshint supernew:true */
$.extend({ tablesorterPager: new function() {
this.defaults = {
// target the pager markup
container: null,
// use this format: "http://myd... | churchill-lab/qtl-viewer | qtlviewer/static/jquery.tablesorter/addons/pager/jquery.tablesorter.pager.js | JavaScript | gpl-3.0 | 21,755 |
angular.module('senseItWeb', null, null).controller('ProfileCtrl', function ($scope, OpenIdService, $state, fileReader) {
'use strict';
var _ = $scope._
, password_min = 6;
$scope.noyes = [
{value: '0', label: 'no'},
{value: '1', label: 'yes'}
];
if (!$scope.status.logged && $state.params.goBack) {
... | IET-OU/nquire-web-source | static/src/js/app/controllers/profile/profile-controller.js | JavaScript | gpl-3.0 | 10,138 |
/*
* A JavaScript implementation of the SHA256 hash function.
*
* FILE: sha256.js
* VERSION: 0.8
* AUTHOR: Christoph Bichlmeier <informatik@zombiearena.de>
*
* NOTE: This version is not tested thoroughly!
*
* Copyright (c) 2003, Christoph Bichlmeier
* All rights reserved.
*
* Redistribution and use in source and binary... | smit-happens/WhiteboardProject | Whiteboard/WebContent/sha256.js | JavaScript | gpl-3.0 | 7,554 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = elementIdClick;
var _ErrorHandler = require('../utils/ErrorHandler');
function elementIdClick(id) {
if (typeof id !== 'string' && typeof id !== 'number') {
throw new _ErrorHandler.ProtocolError('number or t... | Cy6erlion/wharica | node_modules/webdriverio/build/lib/protocol/elementIdClick.js | JavaScript | gpl-3.0 | 800 |
(function() {
var Agent, AgentSet, Agents, Animator, Color, ColorMap, Evented, Link, Links, Model, Patch, Patches, Shapes, Util, shapes, u, util,
__hasProp = {}.hasOwnProperty,
__indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i... | Caroisawesome/Grill-Editor | lib/agentscript.js | JavaScript | gpl-3.0 | 121,427 |
/*
* Copyright (C) 2021 Inera AB (http://www.inera.se)
*
* This file is part of sklintyg (https://github.com/sklintyg).
*
* sklintyg 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 t... | sklintyg/webcert | test/acceptance/features/steps/soap/SendMessageToCare.js | JavaScript | gpl-3.0 | 4,560 |
'use strict';
// Modules
const _ = require('lodash');
const GitHubApi = require('github');
const Promise = require('./promise');
const semver = require('semver');
module.exports = class UpdateManager {
/*
* Constructor
*/
constructor() {
this.githubApi = new GitHubApi({Promise: Promise});
};
// noi... | kalabox/lando | lib/updates.js | JavaScript | gpl-3.0 | 2,560 |
Creep.prototype.report = function(){
this.say(this.test_carryPercent().toFixed(1) + '%')
}
Creep.prototype.test_carryPercent = function(){
return (100*(_.sum(this.carry)/this.carryCapacity))
}
Creep.prototype.test_energyPercent = function(){
return (100*(this.carry.energy/this.carryCapacity))
}
/** Cr... | dsball/Screeps | EXTEND_Creep.js | JavaScript | gpl-3.0 | 788 |
/* jslint node: true */
'use strict';
var express = require('express'),
sections = require('./sections'),
http = require('http'),
expressLess = require('express-less'),
path = require('path');
/**
* Create server
*/
var app = express();
/**
* Configuration
*/
//... | RenderTeam/focus | index.js | JavaScript | gpl-3.0 | 1,333 |
/*
Node-OpenDroneMap Node.js App and REST API to access OpenDroneMap.
Copyright (C) 2016 Node-OpenDroneMap Contributors
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... | pierotofy/node-OpenDroneMap | libs/Task.js | JavaScript | gpl-3.0 | 20,626 |
/**
* @param {Object} options
* @param {Number} options.size Max size of array to return
* @param {Number} options.page Location in pagination
* @param {String} options.first_name first name of user
* @param {String} options.last_name last name of user
* @param {Boolean} options.is_collaborator is `User`... | ArmRay/Arm_Ray_App | server/instances/search/src/api/services/Users.js | JavaScript | gpl-3.0 | 3,624 |
// These values are updated every 5 minutes
// using site_stats table from all wikis replicated in
// WMF Labs databases.
// Families updated include ["wikibooks", "wikipedia", "wiktionary", "wikimedia", "wikiquote", "wikisource", "wikinews", "wikiversity", "commons", "wikispecies", "wikidata", "wikivoyage"]
// More q... | emijrp/wmcounter | public_html/wmcounter.js | JavaScript | gpl-3.0 | 27,529 |
export const LOGGED_IN = 'LOGGED_IN';
export const LOGGED_OUT = 'LOGGED_OUT'; | csujedihy/react-native-textgo | app/actions/types.js | JavaScript | gpl-3.0 | 77 |
import { moduleForModel, test } from 'ember-qunit'
moduleForModel('team', {
needs: [
'model:user'
, 'model:project'
, 'model:assignment'
, 'model:attendance'
]
})
test('it exists', function(assert) {
var model = this.subject()
// var store = this.store()
assert.ok(!!model)
})
| topaxi/timed | frontend/tests/unit/models/team-test.js | JavaScript | gpl-3.0 | 299 |
MODX Evolution 1.0.5 = dace793f0e7de11aadc0ecf54e834d93
| gohdan/DFC | known_files/hashes/assets/plugins/tinymce/jscripts/tiny_mce/themes/advanced/langs/bg.js | JavaScript | gpl-3.0 | 56 |
const Log = require("../util/log.js");
const common = require("../util/common.js");
const setting_global = require("../settings.json");
const setting_color = setting_global.commands.user.guilds.color;
const setting_mute = setting_global.commands.admin.mute;
const setting = setting_global.events.memberAdd;
module.expor... | AndreyLysenkov/LausyWalpy | events/guildMemberAdd.js | JavaScript | gpl-3.0 | 1,206 |
module.exports = {
talkTo: function(player, npc){
// TODO: Dialogues
this.trade(player, npc);
},
trade: function(player, npc){
vendor("Obli's General Store");
}
} | netherfoam/Titan | javascripts/interaction/npc/obli.js | JavaScript | gpl-3.0 | 203 |
Object.defineProperty(exports, '__esModule', {
value: true
});
const path = require('path');
// explicitly set the config dir, otherwise if oxygen is globally installed it will use cwd
let originalNodeCfgDir = process.env.NODE_CONFIG_DIR;
process.env.NODE_CONFIG_DIR = path.resolve(__dirname, '../..', 'config');
... | oxygenhq/oxygen | src/lib/logger.js | JavaScript | gpl-3.0 | 1,122 |
enyo.kind({
name: "Remote.Movies",
kind: "VFlexBox",
events: {
onPlay: "",
},
components: [
{kind: "PageHeader", components: [
{name: "headerText", kind: enyo.VFlexBox,
content: "", flex: 1
},
{name: "backButton", kind: "Button", co... | jerrykan/webos-xbmcremote | source/Movies.js | JavaScript | gpl-3.0 | 770 |
/*!
* Bootstrap v3.3.7 (http://getbootstrap.com)
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*!
* Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=bdc334eb7ee1e998de2a85b5f46ddcac)
* Config saved to config.jso... | GM-Connor/KanjiSheets | js/bootstrap.js | JavaScript | gpl-3.0 | 24,744 |
require('dotenv').config({ silent: true });
const webpack = require('webpack');
const appConfig = require('@flumens/webpack-config');
appConfig.entry = ['index.js'];
const required = ['APP_SENTRY_KEY', 'APP_INDICIA_API_KEY'];
const development = {
APP_INDICIA_API_HOST: '',
};
appConfig.plugins.unshift(
new webp... | NERC-CEH/npms-app | webpack.config.js | JavaScript | gpl-3.0 | 679 |
"use strict";
let templatePad = function (n, padTemplate) {
let str = (n).toString();
return (padTemplate + str).substring(str.length);
};
let formatByte = function (n) {
return templatePad(n.toString(16).toLocaleUpperCase(), '00');
};
let instructionProperties = [
'note',
'instrument_high','instrument_low',
'... | AdmiralPotato/ars-tracker | js/vue-channel.js | JavaScript | gpl-3.0 | 17,521 |
function getURLVar(key) {
var value = [];
var query = String(document.location).split('?');
if (query[1]) {
var part = query[1].split('&');
for (i = 0; i < part.length; i++) {
var data = part[i].split('=');
if (data[0] && data[1]) {
value[data[0]] = data[1];
}
}
if (value[key]) {
return ... | atFriendly/opencart | upload/catalog/view/javascript/common.js | JavaScript | gpl-3.0 | 15,343 |
var globals_dup =
[
[ "a", "globals.html", null ],
[ "b", "globals_0x62.html", null ],
[ "c", "globals_0x63.html", null ],
[ "d", "globals_0x64.html", null ],
[ "e", "globals_0x65.html", null ],
[ "f", "globals_0x66.html", null ],
[ "g", "globals_0x67.html", null ],
[ "h", "globals_0x68.... | gaganjyot/LibreDWG-API | doc/html/globals_dup.js | JavaScript | gpl-3.0 | 736 |
Vue.http.options.emulateJSON = true;
var profile_status = new Vue({
el: '#profile-status',
data: {
isSuggestShow: 0,
suggest: [
{text: 'Предложение оплаты услуг, вирт за деньги, проституция, мошенничество, шантаж, спам', style: 'bg_ored'},
{text: 'Фото из интернета, пар... | 4FortyTwo2/sources | javascript/admin/src/profile-status.js | JavaScript | gpl-3.0 | 2,644 |
/*
Copyright (C) 2013 Bryan Hughes <bryan@theoreticalideations.com>
This file is part of Aquarium Control.
Aquarium Control 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, ... | rakesh-mohanta/aquarium-control | server/src/controller.js | JavaScript | gpl-3.0 | 1,615 |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | jeremyhahn/AgilePHP | studio/components/ace/mode/php_highlight_rules.js | JavaScript | gpl-3.0 | 62,026 |
function OpenReportOperations() {
$("#report-operations-div").show();
$("#page-operations-div").hide();
$("#events-operations-div").hide();
$("#editandsave-operations-div").hide();
$("#report-operations-li").addClass('active');
$('#page-operations-li').removeClass('active');
$('#events-oper... | CCAFS/MARLO | marlo-web/src/main/webapp/global/bower_components/powerbi-client/demo/code-demo/scripts/step_interact.js | JavaScript | gpl-3.0 | 2,466 |
window.jQuery = window.$ = require('jquery');
require('bootstrap');
var angular = require('angular');
var uirouter = require('angular-ui-router');
var uibootstrap = require('angular-ui-bootstrap');
var fileupload = require('ng-file-upload');
//TODO pretify these uris
require('./css/main.css');
require('./css/theme.cs... | mariogrip/openappstore-web | www/app.js | JavaScript | gpl-3.0 | 2,324 |
/**
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt The complete set of contributors may be
found at http://... | elmsln/elmsln | core/dslmcode/cores/haxcms-1/build/es6/node_modules/@polymer/iron-iconset-svg/demo/svg-sample-icons.js | JavaScript | gpl-3.0 | 5,629 |
/* ************************************************************************
Copyright:
License:
Authors:
************************************************************************ */
qx.Theme.define("qjide.theme.Font",
{
extend : qx.theme.modern.Font,
fonts :
{
}
}); | martin-saurer/qjide | qooxdoo/qjide/source/class/qjide/theme/Font.js | JavaScript | gpl-3.0 | 305 |
"use strict";
/*
* Copyright (C) 2014 Riccardo Re <kingrichard1980.gmail.com>
* This file is part of "Ancilla Libary".
*
* "Ancilla Libary" 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 vers... | KingRial/Ancilla-Server | lib/Logger.js | JavaScript | gpl-3.0 | 9,102 |
var dir_2e0ad737c5a35fd799870b9d14d04fcf =
[
[ "main.cpp", "TestOpenGl_2TestOpenGl_2main_8cpp.html", "TestOpenGl_2TestOpenGl_2main_8cpp" ],
[ "objloader.cpp", "objloader_8cpp.html", null ],
[ "objloader.h", "objloader_8h.html", [
[ "coordinate", "structcoordinate.html", "structcoordinate" ],
[ "... | will421/StartAir_Safe | html/dir_2e0ad737c5a35fd799870b9d14d04fcf.js | JavaScript | gpl-3.0 | 561 |
import { Meteor } from "meteor/meteor";
import { Template } from "meteor/templating";
import { Roles } from "meteor/alanning:roles";
import { ReactiveVar } from "meteor/reactive-var";
import { Reaction } from "/client/api";
import { i18next } from "/client/api";
import * as Collections from "/lib/collections";
import ... | xxbooking/reaction | imports/plugins/core/accounts/client/templates/profile/profile.js | JavaScript | gpl-3.0 | 2,915 |
import axios from 'axios'
const basePath = '/api'
axios.defaults.xsrfCookieName = 'csrftoken'
axios.defaults.xsrfHeaderName = 'X-CSRFToken'
export default {
Utils: {
getYearsChoiceList: (app, model) => axios({
url: `${basePath}/${app}/${model}/years/`,
method: 'GET'
}),
getModelOrderedList: ... | cmjatai/cmj | _frontend/v1/src/resources/index.js | JavaScript | gpl-3.0 | 1,346 |
/*----------------------------------------------------------------------*/
/* The name says it all */
/*----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/* Subroutines ... | pviechnicki/taskExplorer | js/helper_functions.js | JavaScript | gpl-3.0 | 1,881 |
vti_encoding:SR|utf8-nl
vti_timelastmodified:TW|14 Aug 2014 13:36:46 -0000
vti_extenderversion:SR|12.0.0.0
vti_author:SR|Office-PC\\Rafael
vti_modifiedby:SR|Office-PC\\Rafael
vti_timecreated:TR|01 Nov 2014 09:10:51 -0000
vti_backlinkinfo:VX|
vti_nexttolasttimemodified:TW|14 Aug 2014 13:36:46 -0000
vti_cacheddtm:TX|03 N... | Vitronic/kaufreund.de | catalog/view/theme/theme436/js/elevate/_vti_cnf/jquery.elevatezoom.js | JavaScript | gpl-3.0 | 618 |
var helpers = require('./../../../helpers'),
path = require('path'),
os = require('os'),
should = require('should'),
sinon = require('sinon'),
lib_path = helpers.lib_path(),
join = require('path').join,
custom_dirs = require(jo... | prey/prey-node-client | test/lib/agent/actions/wipe.js | JavaScript | gpl-3.0 | 12,290 |
Ext.define('Onlineshopping.onlineshopping.shared.shop.model.location.TimezoneModel', {
"extend": "Ext.data.Model",
"fields": [{
"name": "primaryKey",
"type": "string",
"defaultValue": ""
}, {
"name": "timeZoneId",
"type": "string",
"defaultValue... | applifireAlgo/OnlineShopEx | onlineshopping/src/main/webapp/app/onlineshopping/shared/shop/model/location/TimezoneModel.js | JavaScript | gpl-3.0 | 1,104 |
(function () {
var modern = (function () {
'use strict';
var global = tinymce.util.Tools.resolve('tinymce.ThemeManager');
var global$1 = tinymce.util.Tools.resolve('tinymce.EditorManager');
var global$2 = tinymce.util.Tools.resolve('tinymce.util.Tools');
var isBrandingEnabled = function (editor) {
ret... | nemiah/poolPi | public_html/backend/libraries/tinymce/themes/modern/theme.js | JavaScript | gpl-3.0 | 323,313 |
(function(){
'use strict';
Ns.views.map.Layout = Marionette.LayoutView.extend({
id: 'map-container',
template: '#map-layout-template',
regions: {
content: '#map-js',
legend: '#legend-js',
panels: '#map-panels',
toolbar: '#map-toolbar',
... | ninuxorg/nodeshot | nodeshot/ui/default/static/ui/nodeshot/js/views/map.js | JavaScript | gpl-3.0 | 50,921 |
YUI(M.yui.loader, {lang: M.local_mail_lang}).use('io-base', 'node', 'json-parse', 'panel', 'datatable-base', 'dd-plugin', 'moodle-form-dateselector', 'datatype-date', 'calendar-base', function(Y) {
var mail_message_view = false;
var mail_checkbox_labels_default = {};
var mail_view_type = '';
var mail_e... | nitro2010/moodle | local/mail/mail.js | JavaScript | gpl-3.0 | 58,550 |
import { combineReducers } from 'redux';
import listAcceptors from './listAcceptors';
import me from './wxe-auth';
import acceptors from './acceptors';
import { doneForm, toastState } from './ceeRegistration/ceeRegistration';
import { reducer as formReducer } from 'redux-form';
import stat from './stat';
import cee fro... | nagucc/jkef-wxe | src/reducers/index.js | JavaScript | gpl-3.0 | 678 |
window.onload = function() {
document.getElementById('smile').innerHTML = ":)";
};
| nishant-jain-94/express-app | public/javascripts/main.js | JavaScript | gpl-3.0 | 85 |
import fs from 'fs'
import path from 'path'
const Jimp = require('jimp')
const hjson = require('hjson')
const electronImageResize = require('./electronImageResize')
const {getPath1,getPath2} = require('./chromeExtensionUtil')
const contentScriptName = '___contentScriptModify_.js'
const backgroundScriptName = '___back... | kura52/sushi-browser | src/chromeManifestModify.js | JavaScript | gpl-3.0 | 11,818 |
/*
Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'colorbutton', 'hr', {
auto: 'Automatski',
bgColorTitle: 'Boja pozadine',
colors: {
'000': 'Crna',
'800000': 'Kesten',
'8... | sgsinclair/Voyant | src/main/webapp/resources/ckeditor/ckeditor4.15.0/plugins/colorbutton/lang/hr.js | JavaScript | gpl-3.0 | 1,902 |
//==============================================================================
//
// File drop zone view
//
//==============================================================================
(function(app, config, $)
{
app.FileDropZoneView = Marionette.ItemView.extend({
events : {
'drop' : '... | johnnyswp/promin | chat/js/app/view/FileDropZoneView.js | JavaScript | gpl-3.0 | 2,758 |
"use strict";
const logger = require('../logwrapper');
const eventManager = require("../events/EventManager");
const NodeCache = require("node-cache");
const cache = new NodeCache({ stdTTL: 0, checkperiod: 5 });
exports._cache = cache;
cache.on("expired", function(key, value) {
eventManager.triggerEvent("firebot... | Firebottle/Firebot | backend/common/custom-variable-manager.js | JavaScript | gpl-3.0 | 4,564 |
"use strict";
var uuid = require('node-uuid');
var crypto = require('crypto');
var NodeGeocoder = require('node-geocoder');
var secret = "I@Love@NNNode.JS";
var options = {
provider: 'google',
httpAdapter: 'https',
apiKey: 'AIzaSyBF9xb6TLxfTEji1O4UqL7rwZc16fQRctA',
formatter: null
};
var Util = function ()... | oczane/geochat | util.js | JavaScript | gpl-3.0 | 1,071 |
var searchData=
[
['haier_443',['haier',['../classIRac.html#ae0a29a4cb8c7a4707a7725c576822a58',1,'IRac']]],
['haier_5fac_444',['HAIER_AC',['../IRremoteESP8266_8h.html#ad5b287a488a8c1b7b8661f029ab56fada1f232bcdf330ec2e353196941b9f1628',1,'IRremoteESP8266.h']]],
['haier_5fac_5fyrw02_445',['HAIER_AC_YRW02',['../IRre... | don-willingham/Sonoff-Tasmota | lib/IRremoteESP8266-2.7.11/docs/doxygen/html/search/all_8.js | JavaScript | gpl-3.0 | 3,792 |
var util = require( '../../utils/util.js' )
Page( {
data: {
projects: [ { name: 'FinalScheduler(终极排班系统)', git: "https://github.com/giscafer/FinalScheduler" },
{ name: 'MoveSite(电影狙击手)', git: "https://github.com/giscafer/moviesite" },
{ name: 'Ponitor(价格监控)', git: "https://github.com/giscafer/Ponitor" ... | gouyuwang/private | wxapp/map/pages/logs/logs.js | JavaScript | gpl-3.0 | 1,470 |
/*! fabrik */
var FbListArticle=new Class({Extends:FbListPlugin}); | robho/fabrik | plugins/fabrik_list/article/article-min.js | JavaScript | gpl-3.0 | 66 |
/*
* This file is part of ARSnova Mobile.
* Copyright (C) 2011-2012 Christian Thomas Weber
* Copyright (C) 2012-2015 The ARSnova Team
*
* ARSnova Mobile 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, e... | commana/arsnova-mobile | src/main/webapp/app/view/speaker/NewQuestionPanel.js | JavaScript | gpl-3.0 | 18,815 |
/**
* Created by Akkadius on 2/10/2015.
*/
$(document).ready(function() {
var CalcDataTableHeight = function () {
return $(window).height() * 60 / 100;
};
var table = $("#npc_head_table").DataTable( {
scrollY: CalcDataTableHeight(),
scrollX: true,
scrollColl... | Akkadius/EQEmuEOC | modules/NPC/ajax/npc_table.js | JavaScript | gpl-3.0 | 4,786 |
var mongoose = require('mongoose');
var characterSchema = new mongoose.Schema({
name: String,
userID: { type: mongoose.Schema.Types.ObjectId, ref: 'User' },
inventarID: { type: mongoose.Schema.Types.ObjectId, ref: 'Inventar' },
gender: String,
skincolor: String,
hair: Number,
haircolor: Str... | FA15bZombieSurvival/Zurival | models/character.js | JavaScript | gpl-3.0 | 3,251 |
/*
* @Author: LIU CHENG
* @Date: 2017-02-22 18:39:38
* @Last Modified by: LIU CHENG
* @Last Modified time: 2017-03-05 11:39:18
*/
import React, { PropTypes } from 'react';
import {
Text,
View,
Image,
TouchableHighlight,
ActivityIndicator,
StyleSheet
} from 'react-native';
/**
* Dashboard
* props:
... | kimochg/react-native-githubnote-app | src/components/Dashboard.js | JavaScript | gpl-3.0 | 1,787 |
import { commitMutation, graphql } from 'react-relay'
import { ConnectionHandler } from 'relay-runtime'
const mutation = graphql`
mutation CreateSpeciesMutation($input: CreateSpeciesInput!) {
createSpecies(input: $input) {
clientMutationId
speciesEdge {
node {
authorId
id
... | doeg/plantly-graphql | web/src/mutations/CreateSpeciesMutation.js | JavaScript | gpl-3.0 | 1,851 |
var fs = require('fs')
// Script directories
var settings = require('./settings.json'); // The settings file
var scriptDir = settings.scriptDir + '/'; // The directory where dota scripts are placed
var scriptDirOut = settings.scriptDirOut; ... | LegendsOfDota/LegendsOfDota | script_generator/app.js | JavaScript | gpl-3.0 | 20,039 |
/*
* jQuery File Upload User Interface Plugin
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2010, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*/
/* jshint nomen:false */
/* global define, require, window */
;(function (fa... | sea75300/fanpresscm3 | inc/lib/jqupload/js/jquery.fileupload-ui.js | JavaScript | gpl-3.0 | 28,144 |
tinyMCE.addI18n('en.tinycimmimage_dlg',{
title : 'Image Manager',
upload:'Upload'
});
| wuts/xiaodoudian | application/assets/js/tiny_mce/plugins/tinycimm/langs/en_dlg.js | JavaScript | gpl-3.0 | 95 |
function divReplaceWith(selector, url) {
$.get(url, function(response) {
$(selector).html(response);
})
} | smcs/online-language-lab | examples/dynamic-replacement/js/main.js | JavaScript | gpl-3.0 | 109 |
(function (root) {
"use strict";
var Tone;
//constructs the main Tone object
function Main(func){
Tone = func();
}
//invokes each of the modules with the main Tone object as the argument
function Module(func){
func(Tone);
}
/**
* Tone.js
* @author Yotam Mann
* @license http://opensource.org/licens... | DeerMichel/pedalboard | js/tone.js | JavaScript | gpl-3.0 | 637,440 |
Ext.define('Healthsurvey.view.mobileview.login.ChangePasswordScreenController', {
extend : 'Ext.app.ViewController',
alias : 'controller.changePasswordScreenController',
onChangePasswordClick : function(btn, opts) {
debugger;
var form = btn.up().up();
if (form.isValid()) {
var formData = form.getValues();
... | applifireAlgo/appApplifire | healthsurvey/src/main/webapp/app/view/mobileview/login/ChangePasswordScreenController.js | JavaScript | gpl-3.0 | 1,301 |
Joomla 3.6.4 = 5e60174db2edd61c1c32011464017d84
Joomla 3.7.0 = c7eeeb362de64acba3e76fd13e0ad6af
Joomla 3.4.1 = 399117bc209c7f4eb16f72bfef504db7
| gohdan/DFC | known_files/hashes/media/editors/codemirror/mode/yaml/yaml.min.js | JavaScript | gpl-3.0 | 144 |
'use strict';
function Boot() {
}
Boot.prototype = {
preload: function () {
this.load.image('preloader', 'assets/preloader.gif');
},
create: function () {
this.game.input.maxPointers = 1;
this.game.state.start('preload');
}
};
module.exports = Boot;
| robomatix/one-minute-shoot-em-up-v2 | game/states/boot.js | JavaScript | gpl-3.0 | 273 |
/*global assert: false, refute: false */
var buster = require("buster"),
huddle = require("../lib/huddle.js"),
resources;
buster.testCase('Huddle', {
setUp: function () {
resources = new huddle.Huddle();
},
"Empty input": function () {
resources.read('');
assert.equals(reso... | robgietema/huddle | test/huddle-test.js | JavaScript | gpl-3.0 | 5,229 |
/*
* This file is part of MystudiesMyteaching application.
*
* MystudiesMyteaching application 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 l... | UH-StudentServices/mystudies-myteaching-frontend | main/test/spec/unit/directives/weekFeed/eventTimeSpanFilterEnSpec.js | JavaScript | gpl-3.0 | 1,516 |
(function () {
'use strict';
function Cat(name, color) {
this.name = name;
this.color = color;
}
Cat.prototype.age = 4;
var huesitos = new Cat('huesitos', 'amarillo claro');
display(huesitos.__proto__);
display(Cat.prototype );
display(huesitos.__proto__ == Cat.... | zaiboot/javascript-playground | public/prototypes/demo03/demo.js | JavaScript | gpl-3.0 | 409 |
// Parsley.js @@version
// http://parsleyjs.org
// (c) 20012-2014 Guillaume Potier, Wisembly
// Parsley may be freely distributed under the MIT license.
define([
// ### Requirements
// Handy third party functions
'parsley/utils',
// Parsley default configuration
'parsley/default... | arout/halcyon | public/template/sing/assets/vendor/parsleyjs/src/parsley.js | JavaScript | gpl-3.0 | 11,659 |
"use strict";
class WellTile extends Tile {
constructor(row, column) {
super("brunnen.gif", row, column);
this.tooltip_name = "WELL";
this.build_costs = { humansidle: 5 };
this.production = { water: 1 };
this.counter = 1;
this.workingspeed = 5;
}
clone() {
... | RitualTycoon/RitualTycoon | src/tiles/WellTile.js | JavaScript | gpl-3.0 | 441 |
/*global define*/
define(["hbs/handlebars"],
function (Handlebars) {
"use strict";
function debug (optionalValue) {
console.log("====================");
console.log("Current Context");
console.log(this);
if (optionalValue) {
console.l... | munvier/electron-higgins | app/public/js/app/templates/helpers/debug.js | JavaScript | gpl-3.0 | 562 |
/**
* Copyright 2019 Google LLC
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 3 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY... | googlecreativelab/creatability-seeing-music | src/piano/Keyboard.js | JavaScript | gpl-3.0 | 2,031 |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'kitchensink', 'vi', {
block: 'Canh đều',
center: 'Toggle Toolbars',
left: 'Canh trái',
right: 'Canh phải'
});
| jsnfwlr/editor27 | lib/editor/ckeditor/ckeditor/plugins/kitchensink/lang/vi.js | JavaScript | gpl-3.0 | 303 |
var chrDesktopNotificationsView = new function () {
'use strict';
var that = this;
this.ID = 'chrDesktopNotificationsView';
this.ns = {};
this.showChrRichNotificationProgress = function (title, body, sourceUrl, noturl, iconUrl) {
try {
var opt = {
type: 'progre... | alepolidori/chrome-discourse-notifications | src/js/chrDesktopNotificationsView.js | JavaScript | gpl-3.0 | 2,997 |
import React from 'react'
import { Link } from 'react-router'
import videos from './videos.json'
const video = videos[Math.floor(Math.random() * videos.length)]
export default ({ userLoaded, toSteps, toInfo }) => (
<div className='ext-home-cover' style={{
backgroundImage: `url("${video.image}")`
}}>
{wind... | RosarioCiudad/democracyos | ext/lib/site/home-consultas/cover/component.js | JavaScript | gpl-3.0 | 1,090 |
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'pt', {
alt: 'Quebra de página',
toolbar: 'Inserir quebra de página'
} );
| ernestbuffington/PHP-Nuke-Titanium | includes/wysiwyg/ckeditor/plugins/pagebreak/lang/pt.js | JavaScript | gpl-3.0 | 280 |
var polymer_8cpp =
[
[ "buf_mindist4", "polymer_8cpp.html#a2080040fff4e87f6c075beafbdf99c1e", null ],
[ "collectBonds", "polymer_8cpp.html#a7f7eaba446fd0bed3b96996e0845fa4f", null ],
[ "collision", "polymer_8cpp.html#a59b45a870af8c48e35778c1aa024784f", null ],
[ "constraint_collision", "polymer_8cpp.htm... | HaoZeke/espresso | doc/doxygen/html/polymer_8cpp.js | JavaScript | gpl-3.0 | 1,196 |
(function() {
var Scope, extend, last, _ref;
_ref = require('./helpers'), extend = _ref.extend, last = _ref.last;
exports.Scope = Scope = (function() {
Scope.root = null;
function Scope(parent, expressions, method) {
this.parent = parent;
this.expressions = expressions;
t... | tmad4000/ideamesh | node_modules/coffee-script/lib/coffee-script/scope.js | JavaScript | gpl-3.0 | 3,584 |
// Copyright 2010 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of ... | chriskmanx/qmole | QMOLEDEV/node/deps/v8/test/mjsunit/closures.js | JavaScript | gpl-3.0 | 1,890 |
import fuzzy from 'fuzzy';
import { resolve } from 'redux-simple-promise';
import {
FETCH_POSTS,
FETCH_POST,
FETCH_PAGE,
FETCH_POSTS_CATEGORY,
FETCH_POSTS_TAG
} from '../actions/index';
const INITIAL_STATE = { all: {}, post: {}, page: {}, category: {} };
export default function (state = INITIAL_STATE, acti... | WDTAnyMore/WDTAnyMore.github.io | react-dev/reducers/reducer_posts.js | JavaScript | gpl-3.0 | 2,110 |
"use strict";
var SHOW_DATA = {
"venue_name": "Merriweather Post Pavilion, Columbia, Maryland",
"venue_id": 76,
"show_date": "26th of Jun, 1984",
"sets": [
{"set_title": "1st set",
"encore": false,
"songs": [
{"name": "Casey Jones", "length":"5:59", "trans":"/"},
{"name": "Feel Like A Stranger", "len... | maximinus/grateful-dead-songs | gdsongs/static/data/shows/295.js | JavaScript | gpl-3.0 | 1,845 |
var __v=[
{
"Id": 2257,
"Panel": 1127,
"Name": "刪除 舊 kernel",
"Sort": 0,
"Str": ""
}
] | zuiwuchang/king-document | data/panels/1127.js | JavaScript | gpl-3.0 | 112 |
import { Template } from 'meteor/templating';
import { Academy } from '/imports/api/databasedriver.js';
import { Challenges } from '/imports/api/databasedriver.js';
import { Rooms } from '/imports/api/databasedriver.js';
import { Badges } from '/imports/api/databasedriver.js';
import { ROOMS_ACTIVE_ELEMENT_KEY } from ... | LandOfKroilon/KroilonApp | client/management/rooms/newRoom/NewRoomInfo.js | JavaScript | gpl-3.0 | 1,694 |
import { createSelector } from 'reselect';
import { bindActionCreators, compose } from 'redux';
import { connect } from 'react-redux';
import { reduxForm } from 'redux-form';
import {
requestContact, createContact, deleteContact, invalidate as invalidateContacts,
} from '../../store/modules/contact';
import { request... | CaliOpen/CaliOpen | src/frontend/web_application/src/scenes/Contact/index.js | JavaScript | gpl-3.0 | 2,978 |
'use strict';
var menu = angular.module('irc.views.menu', [
'irc.networks',
'irc.views.menu.directives',
]);
menu.controller(
'MenuCtrl', [
'$scope',
'$timeout',
'$state',
'networks',
function MenuCtrl(
$scope,
$timeout,
$state,
networks) ... | christopher-l/fxos-irc | app/views/menu/menu.js | JavaScript | gpl-3.0 | 2,535 |
import React from 'react';
// 参照界面,适合选中参照数据
export default class extends React.Component {
}
| saas-plat/saas-plat-appfx | src/components/widgets/md/Reference.js | JavaScript | gpl-3.0 | 123 |
Ext.define('Wif.setup.trend.trendnewEmploymentCard', {
extend : 'Ext.form.Panel',
project : null,
title : 'Employment Trends',
assocLuCbox : null,
assocLuColIdx : 1,
model : null,
pendingChanges : null,
sortKey : 'label',
isEditing: true,
isLoadingExisting: true,
constructor : function(config) ... | AURIN/online-whatif-ui | src/main/webapp/js/wif/setup/trend/trendnewEmploymentCard.js | JavaScript | gpl-3.0 | 17,630 |
const Clutter = imports.gi.Clutter;
const Lang = imports.lang;
const ModalDialog = imports.ui.modalDialog;
const Signals = imports.signals;
const St = imports.gi.St;
const Gettext = imports.gettext;
const _ = Gettext.domain('gnome-shell-extensions-scriptproxies').gettext;
const EditProxyDialog = new Lang.Class({
... | Eimji/gnome-shell-extension-scriptproxies | editProxyDialog.js | JavaScript | gpl-3.0 | 4,159 |
var nodeSass = require('node-sass'),
fs = require('fs');
module.exports = class Sass {
constructor(config){
this.config = config;
if (this.config.compileAtBootup) {
this.compile();
}
if (this.config.watch) {
this.startWatch();
}
}
get timeTaken(){
return parseInt(proces... | DennisMajvall/magnets | modules/sass.js | JavaScript | gpl-3.0 | 1,379 |
import React, { Component } from "react";
import PropTypes from "prop-types";
import classnames from "classnames";
import { Components, registerComponent } from "@reactioncommerce/reaction-components";
class CardHeader extends Component {
static defaultProps = {
actAsExpander: false,
expandable: false
};
... | xxbooking/reaction | imports/plugins/core/ui/client/components/cards/cardHeader.js | JavaScript | gpl-3.0 | 3,437 |
/**
* Created by levchenko on 5/12/14.
*/
function Style(styles) {
this.styles = styles;
this.applyStyles = function (object) {
for(var key in this.styles) {
if(this.getStyleProperty(key) === false) {
object.setAttribute('style', object.getAttribute('style') + key + ':' + t... | XNoval/jsSolutions | base/Style.js | JavaScript | gpl-3.0 | 1,213 |
var db = require('../db');
var User = db.model('User', {
username: {
type: String,
required: true
},
email: {
type: String,
required: true
},
password: {
type: String,
required: true,
select: false
},
created: {
type: Date,
... | MICSTI/magellan | models/user.js | JavaScript | gpl-3.0 | 617 |
/* ************************************************************************
qooxdoo - the new era of web development
http://qooxdoo.org
Copyright:
2004-2008 1&1 Internet AG, Germany, http://www.1und1.de
License:
LGPL: http://www.gnu.org/licenses/lgpl.html
EPL: http://www.eclipse.org/org/d... | icarusfactor/lugDBwizard | qooxdoo_source/lugwizupdate/source/script/lugwiz.10a10b4d8340.js | JavaScript | gpl-3.0 | 775,345 |
(function (angular) {
angular.module("rmApp", ["ui.router", "rmApp.templates", "rmApp.controllers"])
.config(["$stateProvider", "$urlRouterProvider", "$locationProvider", function ($stateProvider, $urlRouterProvider, $locationProvider) {
$urlRouterProvider.otherwise("/");
$locationPr... | rawlinsmethod/ProAngularJS | app/www/js/routers/index.rtr.js | JavaScript | gpl-3.0 | 1,378 |
/**
*
*/
var $info = false;
function LoadServerStats() {
$.getJSON("phpsysinfo/xml.php?plugin=complete&json",
function (data) {
$info = data;
updateCPU($info.Vitals["@attributes"].LoadAvg, $info.Vitals["@attributes"].Processes);
updateRAM($info.Memory["... | volrathxiii/Avy | js/serverstats.js | JavaScript | gpl-3.0 | 2,489 |
import React from "react";
import PropTypes from "prop-types";
import styled from "@emotion/styled";
import { insertEmbeddedImages } from "../../../utils/embedded-images";
const RichTextareaFieldResponseWrapper = styled("div")(props => ({
// TODO: fluid video
lineHeight: "1.3rem",
"& img": {
maxWidth: "100%... | smartercleanup/platform | src/base/static/components/form-fields/types/rich-textarea-field-response.js | JavaScript | gpl-3.0 | 1,342 |
// **********************************************************************************
// Websocket backend for the Raspberry Pi IoT Framework
// **********************************************************************************
// Modified from the Moteino IoT Framework - http://lowpowerlab.com/gateway
// By Felix ... | bjladner/IoPiGateway | gateway.js | JavaScript | gpl-3.0 | 14,853 |
/*
* This file is part of ARSnova Mobile.
* Copyright (C) 2011-2012 Christian Thomas Weber
* Copyright (C) 2012-2017 The ARSnova Team
*
* ARSnova Mobile 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, e... | dhx/arsnova-mobile | src/main/webapp/app/controller/Sessions.js | JavaScript | gpl-3.0 | 21,215 |