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 |
|---|---|---|---|---|---|
/**
* Plugin: "disable_options" (selectize.js)
* Copyright (c) 2013 Mondo Robot & contributors
*
* 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.... | JonnyWong16/plexpy | data/interfaces/default/js/selectize.plugin.disable-options.js | JavaScript | gpl-3.0 | 2,444 |
var gulp = require('gulp');
var sass = require('gulp-sass');
var auto = require('gulp-autoprefixer');
var sourcemaps = require('gulp-sourcemaps');
var browserSync = require('browser-sync').create();
var plumber = require('gulp-plumber');
gulp.task('scss', function() {
return gulp.src('src/scss/*.scss')
.pi... | JorreSpijker/gulp | gulp_files/tasks/sass.js | JavaScript | gpl-3.0 | 560 |
'use strict'
const Q = require(`q`)
const readFile = Q.denodeify(require(`fs`).readFile)
const resolve = require(`path`).resolve
module.exports = Q.all([
readFile(resolve(__dirname, './templates/template.hbs'), 'utf-8'),
readFile(resolve(__dirname, './templates/header.hbs'), 'utf-8'),
readFile(resolve(__dirname... | nitishvu/ProjectTracking | node_modules/conventional-changelog-codemirror/writer-opts.js | JavaScript | gpl-3.0 | 951 |
webpackJsonp([2],{581:function(e,t,n){"use strict";function r(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0;switch(arguments[1].type){case u.a:return e+1;case u.b:return e-1;default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var u=n(584);t.default=r,r.reducer="page2"},584:function(e,t... | luigiplr/react-router-redux-rxjs-code-splitting | docs/2-a4127f472c009ba9ea8b.chunk.js | JavaScript | gpl-3.0 | 510 |
/* global Converter, probandDatav2 */
describe('Converter', function() {
describe('load', function() {
it('should load proband data', function() {
var converter = new Converter();
converter.load(probandDatav2);
expect(converter.data).to.deep.equal(probandDatav2);
... | secure-software-engineering/ivy | test/spec/converter_test.js | JavaScript | gpl-3.0 | 6,072 |
if (typeof com == "undefined") {
var com = {};
}
com.sppad = com.sppad || {};
com.sppad.booky = com.sppad.booky || {};
com.sppad.booky.Groups = new function() {
var self = this;
this.bookmarkInfoMap = new com.sppad.collections.Map();
this.groupIdMap = new com.sppad.collections.Map();
this.primar... | sparhami/booky | chrome/content/groups.js | JavaScript | gpl-3.0 | 14,131 |
import React from 'react';
import ReactDOMServer from 'react-dom/server';
import Menu from '../Menu';
describe('Pure', () => {
describe('Menu.ItemLabel', () => {
it('should be: <span>OK</span>', () => {
const h = ReactDOMServer.renderToStaticMarkup(<Menu.ItemLabel label='OK' />);
h.should.be.equal(... | panlw/react-lab | src/lib/theme/pure/__tests__/Menu-test.js | JavaScript | gpl-3.0 | 5,223 |
/*
Copyright (c) 2004-2006, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/community/licensing.shtml
*/
{
hello: "Aloha"
}
| calaos/calaos_web | dojo-0.4.1-widget/tests/i18n/nls/en-us-hawaii/salutations.js | JavaScript | gpl-3.0 | 286 |
var app = app || {};
$(function(){
"use-strict";
var ShiftGridApplication = Backbone.Marionette.Application.extend({
initialize: function(options) {
this.shiftData = new app.GridRows(options.rows);
this.shiftLayout = this.initializeLayout(options.el);
// Shift Grid
... | Apogaea/voldb | volunteer/static/js/shift-grid/app.js | JavaScript | gpl-3.0 | 1,790 |
// Expects to be preceeded by javascript that creates a variable called selectRange that
// defines the segment to be wrapped and replaced.
// create custom range object for wrapSelection
var replaceRange = $.fn.range;
replaceRange.ClearVariables();
replaceRange.startContainer = selectRange.startContainer;
... | nemoisperfect/sigil | src/Sigil/Resource_Files/javascript/replace_wrapped.js | JavaScript | gpl-3.0 | 1,894 |
(function () {
angular
.module('mainModule')
.controller('mainVagasController', mainVagasController);
function mainVagasController($state, $http, BASE_URL_API) {
var vm = this;
vm.vagas = [];
vm.abrirVaga = abrirVaga;
ativar();
function ativar() {
... | gabriel-society/clak.vagas | src/src/Clak.Vagas/wwwroot/app/vagas/main.vagas.controller.js | JavaScript | gpl-3.0 | 793 |
/* This is the basic linkfollowing script.
* Its pretty stable, and you configure which keys to use for hinting
*
* TODO: Some pages mess around a lot with the zIndex which
* lets some hints in the background.
* TODO: Some positions are not calculated correctly (mostly
* because of uber-fancy-designed-webpages. B... | matthewbauer/uzbl | examples/data/scripts/follow.js | JavaScript | gpl-3.0 | 8,286 |
Router.map(function() {
this.route('index.view', {
path: '/',
onBeforeAction: function () {
if (Meteor.isClient) {
Session.set('siteTitle', 'Vazco SlideDeck!');
};
this.next();
}
});
this.route('slideshow.view', {
path: '/sl... | vazco/vsd-meteor-intro | common/router/routes.js | JavaScript | gpl-3.0 | 1,287 |
$(document).ready(function() {
$('.fancybox').fancybox();
$(".fancybox-effects-a").fancybox({
helpers: {
title : {
type : 'outside'
},
overlay : {
speedOut : 0
}
}
});
$(".fancybox-effects-b").fancybox({
openEffect : 'none',
closeEffect : 'none',
helpers : {
title : {
type : '... | ElizavetaKuzmenko/dsm_genres | data/custom.js | JavaScript | gpl-3.0 | 2,174 |
/*
Copyright 2012-2013, Polyvi Inc. (http://www.xface3.com)
This program is distributed under the terms of the GNU General Public License.
This file is part of xFace.
xFace 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 Soft... | polyvi/xface-extension-zip | www/ZipError.js | JavaScript | gpl-3.0 | 2,136 |
/*
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( 'print', 'et', {
toolbar: 'Printimine'
} );
| ernestbuffington/PHP-Nuke-Titanium | includes/wysiwyg/ckeditor/plugins/print/lang/et.js | JavaScript | gpl-3.0 | 234 |
/**
* Macchiato : Mobile and Web application offloading Copyright (C) 2013 Nicolas
* Petitprez
*
* 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 yo... | petitpre/Macchiato-eventbus | src/test/server/testLauncher.js | JavaScript | gpl-3.0 | 1,272 |
var searchData=
[
['mainthreadid',['MainThreadID',['../classMezzanine_1_1Threading_1_1FrameScheduler.html#a9e78999f8224259b438874034a7f68c1',1,'Mezzanine::Threading::FrameScheduler']]],
['marg',['mArg',['../structMezzanine_1_1Threading_1_1__thread__start__info.html#a222f0b4b2db625b87a83a5d5e5ac6058',1,'Mezzanine::T... | BlackToppStudios/DAGFrameScheduler | doc/html/search/all_6d.js | JavaScript | gpl-3.0 | 3,480 |
/**
* Copyright 2017–2019, LaborX PTY
* Licensed under the AGPL Version 3 license.
*/
export const TX_ASSET_CREATED = 'AssetCreated'
| ChronoBank/ChronoMint | packages/core/dao/constants/PlatformTokenExtensionGatewayManagerEmitterDAO.js | JavaScript | gpl-3.0 | 139 |
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2015 Yuri Kuznetsov, Taras Machyshyn, Oleksiy Avramenko
* Website: http://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it... | IgorGulyaev/iteamzen | client/src/views/admin/layouts/modals/edit-attributes.js | JavaScript | gpl-3.0 | 3,096 |
/*
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( 'basicstyles', 'sr-latn', {
bold: 'Podebljano',
italic: 'Kurziv',
strike: 'Precrtano',
subscript: 'Indeks',
superscript: 'Step... | ernestbuffington/PHP-Nuke-Titanium | includes/wysiwyg/ckeditor/plugins/basicstyles/lang/sr-latn.js | JavaScript | gpl-3.0 | 355 |
/*
Copyright 2013 Northern Arizona University
This file is part of Sweet Jumps.
Sweet Jumps 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 ve... | NorthernArizonaUniversity/sweet-jumps | templates/controller/root/controller.js | JavaScript | gpl-3.0 | 1,401 |
Ext.define('Hrproject.view.clouddrive.documentview.DocumentsViewController',{
extend : 'Ext.app.ViewController',
requires:['Hrproject.view.fw.PDF.panel.PDF'],
alias : 'controller.documentview',
clouddrive : null,
drivelist : null,
driveDetails : null,
driveDetailsController : null,
frame : null,
downloadFilefo... | applifireAlgo/HR | hrproject/src/main/webapp/app/view/clouddrive/documentview/DocumentsViewController.js | JavaScript | gpl-3.0 | 23,318 |
Ext.define('Zenws.zenws.shared.com.zen.viewmodel.location.LanguageViewModel', {
"extend": "Ext.app.ViewModel",
"alias": "viewmodel.LanguageViewModel",
"model": "LanguageModel",
"data": {}
}); | applifireAlgo/ZenClubApp | zenws/src/main/webapp/app/zenws/shared/com/zen/viewmodel/location/LanguageViewModel.js | JavaScript | gpl-3.0 | 211 |
MODX Evolution 1.1 = 6c5e02783a79b572e09102b05854077e
| gohdan/DFC | known_files/hashes/assets/plugins/tinymce/tiny_mce/plugins/emotions/langs/he_dlg.js | JavaScript | gpl-3.0 | 54 |
/* ***** 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/
*
... | invi/ppg-api | lib/workers/domcrypt_worker.js | JavaScript | gpl-3.0 | 39,784 |
"use strict";
/*global define, templates, socket, ajaxify, app, admin, bootbox, utils, config */
define('admin/manage/groups', [
'translator',
'components'
], function(translator, components) {
var Groups = {};
var intervalId = 0;
Groups.init = function() {
var createModal = $('#create-modal'),
createGroup... | seafruit/NodeBB | public/src/admin/manage/groups.js | JavaScript | gpl-3.0 | 2,982 |
/**
* @fileoverview Rule to forbid control charactes from regular expressions.
* @author Nicholas C. Zakas
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------
module.ex... | jlbooker/shop-hours-demo | node_modules/react-scripts/node_modules/eslint/lib/rules/no-control-regex.js | JavaScript | gpl-3.0 | 2,962 |
L.mapbox.accessToken = 'pk.eyJ1IjoibHVkby1hdXJnIiwiYSI6IjE0QzlVekkifQ.FK86sgWfTNbDC-Z-O-hTww';
var osm = L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png');
var ggl = L.tileLayer('http://{s}.google.com/vt/lyrs=s&x={x}&y={y}&z={z}',{
maxZoom: 20,
subdomains:['mt0','mt1','mt2','mt3']
});
var curre... | diouck/laravel | Modules/Commercemetro/Assets/js/creategeom.js | JavaScript | gpl-3.0 | 3,203 |
var NAVTREE =
[
[ "MLX90621", "index.html", [
[ "MLX90621-Lite", "md__e_1__dropbox__projects__m_l_x90621-_lite__r_e_a_d_m_e.html", null ],
[ "Classes", "annotated.html", [
[ "Class List", "annotated.html", "annotated_dup" ],
[ "Class Index", "classes.html", null ],
[ "Class Members", "functi... | Leenix/MLX90621-Lite | doxy/html/navtreedata.js | JavaScript | gpl-3.0 | 946 |
/*
YUI 3.13.0 (build 508226d)
Copyright 2013 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('datasource-get', function (Y, NAME) {
/**
* Provides a DataSource implementation which can be used to retrieve data via the Get Utility.
*
* @module d... | ouyangyu/fdmoodle | lib/yuilib/3.13.0/datasource-get/datasource-get-debug.js | JavaScript | gpl-3.0 | 6,930 |
$(function() {
$( "#save" ).click(function(){
bval = true;
bval = bval && $( "#nombres" ).required();
bval = bval && $( "#apellidop" ).required();
bval = bval && $( "#apellidom" ).required();
bval = bval && $( "#dni" ).required();
bval = bval && $( ... | AnthonyWainer/sisacreditacion | web/js/app/evt_form_docente_cca.js | JavaScript | gpl-3.0 | 687 |
/* --------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* ----------------------------------------------------------------... | ruibarreira/linuxtrail | opt/vscode/resources/app/extensions/json/server/node_modules/vscode-languageserver/lib/utils/events.js | JavaScript | gpl-3.0 | 6,252 |
/*!
* Copyright (c) 2014 Milo van der Linden (milo@dogodigi.net)
*
* This file is part of opendispatcher/safetymapsDBK
*
* opendispatcher 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... | dogodigi/opendispatcher | public/js/dbkjs/config/styles.js | JavaScript | gpl-3.0 | 27,975 |
/*
(c) 2014, Vladimir Agafonkin
simpleheat, a tiny JavaScript library for drawing heatmaps with Canvas
https://github.com/mourner/simpleheat
*/
(function () { 'use strict';
function simpleheat(canvas) {
// jshint newcap: false, validthis: true
if (!(this instanceof simpleheat)) { return new simpleheat(canv... | theopolisme/wikipedia-contributor-locations | app/static/lib/simpleheat.js | JavaScript | gpl-3.0 | 4,590 |
import React from "react";
import { storiesOf, fixtures } from "helpers/storybook/exports";
import ThumbnailGrid from "..";
import EntityThumbnail from "global/components/atomic/EntityThumbnail";
import shuffle from "lodash/shuffle";
const issues = fixtures
.collectionFactory("issue", 3)
.map(issue => issue.data)
... | ManifoldScholar/manifold | client/src/global/components/composed/ThumbnailGrid/__stories__/ThumbnailGrid.stories.js | JavaScript | gpl-3.0 | 1,846 |
var browser = chrome;
var activetabs = [];
//alert("launchfacebook");
document.addEventListener('DOMContentLoaded', function () {
var css_lastcouche ='.lastcouche {background-image:'+chrome.extension.getURL('src/css/internet.gif')+';}';
chrome.tabs.insertCSS(null, { code: css_lastcouche });
chrome.tabs.insertCSS... | LINCnil/Hally-L-oracle-du-net | src/launchfacebook.js | JavaScript | gpl-3.0 | 822 |
"use strict";
var to_ascii = typeof atob == "undefined" ? function(b64) {
return new Buffer(b64, "base64").toString();
} : atob;
var to_base64 = typeof btoa == "undefined" ? function(str) {
return new Buffer(str).toString("base64");
} : btoa;
function read_source_map(code) {
var match = /\n\/\/# sourceMap... | zedomel/ep-project | public/javascripts/node_modules/uglify-es/lib/minify.js | JavaScript | gpl-3.0 | 5,700 |
var searchData=
[
['udp',['Udp',['../class_cool_time.html#a4e23216a8121ca79d0fb019f30884b92',1,'CoolTime']]],
['unsubscribe',['unsubscribe',['../class_cool_pub_sub_client.html#a850554280e314d6b5c33c73fd9e809fc',1,'CoolPubSubClient']]],
['update',['update',['../class_cool_board.html#a8612756d3f73198cdde857a66f0fe6... | TamataOcean/TamataSpiru | ARDUINO/LaCOOLBoard/extras/doxygenDocs/html/search/all_14.js | JavaScript | gpl-3.0 | 1,028 |
// namespaces
var dwv = dwv || {};
dwv.image = dwv.image || {};
/**
* {@link dwv.image.View} factory.
*
* @class
*/
dwv.image.ViewFactory = function () {};
/**
* {@link dwv.image.View} factory. Defaults to local one.
*
* @see dwv.image.ViewFactory
*/
dwv.ViewFactory = dwv.image.ViewFactory;
/**
* Get an Vie... | ivmartel/dwv | src/image/viewFactory.js | JavaScript | gpl-3.0 | 2,030 |
var NAVTREEINDEX43 =
{
"group___peripheral___registers___bits___definition.html#ga26ef6801f38525d6fdda034a130e5ee9":[5,0,0,2,0,1,17,2182],
"group___peripheral___registers___bits___definition.html#ga26ef7d6cd5ec547a349462e4f31963b6":[5,0,0,2,0,1,17,2430],
"group___peripheral___registers___bits___definition.html#ga26ef7d... | MyEmbeddedWork/ARM_CORTEX_M3-STM32 | 1. Docs/Doxygen/html/navtreeindex43.js | JavaScript | gpl-3.0 | 28,480 |
"use strict";
var path = require("path");
var assert = require("chai").assert;
var request = require("supertest");
var fork = require("child_process").fork;
var index = path.resolve(__dirname + "/../../../index.js");
describe.skip("E2E CLI Snippet test", function () {
// use `mocha --timeout` option in... | xuboso/browser-sync | test/specs/e2e/e2e.cli.snippet.js | JavaScript | gpl-3.0 | 1,077 |
#!/usr/bin/env node
'use strict';
var colors = require('ansicolors')
var table = require('text-table')
if (process.argv.length < 3) {
fromStdin();
} else {
var steps= require(process.argv[2]).steps
print(steps);
}
function fromStdin() {
var data = [];
function onerror(err) {
console.error('gai-pring-js... | thlorenz/gai | gai-print.js | JavaScript | gpl-3.0 | 1,525 |
/*
Copyright (C) 2014 PencilBlue, LLC
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is... | jerlando/pencilblue-koala | controllers/admin/content/pages/manage_pages.js | JavaScript | gpl-3.0 | 2,915 |
/*
Chronic Disease Report Generator - Web based reports on quality of care standards
Copyright (C) 2015 Brice Wong, Tom Sitter, Kevin Lin - Hamilton Family Health Team
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... | HamiltonFHT/ChronicDiseaseReportGenerator | js/mdsViewer.js | JavaScript | gpl-3.0 | 61,276 |
module.exports = function(grunt) {
grunt.initConfig({
// !! This is the name of the task 'requirejs' (grunt-contrib-requirejs module)
requirejs: {
dist: {
// !! You can drop your app.build.js config wholesale into 'options'
options: {
appDir: "bl_scoreboard/static",
... | olegvg/scoreboard | Gruntfile.js | JavaScript | gpl-3.0 | 3,304 |
/**
* [remove: removes an object from the DOM tree]
*/
Element.prototype.remove = function () {
this.parentNode.removeChild(this)
}
/**
* [remove: removes a series of objects from the DOM tree]
*/
NodeList.prototype.remove = HTMLCollection.prototype.remove = function () {
for (var i = this.length - 1; i >= 0; i... | CMDA/Frontend-2 | example/week4/main.js | JavaScript | gpl-3.0 | 1,862 |
/*
* Kendo UI Web v2013.1.319 (http://kendoui.com)
* Copyright 2013 Telerik AD. All rights reserved.
*
* Kendo UI Web commercial licenses may be obtained at
* https://www.kendoui.com/purchase/license-agreement/kendo-ui-web-commercial.aspx
* If you do not own a commercial license, this file shall be governed by th... | tatamizzz/kendoui.ext | src/js/cultures/kendo.culture.yo-NG.js | JavaScript | gpl-3.0 | 2,671 |
/* GCompris - tangram.js
*
* Copyright (C) 2016 Bruno Coudoin <bruno.coudoin@gcompris.net>
*
* Authors:
* Yves Combe / Philippe Banwarth (GTK+ version)
* Bruno Coudoin <bruno.coudoin@gcompris.net> (Qt Quick port)
*
* This program is free software; you can redistribute it and/or modify
* it under the te... | bdoin/GCompris-qt | src/activities/tangram/tangram.js | JavaScript | gpl-3.0 | 5,852 |
"use strict";
//Singleton pattern for things context
exports.emitter = (function () {
// Instance stores a reference to the Singleton
var instance;
function init() {
// Singleton
// Private methods and variables
var EventEmitter = require('events').EventEmitter;
var eventEmitter = new E... | famargon/ubiquitous-things | ubiquitous-things/core/eventsEngine/eventSingelton.js | JavaScript | gpl-3.0 | 715 |
window.utils = window.utils || {};
window.utils.files = (function() {
function getSize(size) {
var quantity, unit;
if (size < Math.pow(1024, 2)) {
quantity = size / 1024;
unit = "KB";
} else if (size < Math.pow(1024, 3)) {
quantity = size / Math.pow(1024, 2);
unit = "MB";
} else {
quantity ... | FabianOvrWrt/files | js/files.js | JavaScript | gpl-3.0 | 22,469 |
Parkings = new Meteor.Collection("parkings");
| chompomonim/parkings-meteor | lib/model.js | JavaScript | gpl-3.0 | 46 |
'use strict';
const BaseController = require('../controllers/base');
const UploadModel = require('../models/file-upload');
const config = require('../../../config');
const uuid = require('uuid');
const path = require('path');
module.exports = class UploadController extends BaseController {
get(req, res, next) {
... | UKHomeOffice/firearms | apps/common/controllers/existing-authority-documents.js | JavaScript | gpl-3.0 | 2,499 |
/* eslint-env jest */
describe('Interaction', () => {
describe('Interaction - security level loose', () => {
it('Graph: should handle a click on a node with a bound function', () => {
const url = 'http://localhost:9000/click_security_loose.html';
cy.viewport(1440, 1024);
cy.visit(url);
cy.... | patschwork/meta_grid | meta_grid/vendor/bower-asset/mermaid/cypress/integration/other/interaction.spec.js | JavaScript | gpl-3.0 | 11,777 |
import { useEffect, useRef } from "react";
import { PropTypes } from "prop-types";
import { useCodeMirror } from "./hook/useCodeMirror";
export function Code({ whenReady, ...props }) {
const editorRef = useRef(null);
const editor = useCodeMirror({ target: editorRef, ...props });
useEffect(() => {
... | nextgis/nextgisweb | nextgisweb/gui/nodepkg/component/code/Code.js | JavaScript | gpl-3.0 | 950 |
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var StationsSchema = new Schema({
Station_No: {
type: String,
required: true
},
Longitude: {
type: String,
required: false
},
Latitude: {
type: String,
required: false
},
Catchment_Area: {
type: Number,
required: false
},
... | khumbue/Hydrological-Analysis | Final/hydrological_analysis_dashboard/models/models.js | JavaScript | gpl-3.0 | 511 |
//Charge les élements du jeu1
var a = 5;
require('Sprite.js', function() {
require('cssFunction.js', function() {
require('Ligne.js', function() {
require('Tableau.js', function() {
require('Cadre.js', function() {
require('Bouton.js', function() {
require('donneesServeur.js', function(){
require('Message.js', functio... | hgrall/merite | src/communication/tests_b/vue/jeu1.js | JavaScript | gpl-3.0 | 5,165 |
// SmoothScroll v1.2.1
// Licensed under the terms of the MIT license.
// People involved
// - Balazs Galambosi (maintainer)
// - Patrick Brunner (original idea)
// - Michael Herf (Pulse Algorithm)
// - Justin Force (Resurect)
// Scroll Variables (tweakable)
var framerate = 150; // [Hz]
var animtime = 7... | vgrados2/mymascensores | assets/js/jquery.smoothscroll.js | JavaScript | gpl-3.0 | 11,274 |
function newId(){
return '-' + Math.random().toString(36).substr(2, 9);
}
| VPTEAM/vpteam | pfinancial/src/main/resources/static/js/idGeneration.js | JavaScript | gpl-3.0 | 76 |
/**
* AvaTax Brazil
* The Avatax-Brazil API exposes the most commonly services available for interacting with the AvaTax-Brazil services, allowing calculation of taxes, issuing electronic invoice documents and modifying existing transactions when allowed by tax authorities. This API is exclusively for use by busines... | Avalara/avataxbr-clients | javascript-client/src/model/InlineResponse200.js | JavaScript | gpl-3.0 | 2,551 |
(function () {
'use strict';
angular.module('app.admin.survey', [
'app.core',
'app.widgets'
]);
})();
| EnterpriseWide/rnoz-1505 | data/rightNow/src/client/app/admin/survey/admin.survey.module.js | JavaScript | gpl-3.0 | 134 |
(function() {
'use strict';
angular
.module('gatewayApp')
.factory('LoginService', LoginService);
LoginService.$inject = ['$uibModal'];
function LoginService ($uibModal) {
var service = {
open: open
};
var modalInstance = null;
var resetMod... | Niky4000/UsefulUtils | projects/tutorials-master/tutorials-master/jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/components/login/login.service.js | JavaScript | gpl-3.0 | 856 |
/*
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( 'maximize', 'lv', {
maximize: 'Maksimizēt',
minimize: 'Minimizēt'
} );
| ernestbuffington/PHP-Nuke-Titanium | includes/wysiwyg/ckeditor/plugins/maximize/lang/lv.js | JavaScript | gpl-3.0 | 264 |
"use strict";
tutao.provide('tutao.entity.tutanota.FileDataDataGet');
/**
* @constructor
* @param {Object=} data The json data to store in this entity.
*/
tutao.entity.tutanota.FileDataDataGet = function(data) {
if (data) {
this.updateData(data);
} else {
this.__format = "0";
this._base64 = null;
... | bartuspan/tutanota | web/js/generated/entity/tutanota/FileDataDataGet.js | JavaScript | gpl-3.0 | 3,544 |
namespace("automata.games.robot", function (exports) {
"use strict";
exports.RightAndAhead = {
key: "automata.games.robot.RightAndAhead",
view: exports.WorldView,
world: exports.World.create({
width: 600,
height: 400,
walls: [],
startX... | senshu/Automata | games/robot/RightAndAhead/game.js | JavaScript | gpl-3.0 | 449 |
/**
* mapDraw2.js
*
*
* @package Heurist academic knowledge management system
* @link http://HeuristNetwork.org
* @copyright (C) 2005-2020 University of Sydney
* @author Artem Osmakov <artem.osmakov@sydney.edu.au>
* @license http://www.gnu.org/licenses/gpl-3.0.txt GNU License 3.0
* @version ... | HeuristNetwork/heurist | viewers/gmap/mapDraw2.js | JavaScript | gpl-3.0 | 63,290 |
'use strict';
var gulp = require('gulp');
var gutil = require('gulp-util');
var rename = require('gulp-rename');
var concat = require('gulp-concat');
// Style Dependencies
var sass = require('gulp-sass');
var autoprefixer = require('gulp-autoprefixer');
var minify = require('gulp-minify-css');
// Js Dependencies
va... | canbakis/contactpage | gulpfile.js | JavaScript | gpl-3.0 | 1,229 |
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014 Yuri Kuznetsov, Taras Machyshyn, Oleksiy Avramenko
* Website: http://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and... | lucasmattos/crm | client/src/views/scheduled-job/list.js | JavaScript | gpl-3.0 | 1,677 |
import { LOCATION_SUCCESS } from '../actions/location'
// login reducer
export default function location(state = null, action) {
if (action.type == LOCATION_SUCCESS) {
return action.response;
}
return state;
} | caTUstrophy/frontend | reducers/location.js | JavaScript | gpl-3.0 | 221 |
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {};... | elmsln/elmsln | core/dslmcode/cores/haxcms-1/build/es5-amd/node_modules/monaco-editor/min/vs/basic-languages/html/html.js | JavaScript | gpl-3.0 | 10,977 |
/*!
* Ext JS Library 3.4.0
* Copyright(c) 2006-2011 Sencha Inc.
* licensing@sencha.com
* http://www.sencha.com/license
*/
Ext.onReady(function(){
var tabs = new Ext.TabPanel({
renderTo:'tabs',
resizeTabs:true, // turn on tab resizing
minTabWidth: 115,
tabWidth:135,
enab... | doujiangbaozi/SliverFramework | WebRoot/js/Ext/examples/tabs/tabs-adv.js | JavaScript | gpl-3.0 | 986 |
function removerreserva(id) {
$.get("/reservaja/removerreserva?", {
'id' : id
}, function() {
$("#res" + id).remove();
});
} | rasertux/reservaja | src/main/webapp/themes/js/removerreserva.js | JavaScript | gpl-3.0 | 131 |
define(
"dojo/cldr/nls/bs/chinese", //begin v1.x content
{
"field-second-relative+0": "sada",
"field-quarter-relative+-1": "posljednji kvartal",
"field-weekday": "dan u sedmici",
"field-mon-narrow-relative+0": "ovaj pon.",
"field-mon-narrow-relative+1": "sljedeći pon.",
"field-weekOfMonth-short": "sed. u mj.",
"... | ustegrew/ustegrew.github.io | courses/it001/lib/dojo/dojo/cldr/nls/bs/chinese.js.uncompressed.js | JavaScript | gpl-3.0 | 5,329 |
/* eslint-disable object-shorthand */
/* global Chart, CustomTooltips, getStyle, hexToRgba */
import $ from 'jquery'
/**
* --------------------------------------------------------------------------
* CoreUI Free Boostrap Admin Template (v2.1.14): main.js
* Licensed under MIT (https://coreui.io/license)
* ---------... | ItsAGeekThing/openCAD-php | oc-content/themes/default/vendors/coreui/src/js/src/main.js | JavaScript | gpl-3.0 | 8,755 |
/**
* @author mpm1
*
* Requires jQuery
*/
function CwrcAnnotion(url, jq){
if (!jq) {
jq = $;
}
// Public Functions
this.searchAnnotion = function(searchObject){
// TODO: Should we search on annotations?
}
this.getAnnotaion = function(pid){
var result = result;
jq.ajax({
url : url + '/annotatio... | cwrc/CWRC-ccm-rest-api | scripts/cwrc-api.js | JavaScript | gpl-3.0 | 5,969 |
angular.module('resource', ['ngResource', 'app'])
// service for Items
.factory('Item', ['$http', '$resource', 'HostSvc', function($http, $resource, HostSvc) {
/*
Item is an Object in IPFS terms
For a context, the Item stores the following
{
"Data": ...name of context,
"Links": [
{"Name": ...page name, "Hash... | jamescarlyle/ipfs-wiki | js/resource.js | JavaScript | gpl-3.0 | 1,173 |
function remoteMathService(cb) {
var one, two;
//queue our promises to resolve after they actually execute
Promise.all([callOneService,callTwoService]).then(responses => {
one = responses[0];
two = responses[1];
//maintained the existing logic with the callback
return cb(undefined, one + two);
}, function(e... | JoshuaDEdwards/RHStuff | Exercise1/remoteMathService.js | JavaScript | gpl-3.0 | 1,181 |
var FitoTab = Class.create();
FitoTab.prototype = {
element: null,
options: {},
trs: [],
bgcolors: [],
choosed_colors: [],
allchecked: false,
initialize: function(element) {
var element = $(element);
try
{
var options = {
element: element,
hoverColor: '#FFFFCC',
selectedColor: '#F... | DicsyDel/epp-drs | app/www/js/class.Tweaker.js | JavaScript | gpl-3.0 | 5,605 |
$(document).ready(function(){
"use strict";
/* Global Variables */
var window_w = $(window).width(); // Window Width
var window_h = $(window).height(); // Window Height
var window_s = $(window).scrollTop(); // Window Scroll Top
var $html = $('html'); // HTML
var $body = $('body'); // Body
var $header = $('... | hassiumsoft/hasscms-app | themes/candidate/media/js/script.js | JavaScript | gpl-3.0 | 30,554 |
/*
The frontend for Code for Hampton Roads' Open Health Inspection Data.
Copyright (C) 2014 Code for Hampton Roads 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 Foundat... | 0111001101111010/open-health-inspection-app | dist/production.js | JavaScript | gpl-3.0 | 18,429 |
/*
Copyright Jesus Perez <jesusprubio gmail com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This ... | firebitsbr/bluebox-ng | modules/voipCredentials.js | JavaScript | gpl-3.0 | 1,058 |
$(document).ready(function(){
$("#slidetopcontentShower").click(function() {
$("#slidetopcontent").slideToggle();
$(this).toggleClass("showed");
});
}); | desarrollosimagos/puroextremo.com.ve | modules/slidetopcontent/slidetopcontent.js | JavaScript | gpl-3.0 | 166 |
// Called each time there's new content
window.tweak_content=function() {
$('a:not(.internal-link, .anchor-link)').attr('target','_blank');
}
// The "OnLoad"
$(function() {
$.manageAjax.create('flocks',{queue:true});
$('.flashes li').each(function() {
$(this).prepend($('<a/>').attr('href','#').cli... | dotandimet/Flocks | static/flocks.js | JavaScript | gpl-3.0 | 4,441 |
import React, { Component } from 'react';
import BottomPart from '../../planting/BottomPart';
import Article from '../../planting/customPlantPage/Article';
import ArticleDesc from '../../planting/customPlantPage/ArticleDesc';
import ButtonBar from './ButtonBar';
export default class PlantCustom extends Component {
c... | Dica-Developer/weplantaforest | ui/src/js/project/planting/PlantCustom.js | JavaScript | gpl-3.0 | 2,208 |
/**
* Implementa el método fecha() que devuelva una fecha válida. Lanzará una excepción en caso contrario.
* @author Jesús Mejías Leiva
*/
{
function init() {
try {
date();
} catch (e) {
console.log(e.message);
}
}
// creo mi exception personalizada
let dateNotValid = function(msg, n... | susomejias/susomejias.github.io | ejercicios/tema3/listadoDate/ejercicio5/js/main.js | JavaScript | gpl-3.0 | 815 |
/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
var gTestfile = 'regress-43... | mozilla/rhino | testsrc/tests/js1_5/extensions/regress-435345-01.js | JavaScript | mpl-2.0 | 2,222 |
dojo.provide("dojox.layout.ContentPane");
dojo.require("dijit.layout.ContentPane");
dojo.require("dojox.html._base");
dojo.declare("dojox.layout.ContentPane", dijit.layout.ContentPane, {
// summary:
// An extended version of dijit.layout.ContentPane.
// Supports infile scripts and external ones declared... | ThesisPlanet/EducationPlatform | src/public/js/libs/dojox/layout/ContentPane.js | JavaScript | mpl-2.0 | 3,743 |
const path = require('path');
const webpack = require('webpack');
const fs = require('fs');
const merge = require('webpack-merge');
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
const base = require('./base.config');
module.exports = merge(base, {
cache: true,
entry: {
index: ['whatwg-fetch'],
},
m... | byte-foundry/prototypo | prod.config.js | JavaScript | mpl-2.0 | 1,324 |
initSidebarItems({"mod":[["jar","A cookie jar implementation for storing a set of cookies."]],"struct":[["AttrVal",""],["Cookie",""],["CookieJar","A jar of cookies for managing a session"]]}); | susaing/doc.servo.org | cookie/sidebar-items.js | JavaScript | mpl-2.0 | 192 |
/* @flow */
import {Writable as WritableStream} from 'stream';
import bunyan from 'bunyan';
import sinon from 'sinon';
import {it, describe} from 'mocha';
import {assert} from 'chai';
import {createLogger, ConsoleStream} from '../../../src/util/logger';
describe('logger', () => {
describe('createLogger', () => ... | rpl/web-ext | tests/unit/test-util/test.logger.js | JavaScript | mpl-2.0 | 5,702 |
var searchData=
[
['initialise_2eh',['initialise.h',['../initialise_8h.html',1,'']]],
['items',['items',['../structsxbp__co__ord__array__t.html#a32095c91b499cfcbaacdb250f45862b1',1,'sxbp_co_ord_array_t']]]
];
| saxbophone/libsxbp | docs/search/all_4.js | JavaScript | mpl-2.0 | 213 |
describe('aria.requiredOwned', function() {
'use strict';
afterEach(function() {
axe.reset();
});
it('should returned the context property for the proper role', function() {
axe.configure({
standards: {
ariaRoles: {
cats: {
requiredOwned: ['yes']
}
... | dequelabs/axe-core | test/commons/aria/required-owned.js | JavaScript | mpl-2.0 | 1,240 |
var searchData=
[
['le_5farg_5fgetarg',['le_arg_GetArg',['../le__args_8h.html#a89b9e1ffd1401e17ceb818f3293db335',1,'le_args.h']]],
['le_5farg_5fgetprogramname',['le_arg_GetProgramName',['../le__args_8h.html#a17fbb5b46697adea82b4dd1e51d35ada',1,'le_args.h']]],
['le_5farg_5fnumargs',['le_arg_NumArgs',['../le__args_... | legatoproject/legato-docs | 14_04_1/search/functions_6c.js | JavaScript | mpl-2.0 | 98,371 |
/*global sinon, assert, suite, setup, teardown, test */
suite('test-utils', function() {
'use strict';
var utils = window['test-utils'];
setup(function() {
this.sinon = sinon.sandbox.create();
this.dom = document.createElement('div');
document.body.appendChild(this.dom);
});
teardown(function()... | yzen/test-utils | test/test.js | JavaScript | mpl-2.0 | 1,376 |
let _ = function (type, props, children) {
let elem = null;
if (type === "text") {
return document.createTextNode(props);
} else {
elem = document.createElement(type);
}
for (let n in props) {
if (n === "style") {
for (let x in props.style) {
... | esterTion/Youku-HTML5-Player | src/dom_gen.js | JavaScript | mpl-2.0 | 1,715 |
// Localization
module.exports = function localizationInitializer() {
var i18n = require('../extensions/i18n-namespace')
, i18nConfiguration = {
defaultLocale : 'en',
locales:['en', 'fr'],
directory: __dirname + '/../../app/locales/',
updateFiles: false,
cookie: 'lang'
};
// lambda ... | alloplastic/Choreo | config/initializers/02_localization.js | JavaScript | mpl-2.0 | 639 |
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
// Tests changing viewport DPR
const TEST_URL = "data:text/html;charset=utf-8,DPR list test";
const DEFAULT_DPPX = window.devicePixelRatio;
const VIEWPORT_DPPX = DEFAULT_DPPX + 2;
const Types = requi... | Yukarumya/Yukarum-Redfoxes | devtools/client/responsive.html/test/browser/browser_dpr_change.js | JavaScript | mpl-2.0 | 4,425 |
import React from 'react';
import PropTypes from 'prop-types';
import logo from '../img/ff-logo.png';
const DevHomework = props => (
<div className="homework">
<div className="container">
<img className="homework__logo" alt="Firefox Logo" src={logo} />
<h2 className="homework__title">{props.title}</... | MozillaDevelopers/playground | src/components/layout/DevHomework.js | JavaScript | mpl-2.0 | 551 |
angular.module('moviematch.movieinput', [])
.controller('MovieInputController', function($scope, $http, $location, Session, RequestFactory, $uibModalInstance) {
$scope.movieTitle = "";
$scope.searchResults;
$scope.movieChoices = [];
$scope.error;
// Get movies and assigns them to $scope.searchResults
$sco... | CantillatingZygote/rubiginouschanticleer | client/app/movieinput/movieinput.js | JavaScript | mpl-2.0 | 2,622 |
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
/* vim: set ft=javascript ts=2 et sw=2 tw=80: */
/* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/ */
// Test that makes sure web console eval happens in the user-selected stackframe
// from the js debugger.
... | Yukarumya/Yukarum-Redfoxes | devtools/client/webconsole/test/browser_eval_in_debugger_stackframe.js | JavaScript | mpl-2.0 | 4,652 |