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
import DS from 'ember-data'; export default DS.Model.extend({ proposal: DS.belongsTo('proposal'), voted: DS.attr('boolean') });
muesli/polly
app/app/models/vote.js
JavaScript
agpl-3.0
137
/* Name: RssChannel Description: Represents and RSS 2.0 channel as JavaScript object Requires: Provides: Part of: ProcessPuzzle Browser UI, Back-end agnostic, desktop like, highly configurable, browser font-end, based on MochaUI and MooTools. http://www.processpuzzle.com Authors: - Zsolt Zsuffa...
ZsZs/ProcessPuzzleUI
Implementation/WebTier/WebContent/JavaScript/Source/NewsReaderWidget/RssChannel.js
JavaScript
agpl-3.0
8,033
/** * Adds mobile navigation at responsive breakpoint * NOTE additional script and style tags must be included. * * <script src="../BookReader/mmenu/dist/js/jquery.mmenu.min.js"></script> * <script src="../BookReader/mmenu/dist/addons/navbars/jquery.mmenu.navbars.min.js"></script> * <link rel="stylesheet" href="....
nikolas/bookreader
BookReader/plugins/plugin.mobile_nav.js
JavaScript
agpl-3.0
7,572
function (value) { if(value && (value.date == null)) { return null; } return value; }
ChiweenieDijon/noonian-sys
noonian_pkg/FieldType/relative_duration.[to_db].9JdLDyJxStK3LCtyYHELRA.js
JavaScript
agpl-3.0
105
OC.L10N.register( "oauth2", { "OAuth 2.0 clients" : "OAuth 2.0 klienti", "OAuth 2.0 allows external services to request access to %s." : "OAuth 2.0 umožňuje cizím službám žádat přístup k %s.", "Name" : "Název", "Redirection URI" : "URL pro přesměrování", "Client Identifier" : "Identifikátor ...
michaelletzgus/nextcloud-server
apps/oauth2/l10n/cs.js
JavaScript
agpl-3.0
497
/* * Electronic Logistics Management Information System (eLMIS) is a supply chain management system for health commodities in a developing country setting. * * Copyright (C) 2015 John Snow, Inc (JSI). This program was produced for the U.S. Agency for International Development (USAID). It was prepared under the USAI...
USAID-DELIVER-PROJECT/elmis
modules/openlmis-web/src/main/webapp/public/js/reports/shared/directives/filters.js
JavaScript
agpl-3.0
92,967
var domain = window.location.protocol + '//' + window.location.hostname; var logo = document.getElementById("logopng"); var favicon = document.getElementById('favicon'); if(logo && favicon){ logo.setAttribute('src', domain + logo.getAttribute('src')); favicon.setAttribute('href', domai...
mikolajs/osp
src/main/webapp/jquery/logoandfavicon.js
JavaScript
agpl-3.0
363
/* * File: app/store/LevelEntity.js * * This file was generated by Sencha Architect version 3.2.0. * http://www.sencha.com/products/architect/ * * This file requires use of the Ext JS 5.1.x library, under independent license. * License of Sencha Architect does not include license for Ext JS 5.1.x. For more * de...
atglab/gframework
Gframwork/public/ManagerBeta/app/store/LevelEntity.js
JavaScript
agpl-3.0
877
import commondrf from './commondrf'; export default class Plan extends commondrf { _buildURL(modelName, id) { const baseurl = `${this.get('namespace')}/organizations/${this.get('organization').selected.id}/plans/`; if (id) { return this.buildURLFromBase(`${baseurl}/${encodeURIComponent(id)}`); } ...
appknox/irene
app/adapters/plan.js
JavaScript
agpl-3.0
368
(function() { 'use strict'; angular.module('app.components') .filter('filterLabel', filterLabel); function filterLabel() { return function(input, targetLabel) { if(targetLabel === undefined) { return input; } if(input) { return _.filter(input, function(e...
OrganicityEu-Platform/organicity-urban-data-observatory
src/app/core/filters/filterLabel.filter.js
JavaScript
agpl-3.0
731
import {BuildCompareController} from './controllers/build_compare.js' import {attach_select2} from './attach_select2.js' import {Config as appConfig} from './config.js' var app = angular.module('BuildCompare', []); appConfig(app, ['httpProvider']); app.factory('attach_select2', ['$http', attach_select2]); app.contr...
Linaro/squad
squad/frontend/static/squad/build_compare.js
JavaScript
agpl-3.0
448
import React from 'react'; import SPELLS from 'common/SPELLS'; import SpellLink from 'common/SpellLink'; import SpellIcon from 'common/SpellIcon'; import Wrapper from 'common/Wrapper'; import { formatMilliseconds, formatPercentage } from 'common/format'; import StatisticBox, { STATISTIC_ORDER } from 'Main/StatisticBox'...
enragednuke/WoWAnalyzer
src/Parser/Mage/Fire/Modules/Features/HeatingUp.js
JavaScript
agpl-3.0
7,110
/* * * (c) Copyright Ascensio System SIA 2010-2019 * * 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 AGPL it...
ONLYOFFICE/web-apps
apps/spreadsheeteditor/main/app/view/Toolbar.js
JavaScript
agpl-3.0
156,549
function (expressionValue, testValue) { var expId = expressionValue; var testId = testValue; if(expressionValue && expressionValue._id) expId = expressionValue._id; if(testValue && testValue._id) testId = testValue._id; return expId === testId; }
ChiweenieDijon/noonian-sys
noonian_pkg/QueryOp/$eq.[evaluate].X0qnD1lBQUy1B_7v2gOAdg.js
JavaScript
agpl-3.0
296
// DOM // === // Imports. import DOMDispatch from './dispatch'; import DOMForget from './forget'; import DOMListen from './listen'; import DOMRoot from './root'; // Event exports. export * from './event'; // Named exports. export { DOMDispatch, DOMForget, DOMListen, DOMRoot, };
marrus-sh/mastodon-go
DOM/index.js
JavaScript
agpl-3.0
295
/* Copyright (C) 2016 andrea rota <a@xelera.eu> This file is part of Pattrn - http://pattrn.co/. Pattrn 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)...
hotzeplotz/pattrn
src/js/pattrn-default-settings.js
JavaScript
agpl-3.0
1,419
/** * mediawiki.client has some convenience functions for user agent checks * * TODO this should be combined with or bootstrap jquery.client.js */ (function (mw) { var userAgent = navigator.userAgent; mw.isMobileDevice = function () { return ( mw.isIphone() || mw.isIpod() || mw.isIpad() || mw.isAndroid() || m...
bordar/mwEmbed
modules/MwEmbedSupport/mediawiki/mediawiki.client.js
JavaScript
agpl-3.0
11,297
/** * Editor.js * Document Editor * * Created by Alexander Yuzhin on 9/22/16 * Copyright (c) 2016 Ascensio System SIA. All rights reserved. * */ define([ 'text!documenteditor/mobile/app/template/Editor.template', 'jquery', 'underscore', 'backbone' ], function (editorTemplate, $, _, Backbone...
ayuzhin/web-apps
apps/documenteditor/mobile/app/view/Editor.js
JavaScript
agpl-3.0
1,092
//= require jquery.timeago.js //= require tinymce var dirty = {}; $( document ).ready(function() { //reload page back to where it was before committing comment if($('#comment_section_id').length) { var section_id = $('#comment_section_id').val(); $("#collapse-" + section_...
DigitalCurationCentre/DMPonline_v4
app/assets/javascripts/plans.js
JavaScript
agpl-3.0
19,461
/* * eyeos - The Open Source Cloud's Web Desktop * Version 2.0 * Copyright (C) 2007 - 2010 eyeos Team * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 as publis...
Seldaiendil/meyeOS
eyeos/apps/documents/libs/file.js
JavaScript
agpl-3.0
11,055
import { createSelector } from 'reselect'; import { List as ImmutableList } from 'immutable'; const getAccountBase = (state, id) => state.getIn(['accounts', id], null); const getAccountCounters = (state, id) => state.getIn(['accounts_counters', id], null); const getAccountRelationship = (state, id) => stat...
ambition-vietnam/mastodon
app/javascript/mastodon/selectors/index.js
JavaScript
agpl-3.0
3,046
const aidesVelo = require("aides-velo") const benefits = aidesVelo() function generate_benefit_list(institutions) { const potentialInstitutions = { région: institutions.filter((i) => i.type === "region"), département: institutions.filter((i) => i.type === "departement"), epci: institutions.filter((i) => ...
sgmap/mes-aides-ui
data/benefits/aides-velo-generator.js
JavaScript
agpl-3.0
1,716
(function (mw, $, kWidget) { "use strict"; mw.PluginManager.add('streamSelector', mw.KBaseComponent.extend({ defaultConfig: { "parent": "controlsContainer", "order": 61, "displayImportance": 'low', "align": "right", "showTooltip": true, "hideWhenEmpty": true, "labelWidthPercentage": 33, "d...
kaltura/mwEmbed
modules/KalturaSupport/components/streamSelector.js
JavaScript
agpl-3.0
13,758
export const ICON_SIZE = { inner: undefined, outer: 'm' }; export const ANIMATION_PROPERTIES = { className: 'navigation-item__content-wrapper', component: 'div', transitionName: 'navigation-item--transition', transitionEnter: true, transitionLeave: true, transitionEnterTimeout: 250, transitionLeaveTimeou...
Lokiedu/libertysoil-site
src/components/navigation-item/common.js
JavaScript
agpl-3.0
330
function urlToHREF(text) { var exp = /(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig; if (text.search('href')==-1){ // ignore text that is probably already html formatted return text.replace(exp,"<a href='$1' target=\"_blank\">$1</a>"); } else { return text } } function gr...
lrvick/tawlk-old
static/js/kralit.js
JavaScript
agpl-3.0
9,805
/** * @license AngularJS v1.4.0-build.3807+sha.b3a9bd3 * (c) 2010-2015 Google, Inc. http://angularjs.org * License: MIT */ (function(window, angular, undefined) {'use strict'; /* jshint maxlen: false */ /** * @ngdoc module * @name ngAnimate * @description * * The `ngAnimate` module provides support for JavaS...
Xefir/news
js/vendor/angular-animate/angular-animate.js
JavaScript
agpl-3.0
104,270
import styled from 'styled-components' import media from 'app/styleguide/media' export const PageContent = styled.div` padding: 0 0 0 0; ${media.phone` padding: 1rem; `} ` export const Page = styled.div` outline: 1px solid red; overflow-x: hidden; `
worknenjoy/gitpay
frontend/src/styleguide/components/Page.js
JavaScript
agpl-3.0
267
module.exports.unempty = function unempty(o, deleteKeys) { if ( Array.isArray(o) || typeof o == 'object' ) { for ( key in o ) { if ( deleteKeys && deleteKeys.indexOf(key) >= 0 ) { delete o[key]; continue; } // only recursively unempty arrays and objects if ( Array.isArray(o[key]) || typeof o[key]...
jdub/denby
lib/utility.js
JavaScript
agpl-3.0
692
import CoreCombatLogParser from 'parser/core/CombatLogParser'; import RakeBleed from './normalizers/RakeBleed'; import ComboPointsFromAoE from './normalizers/ComboPointsFromAoE'; import BleedDebuffEvents from './normalizers/BleedDebuffEvents'; import Abilities from './modules/Abilities'; import Buffs from './modules/...
yajinni/WoWAnalyzer
analysis/druidferal/src/CombatLogParser.js
JavaScript
agpl-3.0
3,373
/* * DealPort * Copyright (c) 2014 DealPort B.V. * * This file is part of DealPort * * DealPort is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, version 3 of the License. * * DealPort is distr...
cuongvc/dealport
lib/view/editing/EditableTextEnumeration.js
JavaScript
agpl-3.0
9,715
if(!dojo._hasResource["dojox.grid._data.editors"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. dojo._hasResource["dojox.grid._data.editors"] = true; dojo.provide("dojox.grid._data.editors"); dojo.provide("dojox.grid.editors"); dojo.declare("dojox.grid.editors.Base", null, { /...
235/gwt-odb-ui
src/net/pleso/odbui/public/js/dojo-release-1.0.2/dojox/grid/_data/editors.js
JavaScript
agpl-3.0
7,054
import * as XP from 'xod-project'; import { getSwaggerClient, swaggerError } from './utils'; import { createLibUri, toString, toStringWithoutTag } from './lib-uri'; const packLibVersion = project => ({ libname: XP.getProjectName(project), version: { description: XP.getProjectDescription(project), folder: ...
xodio/xod
packages/xod-pm/src/publish.js
JavaScript
agpl-3.0
2,276
const callRawFnWithArgs = function(fn) { const inputs = Array.prototype.slice.call(arguments, 1); if (inputs.length) { return `${fn}.call(self, ${inputs.join(', ')}, DEFAULT_CONTEXT)`; } return `${fn}.call(self, DEFAULT_CONTEXT)`; }; const callFnWithArgs = function(fn) { arguments[0] = `__E...
NetsBlox/Snap2Js
src/backend/javascript-helpers.js
JavaScript
agpl-3.0
584
/* Copyright 2012 Canonical Ltd. This software is licensed under the * GNU Affero General Public License version 3 (see the file LICENSE). */ YUI.add('lp.bugs.subscription.test', function (Y) { var module = Y.lp.bugs.subscription; var reduction_ids = [module._action_ids.mute, module._act...
abramhindle/UnnaturalCodeFork
python/testdata/launchpad/lib/lp/bugs/javascript/tests/test_subscription.js
JavaScript
agpl-3.0
112,576
{ "metadata" : { "formatVersion" : 3.1, "sourceFile" : "Horsemen.obj", "generatedBy" : "OBJConverter", "vertices" : 5582, "faces" : 5189, "normals" : 5240, "uvs" : 0, "materials" : 9 }, "materials": [...
adaxi/freeciv-web
freeciv-web/src/main/webapp/3d-models/Horsemen.js
JavaScript
agpl-3.0
2,575
/** * This file is part of Shoop. * * Copyright (c) 2012-2015, Shoop Ltd. All rights reserved. * * This source code is licensed under the AGPLv3 license found in the * LICENSE file in the root directory of this source tree. */ const m = require("mithril"); const _ = require("lodash"); const remote = require("./...
lawzou/shoop
shoop/admin/modules/media/static_src/media/browser/FileUpload.js
JavaScript
agpl-3.0
4,690
/** * Copyright (C) 2015 Deco Software Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be...
alexzherdev/deco-ide
web/src/scripts/actions/dialogActions.js
JavaScript
agpl-3.0
2,005
var clover = new Object(); // JSON: {classes : [{name, id, sl, el, methods : [{sl, el}, ...]}, ...]} clover.pageData = {"classes":[{"el":191,"id":238026,"methods":[{"el":95,"sc":2,"sl":64},{"el":107,"sc":2,"sl":104},{"el":119,"sc":2,"sl":116},{"el":132,"sc":2,"sl":129},{"el":144,"sc":2,"sl":141},{"el":161,"sc":2,"sl"...
cm-is-dog/rapidminer-studio-core
report/html/com/rapidminer/tools/expression/ExpressionParserBuilder.js
JavaScript
agpl-3.0
1,399
import { useBackend } from '../backend'; import { Button, LabeledList, NumberInput, Section } from '../components'; import { Window } from '../layouts'; export const AtmosPump = (props, context) => { const { act, data } = useBackend(context); return ( <Window> <Window.Content> <Section> ...
TheVekter/-tg-station
tgui/packages/tgui/interfaces/AtmosPump.js
JavaScript
agpl-3.0
2,242
import SPELLS from 'common/SPELLS'; import { EarlyFinish, incomingDamage, SimpleFight } from 'parser/monk/brewmaster/test-fixtures/SimpleFight'; import TestCombatLogParser from 'parser/core/tests/TestCombatLogParser'; import EventEmitter from 'parser/core/modules/EventEmitter'; import StaggerFabricator from './Stagger...
FaideWW/WoWAnalyzer
src/parser/monk/brewmaster/modules/core/Stagger.test.js
JavaScript
agpl-3.0
2,287
'use strict'; require('dumonda-me-server-lib').init('emailService'); require('chai').should(); const dbConfig = require('dumonda-me-server-lib').databaseConfig; const dumondaMeTestUtil = require('dumonda-me-server-test-util'); dumondaMeTestUtil.init(require('dumonda-me-server-lib')); const logger = require('dumonda-...
Elyoos/Elyoos
eMailService/test/initSpec.js
JavaScript
agpl-3.0
1,112
/* This program 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. This program is distributed in the hope that it will be useful, but W...
installgen2/cuckbot
modules/money.js
JavaScript
agpl-3.0
3,541
window.initDatamanager = function (genetic_profile_ids, oql_query, cancer_study_ids, study_sample_map, z_score_threshold, rppa_score_threshold, case_set_properties) { var signOfDiff = function(a,b) { if (a < b) { return -1; } else if (a > b) { return 1; } else { return 0; } }; var ...
yichaoS/cbioportal
portal/src/main/webapp/js/api/cbioportal-datamanager.js
JavaScript
agpl-3.0
78,011
import * as CM from 'complex-matcher' import _ from 'intl' import Copiable from 'copiable' import Icon from 'icon' import map from 'lodash/map' import React from 'react' import store from 'store' import HomeTags from 'home-tags' import { addTag, removeTag } from 'xo' import { BlockLink } from 'link' import { Container,...
vatesfr/xo-web
packages/xo-web/src/xo-app/host/tab-general.js
JavaScript
agpl-3.0
5,225
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Set to true when the Document is loaded IFF "test=true" is in the query // string. var isTest = false; // Set to true when loading a "Release" NaC...
h2so5/kuadro
public/js/common.js
JavaScript
agpl-3.0
16,125
/* * Copyright (c) 2013, Ford Motor Company 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 condition...
Luxoft/SDLP2
SDL_Core/src/components/HMI/app/model/sdl/AppModel.js
JavaScript
lgpl-2.1
11,227
/*=================================================================================================================== * Here, the script need *nodeJS* and *gulp* to run. * * This script is for building iUI library from its partials sources; For that, the following operations can be done: * watching partials source...
tnga/lib.iui
gulpfile.js
JavaScript
lgpl-2.1
3,166
/* * This file is part of Cockpit. * * Copyright (C) 2017 Red Hat, Inc. * * Cockpit is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any l...
cockpit-project/cockpit
pkg/lib/python.js
JavaScript
lgpl-2.1
1,218
/* Autogenerated with Kurento Idl */ /* * (C) Copyright 2013-2014 Kurento (http://kurento.org/) * * 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 availa...
Phenelo/proj-kms-n-to-n
node_modules/kurento-client/node_modules/kurento-client-filters/lib/GStreamerFilter.js
JavaScript
lgpl-2.1
2,306
/* * SonarQube * Copyright (C) 2009-2017 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License, o...
lbndev/sonarqube
server/sonar-web/src/main/js/apps/coding-rules/rule/profile-activation-view.js
JavaScript
lgpl-3.0
5,579
"use strict"; var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault"); var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property"); _Object$defineProperty(exports, "__esModule", { value: true }); exports.default = get; var _typeof2 = _...
Aymkdn/SharepointPlus
dist/lists/get.js
JavaScript
lgpl-3.0
67,579
/** * Flowplayer Accessible Controls - A plugin for Flowplayer * This is part of ZAD Accessible Player - An extension for Contao CMS * * @package zad_aplayer * @author Antonello Dessì * @license LGPL * @copyright Antonello Dessì 2011-2013 */ //---------- FLOWPLAYER PLUGIN ----------// $f.addPlugin('ac...
trinko/contao-zad_aplayer
assets/flowplayer.accessible_controls.js
JavaScript
lgpl-3.0
23,940
/** * Manages the execution of tests. * * @module greppy/helper/test/manager * @author Nabil Krause <nabil.krause@silberlicht.eu> */ var MetaLoader = require('./loader/meta'); var PlainLoader = require('./loader/plain'); var PathHelper = require('../../lib/helper/path'); /** * @constructor * * @param {Objec...
Jack12816/greppy
tests/helper/manager.js
JavaScript
lgpl-3.0
4,146
/** * Desc * @description Hope You Do Good But Not Evil * @copyright Copyright 2014-2015 <ycchen@iwshop.cn> * @license LGPL (http://www.gnu.org/licenses/lgpl.html) * @author Chenyong Cai <ycchen@iwshop.cn> * @package Wshop * @link http://www.iwshop.cn */ var priceHashId = 0; require(['co...
mentallxm/iwshop
static/script/Wshop/shop_vproductlist.js
JavaScript
lgpl-3.0
4,860
"use strict"; var wire = require("wire"); module.exports = { "wire integration": function(test){ var spec = { testInstance:{create: './classes/TestClass'}, plugins: [//{module: "wire/debug", trace: true}, {module:'../wire'}] }; wire(spec, {require:require}).then(function(ctx){ ...
psychomantys/diceroller-js
www/thirdparty/yaap/yaap/test/wire.js
JavaScript
lgpl-3.0
2,421
$(function(){ bannerclick(); cases(); qqTlack(); newsNotice(); success(); product(); package(); }) //幻灯 function bannerclick(){ var num = 0; //定时 var time = setInterval(function(){ num++; if (num > 2) { num = 0; } margin(num); $('.bannerdiv ul li').removeClass("active") .eq(num).addClass("acti...
bingblue/parttime
3.私活任务/16已成往事/5iuse 官网/5iuse 官网/js/js.js
JavaScript
lgpl-3.0
3,211
/* showorhide.js - create elements that you can show or hide by clicking a link. USAGE: a. Include this library in your HTML head: <script src='[PATH]/showorhide.js'></script> b. Define HTML elements that you want to be shown or hidden, such as: <div class='showorhide'> <a>show or hide [or any other text ...
erelsgl/erel-sites
_script/showorhide.js
JavaScript
lgpl-3.0
4,006
// Karma configuration // Generated on Thu Aug 21 2014 10:24:39 GMT+0200 (CEST) module.exports = function(config) { config.set({ // base path that will be used to resolve all patterns (eg. files, exclude) basePath: '', // frameworks to use // available frameworks: https://npmjs.org/browse/keyword/...
superdesk/angular-embed
karma-dist-minified.conf.js
JavaScript
lgpl-3.0
2,056
var structshyft_1_1core_1_1pt__gs__k_1_1response = [ [ "ae_response_t", "structshyft_1_1core_1_1pt__gs__k_1_1response.html#a9528d4c6f4dc53b7e343515126fa786c", null ], [ "gs_response_t", "structshyft_1_1core_1_1pt__gs__k_1_1response.html#a86e5381b4b2ff48782a299abc32f9e04", null ], [ "kirchner_response_t", "s...
statkraft/shyft-doc
core/html/structshyft_1_1core_1_1pt__gs__k_1_1response.js
JavaScript
lgpl-3.0
1,317
var searchData= [ ['k',['K',['../structnum_1_1dimval__base.html#a0af90902ba033b72c098e446a4a545b2',1,'num::dimval_base::K()'],['../namespacenum_1_1u.html#a5d1fb260d358aa9eadb3aa3a5192f4bf',1,'num::u::K()']]], ['kg',['kg',['../structnum_1_1dimval__base.html#a7e0f2ec0053d053a880b45e937e9e559',1,'num::dimval_base::kg(...
tevaughan/numeric
docs/doxygen-html/search/variables_a.js
JavaScript
lgpl-3.0
596
/* Variety: A MongoDB Schema Analyzer This tool helps you get a sense of your application's schema, as well as any outliers to that schema. Particularly useful when you inherit a codebase with data dump and want to quickly learn how the data's structured. Also useful for finding rare keys. Please see https://githu...
Bedrock-py/bedrock-core
src/bedrock/dataloader/variety.js
JavaScript
lgpl-3.0
9,094
/** * This is a function to create a cjaf child namespace. Optionally you can * give this function the item that should fill that namespace as the second * parameter. */ /** JSLint Declarations */ /*global jQuery: false, cjaf: false*/ (function ($, cjaf) { cjaf.define('cjaf/namespace', [], function () { cjaf...
Kapinko/CJAF
cjaf/namespace.js
JavaScript
lgpl-3.0
966
'use strict'; var FS = require('fs'); var expect = require('chai').expect; var process = require('child_process'); var neb = './neb'; var newAccount; function countSubstr(str, substr) { var reg = new RegExp(substr, "g"); return str.match(reg) ? str.match(reg).length : 0;//若match返回不为null,则结果为true,输出match返回的数组...
nebulasio/go-nebulas
nebtestkit/cases/command/config.test.js
JavaScript
lgpl-3.0
2,152
/* * Copyright (C) 2008 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...
Ashod/WikiDesk
3rdParty/WebKit.Net/WebKit.resources/inspector/Script.js
JavaScript
lgpl-3.0
2,915
var structshyft_1_1api_1_1hbv__snow__cell__state__statistics = [ [ "hbv_snow_cell_state_statistics", "structshyft_1_1api_1_1hbv__snow__cell__state__statistics.html#a89cd37da5b1f243091046d876740af01", null ], [ "sca", "structshyft_1_1api_1_1hbv__snow__cell__state__statistics.html#a8faaf89e569cd449d1627b7c49ad3df...
statkraft/shyft-doc
core/html/structshyft_1_1api_1_1hbv__snow__cell__state__statistics.js
JavaScript
lgpl-3.0
1,067
mycallback( {"_record_type": "fec.version.v7_0.TEXT", "FILER COMMITTEE ID NUMBER": "C00461061", "REC TYPE": "TEXT", "TEXT4000": "Earmarked through ActBlue", "TRANSACTION ID NUMBER": "TIDTA568", "_src_file": "2011/20110504/727407.fec_5.yml", "BACK REFERENCE TRAN ID NUMBER": "IDTA568", "BACK REFERENCE SCHED / FORM NAME":...
h4ck3rm1k3/federal-election-commission-aggregation-json-2011
objects/2f/5e83a766a324168da84029b4278d9c3024b11d.js
JavaScript
unlicense
333
'use strict' var SHORT_DELAY = 1000 // 1s var LONG_DELAY = 60 * 1000 // 1min var QUICK_RETRY_PERIOD = 60 * 1000 // 120s var emit = null var requestEncoders = { json: JSON, queryString: require('querystring') } var protocols = { http: require('http'), https: require('https') } var firstFailedRequestTs = nul...
evan82/lamassu-machine
lib/jsonquest.js
JavaScript
unlicense
3,790
/* * * INSPINIA - Responsive Admin Theme * version 2.7 * */ $(document).ready(function () { // Add body-small class if window less than 768px if ($(this).width() < 769) { $('body').addClass('body-small') } else { $('body').removeClass('body-small') } // MetsiMenu $...
quocthuanth92/Distributor
Core/SalesManagement/wwwroot/js/script.js
JavaScript
unlicense
8,252
var XorShift=function(_w,_x,_y,_z){ var x,y,z,w; this.seeds={}; this.randCount=0; w=_w!==undefined? _w: new Date().getTime(); x=_x!==undefined? _x: w<<13; y=_y!==undefined? _y: (w>>>9)^(x<<6); z=_z!==undefined? _z: y>>>7; this.seeds={x:x>>>0,y:y>>>0,z:z>>>0,w:w>>>0}; this.rand=function(){ this.randCount=0|...
yosgspec/XorShift128-on-8languages
JavaScriptES3/XorShift.js
JavaScript
unlicense
1,195
var htmlparser = require('htmlparser2'); function makeFeatureCollection() { return { type: 'FeatureCollection', features: [] }; } function makeFeature() { return { type: 'Feature', properties: {}, geometry: null }; } function stream() { var collection = ma...
tmcw/twogeojson
lib/kml.js
JavaScript
unlicense
1,503
define(['directives/directives'],function(directives){ directives.directive('isNum',['$rootScope','$location',function($rootScope,$location){ return { restrict: "A", require: "ngModel", link: function(scope,element,attrs,ctrl){ element.bind('keypress',function(e){ var k = window.event ? e....
muyingzhi/ehrOffline
app/scripts/directives/isNum.js
JavaScript
unlicense
678
import React from 'react' import { connect } from 'react-redux' import { ModalSwitcher, openModal } from 'react-redux-simple-modal' import { ExampleModal, OtherExampleModal } from './modals' import { EXAMPLE_MODAL, OTHER_EXAMPLE_MODAL } from './modals/constants' const ExamplePage = ({ openModal }) => ( <div classNa...
sebinsua/react-redux-simple-modal
example/src/App.js
JavaScript
unlicense
755
import React, { Component, PropTypes } from 'react' import MyModal from '../components/MyModal' import FieldGroup from '../components/FieldGroup' import { connect } from 'react-redux' import * as actions from '../redux/actions' const Metadata = props => { return ( <MyModal show={prop...
Imaflora/atlasagropecuario
app/containers/Metadata.js
JavaScript
unlicense
1,425
'use strict' const {prodAssets, stagingAssets} = require('./config/clientS3') const {logNotify} = require('./utils/common') const {upload} = require('./utils/upload') const uploadMode = process.argv[2] if (uploadMode === 'prod') { logNotify(`Uploading assets in ${uploadMode} mode!`) upload(prodAssets) } else ...
monolambda/monolambda
scripts/uploadAssets.js
JavaScript
unlicense
401
"use strict"; function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); __export(require("./buildFederatedSchema")); __export(require("./printFederatedSchema")); //# sourceMappingURL=index.js.map
diegopacheco/scala-playground
caliban-graphql-fun/src/main/resources/gateway/node_modules/@apollo/gateway/node_modules/@apollo/federation/dist/service/index.js
JavaScript
unlicense
297
define({ "commonMedia": { "mediaSelector": { "lblSelect1": "Imagem", "lblSelect2": "Conteúdo", "lblMap": "Mapa", "lblImage": "Imagem", "lblVideo": "Vídeo", "lblExternal": "Página web", "lblUpload": "Carregar", "lblLink": "Ligação", "disabled": "Esta funcionali...
Esri/shortlist-storytelling-template-js
src/app/storymaps/common/_resources/nls/pt-pt/media.js
JavaScript
apache-2.0
8,785
var listFavorites; var mangaRows; var storyRows; var tableView = $.bookShellTable; function setRowData(data, type) { var dataSet = []; for (var i = 0; i < data.length; i++) { data[i].bookType = type; var row = Alloy.createController('favoriteRow', {data: data[i], window: $.favoriteWindow}).getView(); dataSet.p...
markofevil3/truyenAlloy
app/controllers/favorite.js
JavaScript
apache-2.0
1,900
services.factory('SCMAdminService', ['$resource','config', function($resource, config) { return $resource(config.server + '/ad/scm', {}, { remove: { method: 'DELETE', url: config.server + '/ad/scm/:guid', params: {guid: '@guid'}, isArray: false }, create: { method: 'PUT', url: config.server + ...
lorislab/armonitor
armonitor-web/src/main/webapp/js/admin/scm/services.js
JavaScript
apache-2.0
1,626
/*jslint node: true */ 'use strict'; var _ = require('underscore'); var ImmunizationResource = require('../fhir/immunization/immunizationResource'); var fhirUtils = require('../fhir/common/utils/fhirUtils'); describe('Immunization FHIR Resource', function() { var inputValue = { 'apiVersion': '1.0', ...
KRMAssociatesInc/eHMP
rdk/product/production/rdk/jasmine-tests/fhir-immunizationResource-spec.js
JavaScript
apache-2.0
10,914
/** * Created by natalya on 9/25/2017. */ $('#carouselExample').on('slide.bs.carousel', function (e) { var $e = $(e.relatedTarget); var idx = $e.index(); var itemsPerSlide = 3; var totalItems = $('.carousel-item').length; if (idx >= totalItems-(itemsPerSlide-1)) { var it = i...
NatalyaAn/UsAdvayta
js/carousel.js
JavaScript
apache-2.0
690
import { module, test } from 'qunit'; import { run } from '@ember/runloop'; import { TestDebugInfo, backburnerDebugInfoAvailable, } from '@ember/test-helpers/-internal/debug-info'; import MockStableError, { overrideError, resetError } from './utils/mock-stable-error'; import { MockConsole, getRandomBoolean, getMock...
switchfly/ember-test-helpers
tests/unit/test-debug-info-test.js
JavaScript
apache-2.0
7,962
/** * Copyright 2016 The AMP HTML Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
Mixpo/amphtml
test/functional/test-render-delaying-services.js
JavaScript
apache-2.0
3,428
var Fractal = function (jQueryCanvasElement, data) { /// private var that = this; var maxdepth = ko.observable(6); var url = ko.observable(null); var camera = { 'zoom': 1, 'rotation': 0, 'translation': { x: 0, y: 0 } }; va...
geck1942/fractal-factory
js/fractal.js
JavaScript
apache-2.0
10,314
/** * @license Apache-2.0 * * Copyright (c) 2022 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
stdlib-js/stdlib
lib/node_modules/@stdlib/ndarray/base/transpose/benchmark/benchmark.size.uint8.js
JavaScript
apache-2.0
1,962
const errors = require('../errors'); function _matchesETag(item, contentMD5) { return (item === contentMD5 || item === '*' || item === `"${contentMD5}"`); } function _checkEtagMatch(ifETagMatch, contentMD5) { const res = { present: false, error: null }; if (ifETagMatch) { res.present = true; ...
scality/Arsenal
lib/s3middleware/validateConditionalHeaders.js
JavaScript
apache-2.0
5,222
'use strict'; angular.module('moviefanApp') .controller('AuditsController', function ($scope, $filter, AuditsService) { $scope.onChangeDate = function () { var dateFormat = 'yyyy-MM-dd'; var fromDate = $filter('date')($scope.fromDate, dateFormat); var toDate = $filter('d...
ozkangokturk/moviefan
src/main/webapp/scripts/app/admin/audits/audits.controller.js
JavaScript
apache-2.0
1,300
$(document).ready(function() { var data = $("#dimension-heat-map-data") var container = $("#dimension-heat-map-container") var filterToggle = $("#dimension-heat-map-filter") var hash = parseHashParameters(window.location.hash) if (hash['filterState']) { filterToggle.attr('state', hash['fil...
nkhuyu/pinot
thirdeye/thirdeye-dashboard/src/main/resources/assets/js/thirdeye.dimension.heatmap.js
JavaScript
apache-2.0
4,226
exports.server = "https://oauth.io"; exports.key = "b4OEhwfv-5GbP9BN4AEpUS0swv4";
jbeuckm/TiOAuthIOtest
Resources/oauthio/config.js
JavaScript
apache-2.0
82
/** * Copyright 2013-2020 the original author or authors from the JHipster project. * * This file is part of the JHipster project, see https://www.jhipster.tech/ * for more information. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the L...
duderoot/generator-jhipster
generators/kubernetes-helm/index.js
JavaScript
apache-2.0
5,420
var dir_9b77abe3d610be6dea9b629c40530bda = [ [ "AssemblyInfo.cs", "_serialization_2_x_labs_8_serialization_2_properties_2_assembly_info_8cs.html", null ] ];
XLabs/xlabs.github.io
html/dir_9b77abe3d610be6dea9b629c40530bda.js
JavaScript
apache-2.0
160
/** * Returns the dynamic state to be populated by add-user page. * * @param context Object that gets updated with the dynamic state of this page to be presented * @returns {*} A context object that returns the dynamic state of this page to be presented */ function onRequest(context) { var userModule = requir...
wso2-incubator/uuf-samples
org.wso2.iot.uuf.devicemgt/src/pages/role.edit.permission/permission.js
JavaScript
apache-2.0
731
'use strict'; /** * @ngdoc function * @name com.module.users.controller:LoginCtrl * @description Login Controller * @requires $scope * @requires $routeParams * @requires $location * Contrller for Login Page **/ angular.module('com.module.users') .controller('LoginCtrl', function ($scope, $routeParams, $locati...
Sotera/DatawakeDepot
client/app/modules/users/controllers/login.ctrl.js
JavaScript
apache-2.0
4,658
/** * Copyright 2016 IBM Corp. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
DecLudex/simple-toolchain-SocialCare
test/unit/test.express.js
JavaScript
apache-2.0
975
if (typeof biojs === 'undefined') { module.exports = biojs = {} } if (typeof biojs.io === 'undefined') { module.exports = biojs.io = {} } biojs.io.fasta = require('./src/index')
rajido/biojs2
biojs-io-fasta/browser.js
JavaScript
apache-2.0
182
'use strict' module.exports = { parse: $ => { const interests = [] $('.interests-listing > li').each(function () { interests.push($(this).text().replace(',','').trim()) }) const personalInfo = [] $('#personal-info-view > tbody > tr').each(function () { personalInfo.push({ des...
leonardiwagner/print-the-whole-internet
src/domain/profileParser/additionalInfoParser.js
JavaScript
apache-2.0
516
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
stdlib-js/stdlib
lib/node_modules/@stdlib/utils/unshift/test/test.js
JavaScript
apache-2.0
7,598
/* * Copyright (C) 2013 salesforce.com, inc. * * 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 ...
lhong375/aura
aura-components/src/main/components/ui/inputCheckbox/inputCheckboxTest.js
JavaScript
apache-2.0
5,832
'use strict'; // Declare app level module which depends on filters, and services angular.module('myApp', [ 'ngRoute', 'myApp.services', 'myApp.servicesa', 'myApp.directives', 'myApp.controllers' ]). config(['$routeProvider', '$locationProvider', function ($routeProvider, $locationProvider) { ...
wesleyhales/angular-charts
app/js/app.js
JavaScript
apache-2.0
551
(function($) { function querystring(query, l) { var Params = function() { } Params.prototype.get = function(name) { var ret = this[name]; if (ret && ret.length) { return ret[0] || null; } return null; } Params.prototype.getint = function(name) { var ret = this[name]; if (ret && ret...
jvenancio/restaurantedadiva
restaurantedadiva/war/js/jquery.querystring.js
JavaScript
apache-2.0
1,207
$(document).ready(function(){ manager = [ $('div').find( ":contains('Воробьев')" ), $('div').find( ":contains('Гусанов')" ), $('div').find( ":contains('Бяшаров')" ), $('div').find( ":contains('Ёу')" ), $('div').find( ":contains('Блохин')" ), $('div').find( ":contains('Ковалевский')" ), $('div').find( ":c...
rst7rostis/7
js/js.js
JavaScript
apache-2.0
647