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
/******************************************************************************* * This file is part of Educatio. * * Educatio 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 ...
filipemb/siesp
WebContent/WEB-INF/screen/calendariocurso/mostrarCalendariocurso.js
JavaScript
gpl-3.0
20,012
(function() { /** * @class AD.lang * @parent AD_Client */ AD.lang = {}; /** * The default language used in operations when nothing is specified. */ AD.lang.currentLanguage = 'en'; /** * @function setCurrentLanguage * Sets the default language code to be used fo...
appdevdesigns/appdev-client
labels/lang.js
JavaScript
gpl-3.0
3,734
import React from 'react'; import areaData from './areaData'; import '../../node_modules/whatwg-fetch'; let AreaSelector = React.createClass({ getInitialState: function() { return { prov: this.props.options.prov, city: this.props.options.city, county: this.props.options.county, province: '' }; }, selectProv: func...
lokiiart/upali-mobile
www/frontend/src/components/Order.js
JavaScript
gpl-3.0
8,335
// Karma configuration // Generated on Fri Apr 03 2015 19:40:32 GMT+0200 (CEST) module.exports = function(config) { config.set({ // base path, that will be used to resolve files and exclude basePath: '', // frameworks to use frameworks: ['jasmine', 'requirejs'], // list of files / patterns t...
andrel/lakkfjerner
karma.conf.js
JavaScript
gpl-3.0
1,788
(function($){ // Máscara de carregamento var CalendarMethods = { configure : function( options ) { return this.each(function(){ // Default options var defaults = { afterLoad: false, afterChange: false }; var data = $.extend( {}, defaults, options ); data.$ = $( this...
thispace/piki-pack
features/Calendar/calendar.js
JavaScript
gpl-3.0
5,083
var express = require('express'); var https = require('https'); var router = express.Router(); var config = require('../config'); var options = { host: 'api.github.com', path: '/repos/portuiu/js-edu-project/collaborators?access_token=' + config.token, // Ключ для доступа к информации port: 443, header...
portuiu/js-edu-project
controllers/about.js
JavaScript
gpl-3.0
1,135
/** * This example shows how to enable users to edit the contents of a grid. Note that cell * editing is not recommeded on keyboardless touch devices. */ Ext.define('PMDMeta.view.datacite.Subjects', { extend: 'PMDMeta.view.datacite.Grid', requires: [ 'Ext.selection.CellModel', 'Ext.grid.*',...
ulbricht/pmdmeta
app/view/datacite/Subjects.js
JavaScript
gpl-3.0
2,690
/** * SetupController * * @description :: Handle the setup process * @help :: See http://sailsjs.org/#!/documentation/concepts/Controllers */ module.exports = { // Create the dash element create: function(req, res) { // At this point a user should be created and logged in User.findOne({ ...
steventhanna/hindsite
api/controllers/SetupController.js
JavaScript
gpl-3.0
2,284
var studentSyllabusApp = angular.module('StudentSyllabusNotes', []); studentSyllabusApp.controller('StudentSyllabusNotesCtlr', function($scope, $http, $location){ $scope.baseUrl = $location.absUrl(); $scope.subjects = []; $scope.getSubject = function(){ $http.get($scope.baseUrl+'/getSub?sem='+$scope.sem).th...
h4rdik11/college-portal
assets/js/controllers/student_syllabus_notes.js
JavaScript
gpl-3.0
1,022
/** * Module Prestashop CategoriesTopMenu * * @author Prestacrea * @copyright Prestacrea * @license See PDF documentation * @website http://www.prestacrea.com */ function changeTab(name) { $('#tab_'+id_tab).removeClass('active'); $('#tab_'+name).addClass('active'); $('#content_'+id_tab).css('disp...
FranticFood/PS-Deli
modules/categoriestopmenu/views/js/admin/admin.js
JavaScript
gpl-3.0
3,137
Ext.define('Bizcuit.view.categories.CategoryModel', { extend: 'Ext.app.ViewModel', alias: 'viewmodel.categories-category', data: { name: 'Bizcuit' } });
elasticsearcher/Bizcuit
src/ui/app/view/categories/CategoryModel.js
JavaScript
gpl-3.0
178
/** * Copyright (C) 2013-2015 Regents of the University of California. * @author: Jeff Thompson <jefft0@remap.ucla.edu> * * 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 vers...
ndncomm/ndn-js
js/encoding/tlv-0_1_1-wire-format.js
JavaScript
gpl-3.0
28,495
'use strict'; var Component = require('substance/ui/Component'); var moment = require('moment'); function NoteItem() { Component.apply(this, arguments); if (!this.context.urlHelper) { throw new Error('NoteItem requires urlHelper.'); } } NoteItem.Prototype = function() { this.render = function($$) { ...
substance/notes
client/NoteItem.js
JavaScript
gpl-3.0
2,102
"use strict"; (function() { //This a wrapped dropdown element that automatically handles the particulars angular.module("firebotApp").directive("dynamicHtml", [ "$compile", function($compile) { return { restrict: "E", scope: { html...
Firebottle/Firebot
gui/app/directives/misc/dynamicHtml.js
JavaScript
gpl-3.0
957
var searchData= [ ['datecreation',['dateCreation',['../class_note.html#a05add78a3ca4d5f549db96ddb77dba71',1,'Note']]], ['datedisplayformat',['dateDisplayFormat',['../class_note.html#a8f55bdaf370fc3f1a5a568e875ad6e9e',1,'Note']]], ['datemodification',['dateModification',['../class_note.html#a4d92c5c0fffb0d408473c6...
vincebhx/LO21-PluriNotes
doc/html/search/variables_0.js
JavaScript
gpl-3.0
563
'use strict'; let test = require('tape'); let ooft = require('../src/index.js'); let f = require('../src/methods.js'); let base64Image = require('./smallImg.js'); let file = f.base64ToBlob(base64Image); let bigFile = f.base64ToBlob(require('./bigImg.js')); test('Blob being created correctly.', t => { ...
ronanyeah/ooft
test/index.js
JavaScript
gpl-3.0
1,296
angular.module('jugendstadtplan.startseite').config(['$stateProvider', function config( $stateProvider ) { $stateProvider.state( 'Startseite', { url: '/startseite', views: { "main": { controller: 'StartseiteController', templateUrl: 'app/startseite/views/startseite.tpl.html' } ...
KinderJugendringBonn/jugendstadtplan
public/src/app/startseite/StartseiteController.js
JavaScript
gpl-3.0
1,314
/* Developed with the contribution of the European Commission - Directorate General for Maritime Affairs and Fisheries © European Union, 2015-2016. This file is part of the Integrated Fisheries Data Management (IFDM) Suite. The IFDM Suite is free software: you can redistribute it and/or modify it under the terms o...
UnionVMS/UVMS-Frontend
app/partial/mobileTerminal/mobileTerminal-spec.js
JavaScript
gpl-3.0
17,450
import IndexView from './IndexView'; import LoginView from './LoginView'; import ErrorView from './ErrorView'; export { IndexView, LoginView, ErrorView, };
sxyhappy/mi-srv-fe
src/views/root-views/index.js
JavaScript
gpl-3.0
163
/** * @license * Copyright 2012 Dan Vanderkam (danvdk@gmail.com) * MIT-licensed (http://opensource.org/licenses/MIT) */ Dygraph.Plugins.Legend = (function() { /* Current bits of jankiness: - Uses two private APIs: 1. Dygraph.optionsViewForAxis_ 2. dygraph.plotter_.area - Registers for a "predraw" event, w...
CINF/DataPresentationWebsite
sym-files2/dygraph/plugins/legend.js
JavaScript
gpl-3.0
11,139
var multiplier; // Click Multiplier var autoClicker; // AutoClickers... var clicks; // Main variable. Clicks are masterrace var clickDelay; // Delay b/w clicks. Mainly to encourage clicking var lastClickDelay; var maxClickDelay; var clickPowerTime; var printers; var printDelay; var hasPrinter; ...
IntrovertedSiko/Clicker
Clicker.js
JavaScript
gpl-3.0
9,011
GO.projects2.ProjectPanel = Ext.extend(GO.DisplayPanel,{ model_name: "GO\\Projects2\\Model\\Project", // subProjectsTemplate : '', stateId : 'pm-project-panel', editGoDialogId : 'project', template: '<table class="display-panel" cellpadding="0" cellspacing="0" border="0">'+ '<tr>'+ '<td colspan="2" clas...
deependhulla/powermail-debian9
files/rootdir/usr/local/src/groupoffice-6.2/groupoffice-6.2-setup-www/modules/projects2/ProjectPanel.js
JavaScript
gpl-3.0
25,299
/* eslint-disable max-len */ /** * Build config for development process that uses Hot-Module-Replacement * https://webpack.github.io/docs/hot-module-replacement-with-webpack.html */ import webpack from 'webpack'; import validate from 'webpack-validator'; import merge from 'webpack-merge'; import formatter from 'esl...
sedooe/cevirgec
webpack.config.development.js
JavaScript
gpl-3.0
2,461
import React, { Component } from "react"; import PropTypes from "prop-types"; import classNames from "classnames"; import FileField from "./file-field"; import "./add-attachment-button.scss"; import Util from "../../../js/utils.js"; class AddAttachmentButton extends Component { constructor() { super(); th...
smartercleanup/platform
src/base/static/components/form-fields/types/add-attachment-button.js
JavaScript
gpl-3.0
2,204
var classHttpRequest = [ [ "HttpRequest", "d5/d1b/classHttpRequest.html#a42b01e8d23e15e65ad9c712922a6a812", null ], [ "hasHeader", "d5/d1b/classHttpRequest.html#a9bafc9a247f9378904788642ab903e03", null ], [ "firstHeader", "d5/d1b/classHttpRequest.html#a5db3f91a4a32b70e2fcbd188d8a452c9", null ], [ "allHe...
xushiwei/fibjs
docs/d5/d1b/classHttpRequest.js
JavaScript
gpl-3.0
3,238
/* * adapt-contrib-text * License - http://github.com/adaptlearning/adapt_framework/blob/master/LICENSE * Maintainers - Daryl Hedley <darylhedley@hotmail.com>, Brian Quinn <brian@learningpool.com> */ define(function(require) { var ComponentView = require('coreViews/componentView'); var Adapt = require('coreJS/...
theodi/ODI-eLearning
src/components/adapt-contrib-text/js/adapt-contrib-text.js
JavaScript
gpl-3.0
2,084
/* JIRA Teamboard - an electronic information radiator Copyright (C) 2014 Chris Allmark 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 ...
chrisallmark/JIRA.Teamboard
src/app/js/app.js
JavaScript
gpl-3.0
1,816
/****************************************************************************** * Copyright (c) Dworek 2016. All rights reserved. * * * * @author Tim Visee * ...
timvisee/dworek
server/app/util/IpUtils.js
JavaScript
gpl-3.0
2,038
'use strict'; /* @license Copyright (c) 2015, Jeff Hlywa (jhlywa@gmail.com) Released under the BSD license https://github.com/jhlywa/chess.js/blob/master/LICENSE*/ var Chess = function(fen) { /* jshint indent: false */ var BLACK = 'b'; var WHITE = 'w'; var EMPTY = -1; var PAWN = 'p'; var KNIGHT = 'n'; ...
jonpchin/GoChess
third-party/js/chess.js
JavaScript
gpl-3.0
43,673
module.exports = { onMessage: { 'EWD.form.login': function(params, ewd) { if (params.username === '') return 'You must enter a username'; if (params.username !== 'rob') return 'Invalid username'; if (params.password === '') return 'You must enter a password'; if (params.password ...
open-health-hub/the_centile_app
www/ewd/bootstrap3/bootstrap3.js
JavaScript
gpl-3.0
951
var searchData= [ ['community1',['community1',['../classTwoCommunitiesVoterGraph.html#a354768f44c0a3daa6d0a70a20df77af5',1,'TwoCommunitiesVoterGraph']]], ['community2',['community2',['../classTwoCommunitiesVoterGraph.html#a7c918c6733474caa86bc2d217bd2cb4d',1,'TwoCommunitiesVoterGraph']]], ['contrarian',['contrari...
Lamarche-Perrin/optimal_partition
doc/html/search/variables_1.js
JavaScript
gpl-3.0
684
/* * Tests for env. * @file env.spec.js */ 'use strict'; // Setup chai. const _ = require('lodash'); const chai = require('chai'); const expect = chai.expect; const filesystem = require('mock-fs'); const path = require('path'); chai.should(); // Save the original process.platform const originalPlatform = process....
kalabox/lando
test/env.spec.js
JavaScript
gpl-3.0
6,011
var fs = require('fs'); var url = require('url'); var path = require('path'); var budo = require('budo'); var babelify = require('babelify'); var postcss = require('postcss'); var postcssUrl = require('postcss-url'); var postcssImport = require('postcss-import'); var postcssNext = require('postcss-cssnext'); var autopr...
AndyKrivovjas/tanks-battle
node_modules/matterjs/support/preview.js
JavaScript
gpl-3.0
1,382
/* * Use the code on this page as a template for your own experiment */ var debug_mode = true // Set as true to show extra information, false to run experiment normally. var error_feedback = false // Do we show feedback when participants make a mistake? // Miscelaneous variables var ITI = 500 // Inter Trial Interval...
EoinTravers/PsychScript
templates/click_response/js/lexical_decision_clickbutton_response.js
JavaScript
gpl-3.0
4,799
'use strict' const amqp = require('amqplib') const REGION = 'us-east-1' const API_VERSION = '2010-03-31' const ACCESS_KEY_ID = 'AKIAIOU2EZVMZ7DR44NQ' const SECRET_ACCESS_KEY= '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' let _channel = null let _conn = null let app = null describe('SNS Connector Test', () => { befor...
akzReekoh/sns-connector
test/sns-connector.js
JavaScript
gpl-3.0
1,785
/** * JuegoController * * @description :: Server-side logic for managing juegoes * @help :: See http://sailsjs.org/#!/documentation/concepts/Controllers */ module.exports = { muestraDefinicion: function(req, res, next){ Definicion.count().then(function(rango){ aleatorio = Math.round((Math.rando...
2DAW-2Mares/glosario-servidor
api/controllers/JuegoController.js
JavaScript
gpl-3.0
1,346
const getData = require('../getData'); const { developmentProtocol } = require('../config'); const main = () => { console.log(`Fetching ${developmentProtocol}`); getData(developmentProtocol) .then(([fullPath]) => { console.log(`Successfully downloaded to '${fullPath}', or found cached version.`); ...
codaco/Network-Canvas
integration-tests/scripts/get-development-protocol.js
JavaScript
gpl-3.0
357
"use strict"; const _ = require("underscore"); const utils = require("../utils"); const BaseToken = require("./base-token"); class RootToken extends BaseToken { constructor(sent) { super(sent, "RootToken"); this.form = "ROOT"; this.indices = { absolute: 0, conllu: 0, cg3: 0, cy...
jonorthwash/ud-annotatrix
notatrix/src/nx/root-token.js
JavaScript
gpl-3.0
374
var searchData= [ ['gt',['gt',['../mainwindow_8ui.html#acc2b3ab3dd842d17613f7a6cbf7f275d',1,'mainwindow.ui']]] ];
estei-master/segment_SOL
MARTIN/ihm2/html/search/variables_67.js
JavaScript
gpl-3.0
116
GNATdoc.SourceFile = { "kind": "code", "children": [ { "kind": "line", "number": 1, "children": [ { "kind": "span", "cssClass": "keyword", "text": "with" }, { "kind": "span", "cssClass": "text", "text": " " ...
osannolik/ada-motorcontrol
doc/html/srcs/logging.ads.js
JavaScript
gpl-3.0
7,237
module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON( 'package.json' ), release: { options: { github: { repo: 'deepstreamIO/deepstream.io', usernameVar: 'GITHUB_USERNAME', passwordVar: 'GITHUB_PASSWORD' } } } }); grunt.loadNpmTasks( 'grunt-release' ); };
PaintQuest/paintquest
src/deepstream/node_modules/deepstream.io/Gruntfile.js
JavaScript
gpl-3.0
320
var express = require("express"); var Campground = require("../models/campground"); var Comment = require("../models/comment"); var router = express.Router(); //INDEX ROUTE router.get("/", function(req, res){ //GET all campgrounds from the database Campground.find({},function(err,allCampgrounds){ ...
gn03249822/WebDev_YelpCamp
v8/routes/campgrounds.js
JavaScript
gpl-3.0
2,259
const fs = require('fs') const path = require('path') const electron = require('electron') const util = require('util') const libraryScanner = require('./libraryScanner') const writeFile = util.promisify(fs.writeFile) const COVER_FOLDER = path.join(electron.app.getPath('userData'), 'covers') function init () { // ...
AoDev/kaiku-music-player
app/main/mediaLibrary.js
JavaScript
gpl-3.0
1,633
'use strict'; angular.module('angularAffix', []) .directive( 'affix', ['$window', '$timeout', '$parse', function($window, $timeout, $parse) { return { restrict: 'A', link: function(scope, element, attrs) { var paramsDefault = { offsetTop: 0, offsetBotto...
paperhive/angular-affix
lib/index.js
JavaScript
gpl-3.0
3,456
'use strict' const Wantlist = require('../types/wantlist') class Ledger { constructor (peerId) { this.partner = peerId this.wantlist = new Wantlist() this.exchangeCount = 0 this.sentToPeer = new Map() this.accounting = { bytesSent: 0, bytesRecv: 0 } } sentBytes (n) { t...
js0p/sprouts
node_modules/ipfs-bitswap/src/decision-engine/ledger.js
JavaScript
gpl-3.0
782
var tooltipTimer; $( document ).ready( function( ) { $( "body" ).append( "<div id=\"toolTip\"></div>" ); $( "div#toolTip" ).hide( ); $( "div, input" ).each( function( ) { var tip = $( this ).attr( "tooltip" ); if( tip !== undefined ...
benjaminpaine/FLeXaTeXT
js/flexatext-tooltips.js
JavaScript
gpl-3.0
2,389
{"buildings":[{"latitude":"6.354474","address":["Avenue Clozel 01","Cotonou, Benin, BP 5959"],"longitude":"2.436143","offset":"background:url('images/markers.png') no-repeat -1166px 0;","id":19635}],"name":"Cotonou","id":"cotonou"}
brangerbriz/webroutes
nw-app/telegeography-data/internetexchanges/metro-areas/cotonou.js
JavaScript
gpl-3.0
231
const async = require('async'); const helpers = require('../../../helpers/azure'); module.exports = { title: 'LB HTTPS Only', category: 'Load Balancer', description: 'Ensures load balancers are configured to only accept connections on HTTPS ports', more_info: 'For maximum security, load balancers can b...
cloudsploit/scans
plugins/azure/loadbalancer/lbHttpsOnly.js
JavaScript
gpl-3.0
4,101
define(['ui/TComponent', 'TUI', 'TEnvironment', 'TError', 'jquery', 'ui/TSidebarPrograms', 'ui/TSidebarResources'], function(TComponent, TUI, TEnvironment, TError, $, TSidebarPrograms, TSidebarResources) { function TSidebar(callback) { var $sidebar, $switchPrograms, $switchResources; var programs...
colombbus/declick-client-v2
src/js/declick/ui/TSidebar.js
JavaScript
gpl-3.0
5,230
/* * EvilMusic - Web-Based Music Player * Copyright (C) 2016 Joe Falascino * * 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 lat...
eviljoe/evilmusic
src/main/webapp/components/eq/eq.component.js
JavaScript
gpl-3.0
1,621
// ==UserScript== // @name Includes : Neopets : Kadoatery // @namespace http://gm.wesley.eti.br/includes/neopets // @description Kadoatery Function // @author w35l3y // @email w35l3y@brasnet.org // @copyright 2009+, w35l3y (http://gm.wesley.eti.br) // @license GNU GPL // @...
w35l3y/userscripts
backup/63340.user.js
JavaScript
gpl-3.0
4,060
import React from 'react' import PropTypes from 'prop-types' import Chat from 'components/Chat' import ChatInvitation from 'components/Chat/Invitation' import ChatImage from '../../images/ask.svg' const ChatModal = (props) => { let buttonMessage = (<span><img src={ChatImage} alt='' aria-hidden='true' /> Chat with a ...
ndlib/usurper
src/components/Layout/Footer/FooterInfo/ChatModal/presenter.js
JavaScript
gpl-3.0
1,268
var u = require("underscore");
goodagood/testexp
vm2/bb.js
JavaScript
gpl-3.0
32
/******************************************************************************* * It can be used to create a context menu. NOTE: You have to provide the menu * items and the scope. The menuitems is a dictionary which has Visible and * Protected keys: -Visible: the menu items accessible by all users. -Protected: * ...
chaen/WebAppDIRAC
WebApp/static/core/js/utils/DiracApplicationContextMenu.js
JavaScript
gpl-3.0
8,149
// file: tag.js // 给某一用户添加标签 var TagList = React.createClass({displayName: "TagList", handleClick: function(tag, e){ this.props.delOp(tag.value); }, render: function(){ var selfStrong = this.handleClick; var items = this.props.tags.map(function(tag){ return( React.createElement("li", nu...
helapu/helapu.github.io
examples/build/.module-cache/69710ef2f85843700a425ec9c8487dcb9954e636.js
JavaScript
gpl-3.0
3,303
/* * Ext JS Library 3.0 Pre-alpha * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ Ext.QuickTips.init(); // Album toolbar var newIndex = 3; var tb = new Ext.Toolbar({ items:[{ text: 'New Album...
ducbo/extbind
ext/examples/organizer/organizer.js
JavaScript
gpl-3.0
6,557
function(doc) { // !code vendor/acra-storage/utils.js var result = utils.digestReport(doc); if(result) { var reportDate = new Date(doc.USER_CRASH_DATE); if(isNaN(reportDate.getTime())) { reportDate = doc.timestamp; } var key = [doc.APP_VERSION_CODE, reportDate]; ...
ACRA/acra-storage
views/recent-items-by-appvercode/map.js
JavaScript
gpl-3.0
355
// ES5 shims for Function.prototype.bind, Object.prototype.keys, etc. require('core-js/es5'); // Replace ./src/js with the directory of your application code and // make sure the file name regexp matches your test files. const context = require.context('./test/', true, /-test\.js$/); context.keys().forEach(context);
NERC-CEH/morel
tests.webpack.js
JavaScript
gpl-3.0
318
// Setter angular.module('app', []); // Getter //angular.module('app'); // Controllerje angular.module('app').controller('MainController', function($scope){ $scope.data = 'Živjo!'; $scope.count = 0; var hello = 'Tudi tebi'; var count = 0; $scope.increment = function(number) { $scope.count...
jure-koren/js-smartninja
lekcija2/primer3.js
JavaScript
gpl-3.0
405
/** * The Base object for all Job wizard steps to inherit from * * Author - Josh Vote */ Ext.namespace("JobBuilder"); Ext.require([ 'Ext.ux.form.plugin.FieldHelpText' ]); Ext.define('vegl.jobwizard.forms.BaseJobWizardForm', { extend : 'Ext.form.Panel', /** * State object tha...
joshvote/ANVGL-Portal
src/main/webapp/js/vegl/jobwizard/forms/BaseJobWizardForm.js
JavaScript
gpl-3.0
3,311
/** * FH-Complete * * @package * @author * @copyright Copyright (c) 2016 fhcomplete.org * @license GPLv3 * @link https://fhcomplete.org * @since Version 1.0.0 */ //-------------------------------------------------------------------------------------------------------------------- // Configs // To see debug...
FH-Complete/FHC-Core
public/js/AjaxLib.js
JavaScript
gpl-3.0
18,422
'use strict'; let string = {}; string.aboutReleases = 'Релізи'; string.aboutUpdate = 'Як працюють оновлення для Wire'; string.aboutVersion = 'Версія'; string.aboutWebappVersion = 'Версія Wire для Web'; string.menuConversation = 'Розмова'; string.menuStart = 'Почати'; string.menuEdit = 'Редагувати'; string.menuWind...
ConorIA/wire-desktop
electron/locale/strings-uk.js
JavaScript
gpl-3.0
3,200
/** * @file The SeaFlow library * @author Clément Nerma * @license CC-BY-NC-ND-4.0 */ // Enable strict mode for more efficiency "use strict"; /** * SeaFlow error class * @class * @param {Object} */ // This particular syntax is needed to make the class a constant const OError = (function () { /** * Ace Er...
ClementNerma/SeaFlow
dist/seaflow.js
JavaScript
gpl-3.0
44,552
Notifications = new Meteor.Collection(null); throwNotify = function(message, type) { Notifications.insert({message: message, type: type, seen: false}); Meteor.setTimeout(function() { $('.alert-' + type).alert('close'); }, 5000); }; throwError = function(message) { throwNotify(message, 'error')...
zekzekus/domat
client/helpers/errors.js
JavaScript
gpl-3.0
625
var Vec2 = function( x, y ){ this.constructor = Vec2; this.x = x || 0, this.y = y || 0; }; Vec2.prototype.clone = function(){ var V = new this.constructor; V.x = this.x; V.y = this.y; return V; }; Vec2.prototype.set = function( x, y ){ this.x = x || this.x; this.y = y || this.y; return this; }; Vec2.prototype.copy = f...
tnormandao/tnr
dist/tnr-vec2.js
JavaScript
gpl-3.0
2,207
// This file is part of Moodle - http://moodle.org/ // // Moodle 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. // // Moodle is dis...
orvsd/moodle22
blocks/repo_filemanager/patches/2.0.3+-prepatch/lib/form/filemanager.js
JavaScript
gpl-3.0
33,449
odoo.define('mail.Discuss', function (require) { "use strict"; var BasicComposer = require('mail.composer.Basic'); var ExtendedComposer = require('mail.composer.Extended'); var ThreadWidget = require('mail.widget.Thread'); var AbstractAction = require('web.AbstractAction'); var config = require('web.config'); var cor...
t3dev/odoo
addons/mail/static/src/js/discuss.js
JavaScript
gpl-3.0
58,205
class RouteNotFoundError extends Error { constructor (message, statusCode = 404) { super(message) this.name = 'RouteNotFoundError' this.type = 'not_found' this.statusCode = statusCode } } class ValidationError extends Error { constructor (message, fields, statusCode = 400) { super(message) ...
hails/tane
src/helpers/errors.js
JavaScript
gpl-3.0
1,454
Ext.define('Testprok.view.mobileview.resource.AppMenuTreePanel', { extend : 'Ext.tree.Panel', xtype: 'appMenuTreePanel', itemId: 'appMenuTreePanel', requires: ['Testprok.view.mobileview.resource.AppMenuTreePanelController'], controller: 'appMenuTreePanelController', rootVisible:false, ...
applifireAlgo/appDemoApps201115
testprok/src/main/webapp/app/view/mobileview/resource/AppMenuTreePanel.js
JavaScript
gpl-3.0
720
/* Copyright (C) 2015 Aliaksandr Aliashkevich 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. ...
maury91/sqltabs
src/Settings.js
JavaScript
gpl-3.0
6,542
/** * OpenEyes * * (C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2011 * (C) OpenEyes Foundation, 2011-2013 * This file is part of OpenEyes. * OpenEyes 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,...
openeyesarchive/OpenEyes
protected/assets/js/print.js
JavaScript
gpl-3.0
5,107
var app = angular.module('tips'); app.controller('NavCtrl', [ '$scope', 'auth', function($scope, auth){ $scope.isLoggedIn = auth.isLoggedIn; $scope.currentUser = auth.currentUser; $scope.logOut = auth.logOut; $scope.validateDir = function(){ return auth.getRole() == 'director'; } }]);
eiroa/pds-tp1-tipideas
public/javascripts/src/controllers/NavController.js
JavaScript
gpl-3.0
295
'use strict'; import svgsg from 'svg-sprite'; import glob from 'glob'; import fs from 'fs'; import path from 'path'; import mkdirp from 'mkdirp'; var gulp; var plugins; var app; module.exports = function ( _gulp, _plugins, _app ) { gulp = _gulp; plugins = _plugins; app = _app; // ...
sgtmurtaugh/clickdummy-creator
skeletor.core/misc/gulp/tasks/sprite-generators/svg-sprite.js
JavaScript
gpl-3.0
3,375
import d from 'debug'; const debug = d('4me.data.fetcher'); import Promise from 'bluebird'; import _ from 'lodash'; import rp from 'request-promise'; import { setStatus, } from '../status'; const reqOpts = { resolveWithFullResponse: true, }; const request = rp.defaults(reqOpts); export default function fetc...
devteamreims/4me.xman.fetcher
src/data/fetch.js
JavaScript
gpl-3.0
3,167
/* ||================================================================================== || DESCRIPTION OF IMPLEMENTATION PRINCIPLES || A. Position for rules (internal representation): string with length 56. || Special numbering for easy applying rules. || Valid characters: b B w W 0 - || b (black) B (black ...
bdoin/GCompris-qt
src/activities/checkers/engine.js
JavaScript
gpl-3.0
35,776
// Setting HTTP Headers // The $http service will automatically add certain HTTP headers to all requests. These defaults // can be fully configured by accessing the $httpProvider.defaults.headers configuration object, // which currently contains this default configuration: /* $httpProvider.defaults.headers.common ...
congredi/delegito
src/app/services/jwt.js
JavaScript
gpl-3.0
1,736
 var Keys ={ ShiftL:0x01000000, ShiftR:0x02000000, Shift :0x01000000 | 0x02000000, CtrlL :0x04000000, CtrlR :0x08000000, Ctrl :0x04000000 | 0x08000000, AltL :0x10000000, AltR :0x20000000, Alt :0x10000000 | 0x20000000, None:0, Back:8, Tab:9, Clear:12, Return:13, Pause:19, KanaMode:...
saitoha/eck
src/script_sys.js
JavaScript
gpl-3.0
38,970
describe('ng-table', function() { var data = [ { id: 1, name: "Moroni", age: 50, money: -10 }, { id: 2, name: "Tiancum", age: 43, money: 120 }, { id: 3, name: "Jacob", age: 27, money: 5.5 }, { id: 4, name: "Nephi", age: 29, money: -54 }, { id: 5, name: "Enos", age: 34, money:...
comker/comker-ng-auth
test/tableSpec.js
JavaScript
gpl-3.0
19,194
define(function (require) { 'use strict'; var p5 = require('core'); p5.prototype.beginRaw = function() { // TODO throw 'not yet implemented'; }; p5.prototype.beginRecord = function() { // TODO throw 'not yet implemented'; }; p5.prototype.createOutput = function() { // TODO ...
NYUMusEdLab/fork-p5.js
src/output/files.js
JavaScript
gpl-3.0
1,965
'use strict'; const Assert = require('assert-js'); class AccountCharacter { /** * @param {string} id * @param {string} name */ constructor(id, name) { Assert.string(id); Assert.string(name); this._id = id; this._name = name; } get id() { ...
norzechowicz/no-game
nodejs/server/src/NoGame/Engine/Account/AccountCharacter.js
JavaScript
gpl-3.0
436
import getUserScopeSelect from 'lib/services/auth/selects/models/user'; export default async ({ modelName, actionName, authInfo }) => { switch (modelName.toLowerCase()) { case 'user': return getUserScopeSelect({ actionName, authInfo }); default: // return the default "null" which will allows all ...
LearningLocker/learninglocker
lib/services/auth/selects/getScopeSelect.js
JavaScript
gpl-3.0
349
/* Copyright Mihai Bazon, 2002, 2003 | http://dynarch.com/mishoo/ * --------------------------------------------------------------------------- * * The DHTML Calendar * * Details and latest version at: * http://dynarch.com/mishoo/calendar.epl * * This script is distributed under the GNU Lesser General Public...
mitani/dashlet-subpanels
jssource/src_files/jscalendar/calendar-setup_3.js
JavaScript
gpl-3.0
9,027
/* *comment **/ function chkboxon_db_click( id, groupname, selected, param, form_id ){ if( selected ){ dbclickcontrol( id, groupname ); } else { clickcontrol( id, groupname ); } searchStatus( groupname ); chkAllButton(param, form_id); return; } fu...
lbalintatmedunidebhu/mirnaprimerdesigntool
web/design/js/expandmenu.js
JavaScript
gpl-3.0
8,969
// jam in top,right,bottom,left margin setting for inserted image CKEDITOR.on('dialogDefinition', function (ev) { // Take the dialog name and its definition from the event data. var dialogName = ev.data.name; console.log(dialogName); var dialogDefinition = ev.data.definition; console.log(dialogDefinition); // ***...
ron4mac/joomla_plg_rjckeditor
rjckeditor.js
JavaScript
gpl-3.0
8,326
define(['config', 'controllers/navCtrl', 'controllers/view1Ctrl', 'controllers/view2Ctrl'], function(config, navCtrl, view1Ctrl, view2Ctrl){ /** * You must include the dependency on 'ngMaterial' */ var app = angular.module('<%= name %>', ['ngMaterial','ngRoute']); app.config(config);...
stephentillman/generator-bookon
static/templates/multi/app.js
JavaScript
gpl-3.0
455
'use strict'; var config = require('config'); var path = require('path'); var ComputeCluster = require('compute-cluster'); var fs = require('fs'); var mkdirp = require('mkdirp'); var sm = require('sitemap'); var gn = require('gnews-sitemap'); var nunjucks = require("nunjucks"); var env = new nunjucks.Environment(new nu...
InstantKhabar/_source
utils/setup.js
JavaScript
gpl-3.0
8,285
var uploadServer = "https://127.0.0.1/uploader.php";
makotofu/Imagist
config.js
JavaScript
gpl-3.0
53
/** * This file contains the learning view and appropo subviews and must be loaded * after the models and collections */ /*global define*/ define(["backbone", "underscore", "jquery", "utils/utils"], function(Backbone, _, $, Utils){ "use strict"; /** * View to display detailed resource information */ v...
elifeasley/metacademy-application
app_server/static/javascript/agfk/views/concept-details-view.js
JavaScript
gpl-3.0
19,229
import Ember from 'ember'; // To develop using the radio4000-player served locally // (usually served over localhost:4002) // 1- comment out the following `import` // 2- comment in the `script` tag in the `template.hbs` // cheers import 'radio4000-player'; const {Component, get, inject, computed} = Ember; export defa...
internet4000/radio4000
app/components/x-playback/component.js
JavaScript
gpl-3.0
1,628
function GeneratorTests() { } // Testuje rozpoczęcie procesu zbierania danych GeneratorTests.prototype.testBeginning = function() { } // Testuje zakończenie procesu zbierania danych GeneratorTests.prototype.testFinish = function() { } // Testuje problemy z uzyskaniem danych z GPS GeneratorTests.prototype.testInte...
Stanley/tram2000-webos
tests/generator_tests.js
JavaScript
gpl-3.0
350
"use strict"; var _ = require("underscore"); var Layer = require("../../layer/Layer"); const _default_config = { highInput: "high", lowInput: "low", volumeInput: "volume", relativeWidth: 0.3333, vertexCount: 120, color: "rgba(153, 180, 255, 0.7)" }; /** * Represents a volume profile chart layer. * <br>...
dojichart/dojichart
src/layer/indicator/VolumeProfileLayer.js
JavaScript
gpl-3.0
2,995
var searchData= [ ['pbm_5fa',['PBM_A',['../classsp_1_1_p_n_m.html#a5f970fa81d4758dbcfeebc32c20db45eaf88f4bb1b0fab04855075f5b5607d3e8',1,'sp::PNM']]], ['pbm_5fb',['PBM_B',['../classsp_1_1_p_n_m.html#a5f970fa81d4758dbcfeebc32c20db45ea04e4468f0748a9ae8111f470e6feb969',1,'sp::PNM']]], ['pgm_5fa',['PGM_A',['../classsp...
SpaceHAUC-Beam-Steering/Recursive-Least-Square
source/sig/doc/doxy/html/search/enumvalues_1.js
JavaScript
gpl-3.0
824
(function (exports) { 'use strict'; /** * File navigation.js. * * Handles toggling the navigation menu for small screens and enables TAB key * navigation support for dropdown menus. */ ( function() { var ROOT = document.documentElement, BODY = document.body, NAV = document.querySel...
sebellows/Chamber
resources/assets/js/navigation.babel.js
JavaScript
gpl-3.0
5,649
function toggleImagenes(){ jQuery(function(){ jQuery('.post img').each(function(index){ var timg = jQuery(this); if(timg.attr('src').indexOf('://foro.elhacker.net/Smileys/')> -1){timg.css('display','inline');} else{timg.wrap('<div class="imageContainer">');} }); jQuery('.imageContainer') .css({'displ...
drvy/ehn-scripts
Guest-Image-Toggle/v1/ehnImagenes.js
JavaScript
mpl-2.0
1,268
/* 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 restify = require('restify') var config = require('../config') var log = require('../log')(config.logLevel, 'f...
chilts/fxa-auth-mailer
bin/server.js
JavaScript
mpl-2.0
1,611
/* 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/. */ // @flow import escapeStringRegexp from 'escape-string-regexp'; import { createSelector } from 'reselect'; import ...
mstange/cleopatra
src/selectors/url-state.js
JavaScript
mpl-2.0
13,295
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim:set ts=2 sw=2 sts=2 et: */ /* ***** 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 e...
tmhorne/celtx
toolkit/components/places/tests/queries/stub-test.js
JavaScript
mpl-2.0
5,906
/* globals chrome, console, XMLHttpRequest, Image, document, setTimeout, navigator */ /* globals loadSelector, analytics, communication */ window.main = (function () { let exports = {}; const { sendEvent } = analytics; let manifest = chrome.runtime.getManifest(); let backend; exports.setBackend = function ...
fzzzy/pageshot
webextension/background/main.js
JavaScript
mpl-2.0
1,188
import {protocol} from './isUrl'; export class Outbound { static open(entry, $event) { switch(entry.type) { case 'tab': browser.windows.update(entry.windowId, {active: true}); browser.tabs.update(entry.id, {focused: true}); break; default: ($event && $event.ctrl...
yscik/redpanda-launcher
src/search/outbound.js
JavaScript
mpl-2.0
984
export default { id: 'boolean', initial: 'false', states: { true: { on: { TOGGLE: [ { target: 'false', }, ], FALSE: [ { target: 'false', }, ], }, }, false: { on: { TOGGLE: [ ...
hashicorp/consul
ui/packages/consul-ui/app/machines/boolean.xstate.js
JavaScript
mpl-2.0
482