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 |
|---|---|---|---|---|---|
var searchData=
[
['parabolicflux',['ParabolicFlux',['../parabolic__flux_8c.html#a82dcd26a5c0cb977e2de6d673c1f1ea5',1,'parabolic_flux.c']]],
['parabolicrhs',['ParabolicRHS',['../parabolic__rhs_8c.html#a4cb18f3a70263d455ae61aba6977cebb',1,'parabolic_rhs.c']]],
['paramexist',['ParamExist',['../parse__file_8c.html#a... | DeovratPrasad/Galaxy-Cluster-PLUTO | Doc/Doxygen/html/search/functions_70.js | JavaScript | gpl-2.0 | 6,045 |
jQuery(document).ready(function ($) {
"use strict";
jQuery.browser={};(function(){jQuery.browser.msie=false;
jQuery.browser.version=0;if(navigator.userAgent.match(/MSIE ([0-9]+)\./)){
jQuery.browser.msie=true;jQuery.browser.version=RegExp.$1;}})();
jQuery('#ajax-login-tabs').insertAfter('#ajax-login-wrap');
jQu... | adshannon81/Headstuff.org | wp-content/themes/sevenmag/js/custom.js | JavaScript | gpl-2.0 | 9,572 |
/*
* Copyright (c) 2009, 2010 and 2011 Frank G. Bennett, Jr. All Rights
* Reserved.
*
* The contents of this file are subject to the Common Public
* Attribution License Version 1.0 (the “License”); you may not use
* this file except in compliance with the License. You may obtain a
* copy of the License at:
*
*... | co-alliance/adr | sites/all/modules/islandora_contrib/islandora_scholar/modules/citeproc/lib/citeproc-js/tests/citeproc-js/dateparsetoarray.js | JavaScript | gpl-2.0 | 3,021 |
function c_game(piece, display, score)
{
this.piece = piece;
this.display = display;
this.score = score;
this.speed = 250;
}
c_game.prototype.reassign = function(y)
{
var x;
var tmp;
while (y > 0)
{
tmp = y - 1;
x = 1;
while (this.display.map[tmp][x] != null)
{
this.display.... | genot-c/tetris | src/js/c_game.js | JavaScript | gpl-2.0 | 385 |
! (function($){
$(function(){
if ($('.haik-config-menu').length){
$('.haik-admin-navbar-inside').prepend('<a class="navbar-brand pull-right" href="#haik_config_slider" id="config_slider_link"><img src="haik-contents/img/haiklogo.png" height="50"></a>');
// ! admin slider
$("#config_slid... | toiee/haik | haik-contents/plugin/app_config/common.js | JavaScript | gpl-2.0 | 10,617 |
(function ($, scope, undefined) {
function capitalize(str) {
return str.charAt(0).toUpperCase() + str.slice(1);
}
/**
* @constructor
* @param responsive {NextendSmartSliderResponsive} caller object
* @param group {String}
* @param element {jQuery}
* @param cssPr... | darespaco/parlaproject | wp-content/plugins/smart-slider-3/library/media/js/responsive/ResponsiveElement.js | JavaScript | gpl-2.0 | 15,871 |
/*****************************************************************
Page : ricoLocale_ua.js
Description : ukrainian localization strings
Version 0.1 (revisions by Alexey Uvarov,Illiya Gannitskiy)
If you would like to include translations for another language,
please send them to dowdybrown@yahoo.com
*************... | denys-duchier/Scolar | static/Rico/src/translations/ricoLocale_ua.js | JavaScript | gpl-2.0 | 7,482 |
app.directive("portfolio", function(socket, upload, ms, filterFilter) {
return {
restrict: 'E',
templateUrl: '/directives/templates/portfolioDirective.html',
scope: false,
link: function(scope, elements, attrs) {
scope.uploads = [];
scope.controllerPlaceholder = false;
scope.portfoli... | DaganRead/huntingApp | public/directives/portfolioDirective.js | JavaScript | gpl-2.0 | 5,479 |
(function(a){a.blockUI.defaults.applyPlatformOpacityRules=false;a.blockUI.defaults.css={};a.blockUI.defaults.overlayCSS={};a.blockUI.defaults.growlCSS={}})(jQuery); | cerebrux/ErgoQPM | pub/System/JQueryPlugin/plugins/blockui/jquery.blockUI.init.js | JavaScript | gpl-2.0 | 164 |
<<<<<<< HEAD
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
*... | marvoey/live-web | sites/all/libraries/fckeditor/editor/_source/commandclasses/fckstylecommand.js | JavaScript | gpl-2.0 | 2,955 |
/**
* Created by Lucian Tuca on 11/05/15.
*/
var DeleteSelectedCommand = function(commandString) {
this.commandString = commandString;
};
DeleteSelectedCommand.prototype.execute = function(context) {
// Map with the action from the context - basically what the command does.
context.deleteShape();
};
//... | EDU-Soft/hci-project | vgp-web/js/commands/DeleteSelected.js | JavaScript | gpl-2.0 | 570 |
var infoCtrl = require('../controllers/infoCtrl.js');
module.exports = [
{
method: 'GET',
path: '/info/all',
config: {
handler: infoCtrl.getAll
}
}
]; | Limezest/dockerController | src/app/routes/info.js | JavaScript | gpl-2.0 | 173 |
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=Study.js.map | QuantiModo/quantimodo-android-chrome-ios-web-app | src/api/node/models/Study.js | JavaScript | gpl-2.0 | 179 |
(function (e, t, n) {
t.fn.touchwipe = function (e) {
var n = {
min_move_x: 20,
min_move_y: 20,
wipeLeft: function () {},
wipeRight: function () {},
wipeUp: function () {},
wipeDown: function () {},
preventDefaultEvents: !0
... | tamu-geosciences/future-test.tamu.edu | modules/mod_zentools/media/js/carousel/jquery.elastislide.js | JavaScript | gpl-2.0 | 10,651 |
var XMPCommonFwdDeclarations_8h =
[
[ "cIUTF8Strings", "XMPCommonFwdDeclarations_8h.html#aae5dbe164f71188aa24c87fa6306539a", null ],
[ "IConfigurationManager_base", "XMPCommonFwdDeclarations_8h.html#ab6a71f81b4e3c8e5d2d0c90f82fbee08", null ],
[ "IError_base", "XMPCommonFwdDeclarations_8h.html#a5f4d698bf8beb... | yanburman/sjcam_raw2dng | xmp_sdk/docs/API/XMPCommonFwdDeclarations_8h.js | JavaScript | gpl-2.0 | 6,862 |
'use strict';
const express = require('express');
const path = require('path');
const logger = require('morgan');
const cookieParser = require('cookie-parser');
const bodyParser = require('body-parser');
const cons = require('consolidate');
const session = require('express-session');
const mysql = require('mysql');
c... | NK145/overflow | app.js | JavaScript | gpl-2.0 | 2,370 |
Products = new Mongo.Collection('products');
Cart = new Mongo.Collection('cart');
Orders = new Mongo.Collection('orders');
Categories = new Mongo.Collection('categories');
| dmarco/Meteorshop | lib/collections.js | JavaScript | gpl-2.0 | 172 |
/*
Check for Checks
Jesse Allison 2015
*/
var checkDict = new Dict('recentChecks');
var ajaxreq;
function bang() {
var all_the_checks = checkDict.get('body');
post(all_the_checks.length);
}
function updateChecks() {
ajaxreq = new XMLHttpRequest();
ajaxreq.open("GET","https://data.brla.gov/resource/g5c2-myyj... | lsu-emdm/Advanced-Max | BR_Data_Gatherer/checkChecker.js | JavaScript | gpl-2.0 | 1,024 |
var searchData=
[
['handle',['HANDLE',['../wglew_8h.html#aa1efb7b85228601549d183556de19dfc',1,'wglew.h']]],
['hdc',['HDC',['../wglew_8h.html#a7b84f5391331438359747d138a86ffe3',1,'wglew.h']]],
['hglrc',['HGLRC',['../wglew_8h.html#a79abb55a8f5ce093fad0358132a376e4',1,'wglew.h']]],
['hpbufferarb',['HPBUFFERARB',['... | Acagamics/Acagamic-Toolkit | doc/html/search/functions_68.js | JavaScript | gpl-2.0 | 492 |
var RiverValleyGoldBar = {
"type": "FeatureCollection",
"features": [
{
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-113.40145458936446,
53.55763251534859
],
[
-113.40147257819106,
... | EsriCanada-CE/ecce-app-challenge-2016 | maraudersmApp/maraudersmApp/GeoJsonNeighbor/River Valley Gold Bar_neighbor.js | JavaScript | gpl-2.0 | 52,008 |
/*
* Copyright (C) 2005 - 2014 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com.
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is free software: you can redistribute it and/or modify
* it under the terms... | leocockroach/JasperServer5.6 | jasperserver-war/src/main/webapp/scripts/report/jive/model/ChartComponentModel.js | JavaScript | gpl-2.0 | 4,508 |
import Vue from 'vue';
import Router from 'vue-router';
import StoryManager from './views/StoryManager.vue';
import StoryView from './views/StoryView.vue';
Vue.use(Router);
export default new Router({
routes: [
{
path: '/',
name: 'home',
component: StoryManager
},
{
path: '/story... | jrmi/active-story | src/router.js | JavaScript | gpl-2.0 | 807 |
/* ----- Login with Fb/Tw ----- */
(function ($) {
function rsvp_after_wordpress_login (data) {
var status = 0;
try { status = parseInt(data.status, 10); } catch (e) { status = 0; }
if (!status) { // ... handle error
//update error by Hoang
if ($("#eab-wordpress_login-registration_wrapper").is(":visible")){
... | HSrcWrld/DKWP | wp-content/plugins/events-and-bookings/js/eab-api.js | JavaScript | gpl-2.0 | 13,507 |
// UK lang variables
tinyMCE.addI18n('en.pastecode',{
paste_code_desc : _('Insert HTML code as text'),
paste_code_title : _('Use CTRL+V on your keyboard to paste the code into the window.'),
paste_html_desc : _('Paste HTML fragment (embed code)'),
paste_html_title : _('Use CTRL+V on your keyboard to paste the code into... | pedropena/iteexe | exe/webui/scripts/tinymce_3.5.11/jscripts/tiny_mce/plugins/pastecode/langs/en.js | JavaScript | gpl-2.0 | 842 |
/*global describe, it */
define(
["underscore", "jquery", "utils/date"],
function (_, $, date) {
describe("date", function () {
describe("formatYearAsTimestamp", function () {
it("should pad the year so it is 4 digits when the year is < 100AD", function () {
date.formatYearAsTimestamp... | twistedvisions/anaximander | test/webapp/utils/date.js | JavaScript | gpl-2.0 | 721 |
// Scroll to the very bottom to see the stuff we wrote, the big giant blocks are:
// froogaloop
// and
// fitvid.js
;(function( $ ){
'use strict';
$.fn.fitVids = function( options ) {
var settings = {
customSelector: null,
ignore: null
};
if(!document.getElementById('fit-vids-style')) {
... | robinfoe/blmk | public/scripts/froogaloop/script.js | JavaScript | gpl-2.0 | 11,895 |
import is from 'is';
// eslint-disable-next-line import/prefer-default-export
export const validNumber = (num, min, max) => {
if (is.number(min)) {
// Make sure the new value isn't less than the min value.
if (num < Number(min)) {
return{
showError: true,
errorMsg: `Please enter a valid ... | massgov/mayflower | packages/react/src/components/forms/Input/validate.js | JavaScript | gpl-2.0 | 626 |
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { EuiSuggestItem } from './suggest_item';
import { EuiSuggestInput } from './suggest_input';
export class EuiSuggest extends Component {
state = {
value: '',
status: 'unsaved'
};
getValue = val => {
this.setState({
... | wazuh/wazuh-kibana-app | public/components/eui-suggest/suggest.js | JavaScript | gpl-2.0 | 1,921 |
function featured_thumb(){
jQuery('ul.thumbnails').each(function(index, element) {
var get_class=jQuery(this).attr('class');
var get_parent=jQuery(this).closest('div');
var wt=jQuery(this).closest('div').width();//width total
var col=jQuery(this).attr('data-columns');//columns
var dt=Math.floor(wt/col);
va... | Seravo/wpthemegenerator-enhanced | js/featured_thumbnail.js | JavaScript | gpl-2.0 | 877 |
jQuery(window).bind('load', function() {
jQuery('.foreground').toggle('slow');
});
jQuery(function() {
jQuery('.view-portfolio .views-field-field-portfolio-image a').hide();
});
jQuery(window).bind('load', function() {
var i = 1;
var imgs = jQuery('.view-portfolio .views-field-field-portfolio-image a').length;
... | Mangalesh/Drupal-742 | sites/all/themes/freesample/js/jquery.loader.js | JavaScript | gpl-2.0 | 571 |
// This file contains javascript that is global to the entire Garden application
// Global vanilla library function.
(function(window, $) {
var Vanilla = function() {
};
Vanilla.fn = Vanilla.prototype;
if (!window.console)
window.console = {
log: function() {
}
... | bleistivt/vanilla | js/global.js | JavaScript | gpl-2.0 | 63,090 |
var url = require('url');
var urlStr = 'http://www.smartisan.com/jianguopro/?name=t2&price=1499#overview';
// var result = url.parse(urlStr);
var result = url.parse(urlStr, true, true);
console.log(result);
| highmind/Study | NodeJS/3.Node常用API/1.url/1.url.js | JavaScript | gpl-2.0 | 207 |
var test = require('tape');
var equal = require('../');
test('NaN and 0 values', function (t) {
t.ok(equal(NaN, NaN));
t.notOk(equal(0, NaN));
t.ok(equal(0, 0));
t.notOk(equal(0, 1));
t.end();
});
test('nested NaN values', function (t) {
t.ok(equal([ NaN, 1, NaN ], [ NaN, 1, NaN ... | mikemcdaid/getonupband | sites/all/themes/getonupband/node_modules/deep-is/test/NaN.js | JavaScript | gpl-2.0 | 345 |
import React from 'react';
import PropTypes from 'prop-types';
import VideoStream from './VideoStream.js';
import Toolbar from './Toolbar.js';
import PlayButtonIcon from '../icons/PlayButtonIcon.js';
import StopButtonIcon from '../icons/StopButtonIcon.js';
import ExpandIcon from '../icons/ExpandIcon.js';
import fscreen... | physiii/open-automation | src/views/components/VideoPlayer.js | JavaScript | gpl-2.0 | 6,791 |
!function(e){"use strict";"function"==typeof define&&define.amd?define(["../widgets/datepicker"],e):e(jQuery.datepicker)}(function(e){"use strict";return e.regional["ar-DZ"]={closeText:"إغلاق",prevText:"<السابق",nextText:"التالي>",currentText:"اليوم",monthNames:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جو... | backdrop-ops/backdrop-pantheon | core/misc/ui/i18n/datepicker-ar-DZ.js | JavaScript | gpl-2.0 | 977 |
/*********************************************************/
/* vlaCalendar version 2.1 for mootools release 1.2 */
/*********************************************************/
var vlaCalendar = new Class({
'slideDuration': 500,
'fadeDuration': 500,
'transition': Fx.Transitions.Quart.easeOut,
'startM... | wr/bionichippo.com | old/admin/calendar/jslib/vlaCal-v2.1.js | JavaScript | gpl-2.0 | 15,630 |
(function (factory) {
if (typeof module === "object" && typeof module.exports === "object") {
var v = factory(require, exports);
if (v !== undefined) module.exports = v;
}
else if (typeof define === "function" && define.amd) {
define(["require", "exports", "./Util", "./Seq", "./Obser... | generalelectrix/wiggles | view/node_modules/fable-core/umd/Event.js | JavaScript | gpl-2.0 | 7,324 |
// $Id: form.js,v 1.15 2010/04/09 12:24:53 dries Exp $
(function ($) {
/**
* Retrieves the summary for the first element.
*/
$.fn.drupalGetSummary = function () {
var callback = this.data('summaryCallback');
return (this[0] && callback) ? $.trim(callback(this[0])) : '';
};
/**
* Sets the summary for all matche... | alayham/Druteam-Agency | sites/default/files/js/js_xQakYN1JdEe2CVqj3lwGPtFTa7lWeqakpJ85uyNlf0c.js | JavaScript | gpl-2.0 | 22,398 |
var graphic = require('../../util/graphic');
var modelUtil = require('../../util/model');
var zrUtil = require('zrender/lib/core/util');
var SankeyShape = graphic.extendShape({
shape: {
x1: 0, y1: 0,
x2: 0, y2: 0,
cpx1: 0, cpy1: 0,
cpx2: 0, cpy2... | nagerenxiong/ChromeExtension | shangzheng/node_modules/echarts/lib/chart/sankey/SankeyView.js | JavaScript | gpl-2.0 | 6,789 |
/**
* Created by rchyla on 3/31/14.
*/
define(['underscore', 'jquery', 'js/components/query_mediator', 'js/components/beehive',
'js/services/pubsub', 'js/services/api', 'js/components/generic_module',
'js/components/pubsub_key', 'js/components/api_query', 'js/components/api_request'
],
func... | jonnybazookatone/bumblebee_benchmark | test/mocha/js/components/query_mediator.spec.js | JavaScript | gpl-2.0 | 14,848 |
"use strict";
var _ = require("lodash");
var Base = require("./Base");
var User = require("./User");
var UpdateMixin = require("./UpdateMixin");
/**
* Ticket handler model for the client
*
* @namespace models.client
* @class Handler
* @extends models.client.Base
* @uses models.client.UpdateMixin
*/
var Handle... | opinsys/puavo-ticket | models/client/Handler.js | JavaScript | gpl-2.0 | 1,015 |
module.exports = function(gulp, plugins, paths){
return plugins.shell.task("node "+paths.build+"/index.js --production");
}; | ericholiveira/data-provider | gulp/run-release.js | JavaScript | gpl-2.0 | 125 |
/**
* $Id: sites/all/libraries/tinymce/jscripts/tiny_mce/utils/editable_selects.js 1.3 2010/02/18 14:49:08EST Linda M. Williams (WILLIAMSLM) Production $
*
* Makes select boxes editable.
*
* @author Moxiecode
* @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
*/
var TinyMCE... | WPMedia/wp-postfun-drupal-prod | sites/all/libraries/tinymce/jscripts/tiny_mce/utils/editable_selects.js | JavaScript | gpl-2.0 | 2,098 |
/**
* $Id: sites/all/libraries/tinymce/jscripts/tiny_mce/plugins/visualchars/editor_plugin_src.js 1.3 2010/02/18 14:48:59EST Linda M. Williams (WILLIAMSLM) Production $
*
* @author Moxiecode
* @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
*/
(function() {
tinymce.create('t... | WPMedia/wp-postfun-drupal-prod | sites/all/libraries/tinymce/jscripts/tiny_mce/plugins/visualchars/editor_plugin_src.js | JavaScript | gpl-2.0 | 2,165 |
const St = imports.gi.St;
const Lang = imports.lang;
const Pango = imports.gi.Pango;
const Params = imports.misc.params;
const Main = imports.ui.main;
const Soup = imports.gi.Soup;
const Gio = imports.gi.Gio;
const ExtensionUtils = imports.misc.extensionUtils;
const Me = ExtensionUtils.getCurrentExtension();
const Uti... | awamper/gnote-integration | link_previewers.js | JavaScript | gpl-2.0 | 8,027 |
var app = require('../../app');
var boards = require('../controllers/boards');
app.get('/api/boards', boards.get); | artursgirons/beyondpad | api/routers/boards.js | JavaScript | gpl-2.0 | 118 |
(function(A,w){function ma(){if(!c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(ma,1);return}c.ready()}}function Qa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function X(a,b,d,f,e,j){... | CASforever/CASforever.github.io | js/jquery.js | JavaScript | gpl-2.0 | 71,861 |
const
gulp = require('gulp'),
rename = require('gulp-rename'),
sketch = require('gulp-sketch'),
iconfont = require('gulp-iconfont'),
imagemin = require('gulp-imagemin'),
consolidate = require('gulp-consolidate')
/**
* Font settings
*/
const
// set name of your symbol font
fontName = 'floating-top-lin... | littlebirdjp/floating-top-link | symbols-for-sketch/gulpfile.js | JavaScript | gpl-2.0 | 2,069 |
/*
Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dijit.form._FormWidget"]){ //_hasResource checks added by build. Do not use _hasResource directly in... | johnkeeping/tt-rss | lib/dijit/form/_FormWidget.js | JavaScript | gpl-2.0 | 13,325 |
/*
Sapling pagelink dialog
*/
CKEDITOR.dialog.add( 'embed', function( editor )
{
var plugin = CKEDITOR.plugins.embed;
var pagelink_plugin = CKEDITOR.plugins.pagelink;
return {
title : 'Embed media',
minWidth : 300,
minHeight : 150,
contents : [
{
id : 'info',
label : 'Embed media',
title : '... | mivanov/editkit | editkit/pages/static/js/ckeditor/_source/plugins/embed/dialogs/embed.js | JavaScript | gpl-2.0 | 2,966 |
//@ sourceMappingURL=payment_method_nonce.map
// Generated by CoffeeScript 1.6.1
var AttributeSetter, PaymentMethodNonce,
__hasProp = {}.hasOwnProperty,
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = c... | jeffprestes/node-braintree-demo | node_modules/braintree/lib/braintree/payment_method_nonce.js | JavaScript | gpl-2.0 | 813 |
export * from './get_ldap';
export * from './jwt_verify';
export * from './auth';
export * from './post_snow'; | Alex-Shilman/Drupal8Node | nodeServer/api/index.js | JavaScript | gpl-2.0 | 110 |
/*
* Lupus in Tabula
* ...un progetto di Edoardo Morassutto
* Contributors:
* - 2014 Edoardo Morassutto <edoardo.morassutto@gmail.com>
*/
var path = "";
var APIdir = path + "/api";
var errorCount = 0;
var lastError = 0;
var lastNotificationUpdate = null;
function logout() {
$.ajax({
url: APIdir+"/logout",
... | lupus-dev/lupus | js/default.js | JavaScript | gpl-2.0 | 3,279 |
showWord(["n. ","Gratèl, lagratèl, maladi po ki atrapan; maladi po ki bay pi. Tretman gal fasil. 2. Enfeksyon nan plant."
]) | georgejhunt/HaitiDictionary.activity | data/words/gal.js | JavaScript | gpl-2.0 | 126 |
showWord(["n. "," Transpòtasyon ki vole tankou avyon. Li gen yon gwo elis sou tèt li. Yo sèvi avè l souvan nan ijans paske li ka poze nenpòt ki kote san aywepò. Mwen pa janm renmen moute elikoptè paske li vole twò ba, li ban mwen tèt vire."
]) | georgejhunt/HaitiDictionary.activity | data/words/elikopt~e.js | JavaScript | gpl-2.0 | 252 |
module.exports =
{
"methods":
{
"wiki": function(msg, sender, api)
{
var query = msg.match(/\".+\"/)[0];
query = query.substring(1, query.length-1);
var base = "http://en.wikipedia.org/w/api.php?format=json&action=query&prop=extracts&rawcontinue&redirects&titles="+encodeURIComponent(query);
ap... | mortie/ladbot-plugins | wikipedia/index.js | JavaScript | gpl-2.0 | 1,466 |
define("jquery-plugin/cookie/1.3/cookie", ["$"], function (require, exports, module) {
var jQuery = require('$');
/*!
* jQuery Cookie Plugin v1.3
* https://github.com/carhartl/jquery-cookie
*
* Copyright 2011, Klaus Hartl
* Dual licensed under the MIT or GPL Version 2 licenses.
* h... | huhao1989/Phenom | sea-modules/jquery-plugin/cookie/1.3/cookie-debug.js | JavaScript | gpl-2.0 | 2,540 |
'use strict';
module.exports = function(sequelize, DataTypes){
var Order = sequelize.define('Order', {
state: {
type: DataTypes.ENUM('active', 'purchased', 'cancelled')
}
}, {
classMethods: {
associate: function(models){
Order.belongsTo(models.User);
Order.belongsTo(models.Li... | CagataySonmez/MobilHackathon2014 | WebApp/models/order.js | JavaScript | gpl-2.0 | 366 |
var pkg = require([__dirname, "..", "package"].join("/"));
var _ = require("lodash");
var yargs = require("yargs");
var commands = require([__dirname, "commands"].join("/"));
module.exports = {
initialize: function(options){
var options = _.merge(options, {
version: {
describe:... | normanjoyner/cuisine | lib/cli.js | JavaScript | gpl-2.0 | 820 |
var searchData=
[
['operator_21_3d',['operator!=',['../struct_a_c_t_k_1_1_color.html#a7c06f24e8d2e0f88a5c4c63e2639d6f0',1,'ACTK::Color::operator!=()'],['../struct_a_c_t_k_1_1_color_mask.html#aee46d6e92b1005a9ec6f4a1204fefd69',1,'ACTK::ColorMask::operator!=()'],['../struct_a_c_t_k_1_1_clear_state.html#ab13fc63ba272b07... | Acagamics/Acagamic-Toolkit | doc/html/search/functions_6f.js | JavaScript | gpl-2.0 | 740 |
/*
* jQuery Nivo Slider v2.3
* http://nivo.dev7studios.com
*
* Copyright 2010, Gilbert Pellegrom
* Free to use and abuse under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*
* May 2010 - Pick random effect from specified set of effects by toronegro
* May 2010 - controlNavThum... | acrisdesign/bizchoco | js/jquery.nivo.slider.js | JavaScript | gpl-2.0 | 18,911 |
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.5.0
*/
/**
* The CustomEvent class lets you define events for your application
* that can be subscribed to by one or more independent component.
*
* @param {String} ty... | alx/blogsfera | wp-includes/js/yui/2.5.0/build/event/event-debug.js | JavaScript | gpl-2.0 | 83,857 |
(function() {
'use strict';
angular.module('bonitasoft.ui.filters')
.filter('lazyRef',function($log) {
return function toLazyRef(bo,rel) {
if(bo){
if(bo.links){
var result = bo.links.filter((ref) => ref.rel === rel);
if(result[0] && result[0].href){
return '..' + res... | bonitasoft/bonita-ui-designer | backend/artifact-builder/src/main/runtime/js/filters/lazyRef.filter.js | JavaScript | gpl-2.0 | 462 |
showWord(["","1. a. Ki karesan. Magali se yon fi ki dous anpil. 2. Ki gen gou sikre. Mango sa a dous kou siwo, ou wè se mango miska vre. Ou met twòp sik nan labouyi a, li twò dous, mwen pa kapab manje l. 3. n. Manje ki fèt ak lèt epi sik. Mwen ta manje yon ti dous lèt."
]) | georgejhunt/HaitiDictionary.activity | data/words/dous.js | JavaScript | gpl-2.0 | 279 |
Ext.define('ExtJsMVC.model.cursus.RootCursusModel',
{
extend : 'Ext.data.TreeModel',
fields : [
{name: 'itemId'},
{name: 'name'}
],
childType : 'ExtJsMVC.model.cursus.CursusModel'
});
| imie-source/MaCoCo | imieWEB/WebContent/app/model/cursus/RootCursusModel.js | JavaScript | gpl-2.0 | 231 |
showWord(["n. "," Nan konstriksyon lari, twou kote dlo desann anba tè. Twou rego sa a bouche."
]) | georgejhunt/HaitiDictionary.activity | data/words/rego_egou_.js | JavaScript | gpl-2.0 | 98 |
showWord(["n. ","Fo cheve. Madan Benwa mete perik.<br>"]) | georgejhunt/HaitiDictionary.activity | data/words/perik.js | JavaScript | gpl-2.0 | 57 |
'use strict';
var express = require('express');
var passport = require('passport');
var config = require('../config/environment');
var User = require('../api/user/user.model');
// Passport Configuration
require('./local/passport').setup(User, config);
require('./facebook/passport').setup(User, config);
require('./twi... | lbroudoux/vomov | server/auth/index.js | JavaScript | gpl-2.0 | 642 |
'use strict';
var chakram = require('chakram'),
expect = chakram.expect,
Request = require('../../commons/request.js'),
request = new Request(),
User = require('../user/user.js'),
user = new User(),
Project = require('./project.js'),
project = new Project(),
ObjectID = require('mongodb')... | bq/bitbloq-qa-backend | test/integration/api/backend/project/project_spec.js | JavaScript | gpl-3.0 | 9,144 |
$(window).scroll(function (e) {
var $w = $(window).width();
var $h = $(window).height();
if ($w > 980 && $h > 400) {
if ($(this).scrollTop() >= 268) {
$("#index_nav.index_nav, #compatible").addClass("index_nav_fixed");
} else {
$("#index_nav.index_nav, #compatible").r... | depweb2/platform | lib/index.js | JavaScript | gpl-3.0 | 634 |
// Arrays contendo os elementos editados
var editedElements = [];
var selectedElementIndex = null;
var unsavedChanges = false;
function updateIframeMinHeight() {
var iframe = $('#app-tool-iframe');
var container = $('#app-iframe-container');
if (container.height() > iframe.height())
iframe.css('m... | mbc07/css-tool | View/assets/js/tool.js | JavaScript | gpl-3.0 | 12,674 |
describe("Portal.filter.combiner.DataDownloadCqlBuilder", function() {
var builder;
beforeEach(function() {
var filters =[
{
constructor: Portal.filter.GeometryFilter, // Is Geometry filter
isVisualised: returns(true),
hasValue: returns(true... | aodn/aodn-portal | src/test/javascript/portal/filter/combiner/DataDownloadCqlBuilderSpec.js | JavaScript | gpl-3.0 | 1,188 |
/* ========================================================================
* Pure Mask JS: puremask.js v0.1
* http://romulobrasil.com
* Copyright (c) 2014 Rômulo Brasil
* ========================================================================
*/
'use strict';
var PureMask = function() {
return {
... | adrianomargarin/curso-js-vendabem | cursojs/static/aulas/js/puremask.js | JavaScript | gpl-3.0 | 1,799 |
"use strict";
var SimpleBot = function () {
this.name = 'SimpleBot';
};
SimpleBot.prototype.getMove = function (game) {
var nMaxConsequentFails = 1000,
nMaxCleverTryFails = 900;
for (var consequentFails = 0; consequentFails < nMaxConsequentFails; ++consequentFails) {
var tryCoord = {
x: _.random(g... | sochka/TicTacToeExtended-canvas | js/simple_bot.js | JavaScript | gpl-3.0 | 656 |
// list of points object, map_type dependant
// fields:
// .pt_index
// .pt
var river_points = [];
var current_parcours_id;
var current_deb; // debarquement (1) ou embarquement (0)
var current_river_obj;
/* Creates a point object */
function Point(lat,lon,previous_pt) {
this.lat = lat; // latitude in decima... | fparrel/wwsupdb | static/javascript/prepare.js | JavaScript | gpl-3.0 | 13,391 |
var __v=[
{
"Id": 945,
"Chapter": 310,
"Name": "wxWizard",
"Sort": 0
}
] | zuiwuchang/king-document | data/chapters/310.js | JavaScript | gpl-3.0 | 89 |
// Copyright 2015, 2016 Ethcore (UK) Ltd.
// This file is part of Parity.
// Parity 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.... | kushti/mpt | js/src/dapps/tokenreg/Application/application.js | JavaScript | gpl-3.0 | 1,704 |
var class_resa___pro_1_1_formularios_1_1_agregar_solicitud =
[
[ "AgregarSolicitud", "class_resa___pro_1_1_formularios_1_1_agregar_solicitud.html#a412476c1dcd5f6c8d56fe23a6ffdf7f0", null ],
[ "Dispose", "class_resa___pro_1_1_formularios_1_1_agregar_solicitud.html#a0bb7825df5bd3bfaf1ff574ffaf92297", null ],
... | ezequielgm25/Resa | V1.0/Documentos/Manual del sistema/HTML/class_resa___pro_1_1_formularios_1_1_agregar_solicitud.js | JavaScript | gpl-3.0 | 571 |
/* @flow */
import { Case } from '../Case';
export class PostTitle extends Case {
static text = 'Post title';
static parseCriterion(input: *) { return { patt: input }; }
static defaultConditions = { patt: '' };
static fields = ['post\'s title contains ', { type: 'text', id: 'patt' }];
static reconcilable = tru... | andytuba/Reddit-Enhancement-Suite | lib/modules/filteReddit/postCases/PostTitle.js | JavaScript | gpl-3.0 | 607 |
/**
* @module main application controller
* @description Runs socket.io and static http server, listens for client connections and directs user/room instances.
*
* @author cemckinley <cemckinley@gmail.com>
* @copyright Copyright (c) 2013 Author, contributors
* @license GPL v3
*/
var fs = require('f... | cemckinley/node-mud | server/app.js | JavaScript | gpl-3.0 | 1,571 |
// Copyright 2013-2021, University of Colorado Boulder
/**
* View for the 'Macro' screen.
*
* @author Chris Malley (PixelZoom, Inc.)
*/
import Property from '../../../../axon/js/Property.js';
import ScreenView from '../../../../joist/js/ScreenView.js';
import merge from '../../../../phet-core/js/merge.js';
import... | phetsims/ph-scale | js/macro/view/MacroScreenView.js | JavaScript | gpl-3.0 | 6,534 |
/**
* Piwik - free/libre analytics platform
*
* Series Picker control addition for DataTable visualizations.
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
(function ($, require) {
/**
* This class creates and manages the Series Picker for certain Dat... | Morerice/piwik | plugins/CoreVisualizations/javascripts/seriesPicker.js | JavaScript | gpl-3.0 | 5,845 |
//Scroll View
function scrollHandler(view, hscrollbar, vscrollbar){
this.view= view;
this.view.addEventListener('DOMMouseScroll', this, false);
this.view.addEventListener('mousewheel', this, false);
this.hListeners= [];
this.vListeners= [];
if (hscrollbar != undefined){
this.hscrollbar= hscrollbar;
this.h... | dmelian/imywa | www/script/frmx/lib.js | JavaScript | gpl-3.0 | 3,589 |
import { createGlobalStyle } from 'styled-components';
const GlobalStyle = createGlobalStyle`
.ant-breadcrumb {
display: flex;
align-items: center;
font-size: 10px;
color: #818181;
border-bottom: 1px solid #ccc;
}
`;
export default GlobalStyle;
| StamusNetworks/scirius | ui/app/global-styles.js | JavaScript | gpl-3.0 | 271 |
import React from 'react';
const Contact = () => ({
contactNext(){
var data = $("#questionInput").val();
if(data){
Session.set('contact', data);
FlowRouter.go("/register/6");
}else{
alert("Please enter your email.");
}
},
contactEnter(event){
if(event.key == 'Enter') {
... | jiyuu-llc/jiyuu | imports/old/signup/contact.js | JavaScript | gpl-3.0 | 1,094 |
/*
Copyright (C) 2016 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 distributed in th... | Whatsit2yaa/vast-tundra-84597 | include/admin_navigation.js | JavaScript | gpl-3.0 | 18,087 |
/**
* Swift-Cardinal Object Notation
* https://github.com/norstone-tech/scon
*
* Copyright (c) BlueStone Technological Enterprises Inc., 2016-2019
* Copyright (c) Norstone Technologies 2021
* Licensed under the GNU GPLv3 license.
*/
/* eslint-disable no-magic-numbers, no-mixed-operators, sort-keys */
"use strict... | BlueStone-Tech-Enterprises/scon | lib/conf.js | JavaScript | gpl-3.0 | 2,496 |
import store from "@/store";
import { modV } from "@/modv";
import Vue from "vue";
const state = {
width: 200,
height: 200,
previewX: 0,
previewY: 0,
previewWidth: 0,
previewHeight: 0
};
// getters
const getters = {
width: state => state.width,
height: state => state.height,
area: state => state.wid... | 2xAA/modV | src/store/modules/size.js | JavaScript | gpl-3.0 | 3,477 |
(function($, _){
/**
* @summary A reference to the jQuery object the plugin is registered with.
* @memberof FooGallery
* @function $
* @type {jQuery}
* @description This is used internally for all jQuery operations to help work around issues where multiple jQuery libraries have been included in a single pag... | fooplugins/foogallery-client-side | src/core/js/__foogallery.js | JavaScript | gpl-3.0 | 3,019 |
/*
* Geoide Composer, configuration tool for Geoide Viewer
* Copyright (C) 2016 IDgis
* See license:
* https://github.com/IDgis/geoide-admin/blob/master/LICENSE
*/
import './startup.js';
import './jsonapi.js';
import './json_gv_api.js';
import './json_map_api.js';
import './parse_capabilities.js';
| IDgis/geoide-admin | imports/startup/server/index.js | JavaScript | gpl-3.0 | 306 |
// Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt
frappe.query_reports["GSTR-1"] = {
"filters": [
{
"fieldname":"company",
"label": __("Company"),
"fieldtype": "Link",
"options": "Company",
"reqd": 1,
"default": frappe.... | tfroehlich82/erpnext | erpnext/regional/report/gstr_1/gstr_1.js | JavaScript | gpl-3.0 | 893 |
module.exports = {
root: true,
env: {
node: true,
},
extends: ['plugin:vue/essential', '@vue/prettier', '@vue/typescript'],
rules: {
'vue/max-attributes-per-line': 'off',
'vue/html-self-closing': 'off',
},
parserOptions: {
parser: '@typescript-eslint/parser',
},
}
| phegman/vue-mapbox-gl | .eslintrc.js | JavaScript | gpl-3.0 | 297 |
"use strict";
/*global templates, ajaxify, utils, bootbox, overrides, socket, config, Visibility*/
var app = app || {};
app.isFocused = true;
app.currentRoom = null;
app.widgets = {};
app.cacheBuster = null;
(function () {
var showWelcomeMessage = !!utils.params().loggedin;
templates.setGlobal('config', config);
... | coolme200/NodeBB | public/src/app.js | JavaScript | gpl-3.0 | 13,309 |
/*
* File: app/view/createBucketWindow.js
*
* This file was generated by Sencha Architect version 3.0.4.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 4.2.x library, under independent license.
* License of Sencha Architect does not include license for Ext JS 4.2.x. For more... | OpenSourceConsulting/athena-peacock | console/app/view/createBucketWindow.js | JavaScript | gpl-3.0 | 4,523 |
var subdomain = require('express-subdomain');
var express = require('express');
var app = express();
var router = express.Router();
var moment = require('moment');
var time = moment();
var timeFormat = time.format('HH:mm:ss');
app.get('/', function(req, res) {
res.sendFile(__dirname + '/index.html');
});
app.listen(3... | ricven/qwns.org | app.js | JavaScript | gpl-3.0 | 369 |
'use strict';
module.exports = function() {
// Occupy the global variable of Chart, and create a simple base class
var Chart = function(item, config) {
this.construct(item, config);
return this;
};
// Globally expose the defaults to allow for user updating/changing
Chart.defaults = {
global: {
responsi... | danilor/DigitalKataclysm | web/assets/chartsjs/unkown/core/core.js | JavaScript | gpl-3.0 | 1,556 |
( function ( mw, $ ) {
/**
* LoginForm
* TODO: .js dédié à l'authentificatioin ...
*/
if ( mw.config.get('wgTitle') == 'Connexion' && $('.mgw-alert').length ) {
$('.mgw-alert').css({'margin':'0 0 1em 0', 'padding':'0.5em', 'width':'275px'});
$('.mgw-alert i').css({'margin-left':'0'});
$('#userloginForm .... | WikiValley/MGWiki | resources/ext.mgwiki.js | JavaScript | gpl-3.0 | 11,908 |
/// <reference path="/Content/base/ro/js/rocms.helpers.js" />
/// <reference path="base.js" />
function mapCategoriesToIds(categories) {
var result = $(categories).map(function () {
return {
heartId: this.heartId,
childrenCategories: this.childrenCategories ? mapCategoriesToIds(thi... | synweb/rocms | Shop/RoCMS.Shop.Web/Content/admin/shop/js/category.js | JavaScript | gpl-3.0 | 16,969 |
(function(){
var getDataBtn = document.getElementById('btn-getdata');
var content = document.getElementById('content');
getDataBtn.addEventListener('click',getCourseData);
function getCourseData(){
datacontext().getCourseSessions(function(courseSessions){
renderView(courseSessions);
});
}
function render... | filinils/FrontEndSeries | testApp/app/view.js | JavaScript | gpl-3.0 | 396 |
$(function () {
var setupNavbar = function () {
$('a').each(function(){
if ($(this).prop('href') == window.location.href) {
$(this).parents('li').addClass('active');
}
});
var login = $('ul.nav a[href="login"]').parent();
var alert = $('#alerts');
var ... | cjdellomes/OrgSoft | static/js/navbar.js | JavaScript | gpl-3.0 | 1,267 |