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 |
|---|---|---|---|---|---|
Tournament.resetGlobalVariables = function(){
Tournament.SELECTION = 5;
Tournament.NUM_TURNS = 10;
Tournament.INITIAL_AGENTS = [
{strategy:"tft", count:3},
{strategy:"all_d", count:3},
{strategy:"all_c", count:3},
{strategy:"grudge", count:3},
{strategy:"prober", count:3},
{strategy:"tf2t", count:3},
... | jonathancross/jonathancross.github.io | js/sims/Tournament.js | JavaScript | cc0-1.0 | 16,534 |
jsonp({"cep":"13273070","logradouro":"Rua Vico Levrero","bairro":"Jardim dos Manac\u00e1s","cidade":"Valinhos","uf":"SP","estado":"S\u00e3o Paulo"});
| lfreneda/cepdb | api/v1/13273070.jsonp.js | JavaScript | cc0-1.0 | 150 |
jsonp({"cep":"18604100","logradouro":"Rua Professor Armando Ognibene","bairro":"Jardim Brasil","cidade":"Botucatu","uf":"SP","estado":"S\u00e3o Paulo"});
| lfreneda/cepdb | api/v1/18604100.jsonp.js | JavaScript | cc0-1.0 | 154 |
jsonp({"cep":"29162060","logradouro":"Beco Santa Rita II","bairro":"Jardim Tropical","cidade":"Serra","uf":"ES","estado":"Esp\u00edrito Santo"});
| lfreneda/cepdb | api/v1/29162060.jsonp.js | JavaScript | cc0-1.0 | 146 |
jsonp({"cep":"02811100","logradouro":"Rua Em\u00edlia Marques Ferreira","bairro":"Jardim Monte Alegre (Zona Norte)","cidade":"S\u00e3o Paulo","uf":"SP","estado":"S\u00e3o Paulo"});
| lfreneda/cepdb | api/v1/02811100.jsonp.js | JavaScript | cc0-1.0 | 181 |
jsonp({"cep":"21241260","logradouro":"Rua Goita","bairro":"Vig\u00e1rio Geral","cidade":"Rio de Janeiro","uf":"RJ","estado":"Rio de Janeiro"});
| lfreneda/cepdb | api/v1/21241260.jsonp.js | JavaScript | cc0-1.0 | 144 |
jsonp({"cep":"89254500","logradouro":"Rua Jo\u00e3o Wiest J\u00fanior","bairro":"\u00c1gua Verde","cidade":"Jaragu\u00e1 do Sul","uf":"SC","estado":"Santa Catarina"});
| lfreneda/cepdb | api/v1/89254500.jsonp.js | JavaScript | cc0-1.0 | 168 |
jsonp({"cep":"86056500","logradouro":"Rua Primo Rossignolo","bairro":"Ol\u00edmpico","cidade":"Londrina","uf":"PR","estado":"Paran\u00e1"});
| lfreneda/cepdb | api/v1/86056500.jsonp.js | JavaScript | cc0-1.0 | 141 |
jsonp({"cep":"54792011","logradouro":"Travessa \u00c1lvares de Carvalho","bairro":"Aldeia dos Camar\u00e1s","cidade":"Camaragibe","uf":"PE","estado":"Pernambuco"});
| lfreneda/cepdb | api/v1/54792011.jsonp.js | JavaScript | cc0-1.0 | 165 |
process.on("uncaughtException", function(e) {
console.log(e);
});
| subtitle-master/subtitlemaster | public/node-main.js | JavaScript | epl-1.0 | 68 |
// Compiled by ClojureScript 0.0-2156
goog.provide('clojure.browser.repl');
goog.require('cljs.core');
goog.require('clojure.browser.event');
goog.require('clojure.browser.event');
goog.require('clojure.browser.net');
goog.require('clojure.browser.net');
clojure.browser.repl.xpc_connection = cljs.core.atom.call(null,nu... | tangrammer/open-stack-ui | out/clojure/browser/repl.js | JavaScript | epl-1.0 | 6,322 |
//生成菜单
var menuItem = Vue.extend({
name: 'menu-item',
props:{item:{},index:0},
template:[
'<li :class="{active: (item.type===0 && index === 0)}">',
'<a v-if="item.type === 0" href="javascript:;">',
'<i v-if="item.icon != null" :class="item.icon"></i>',
'<span>{{item.name}}</s... | LittleNoobLol/renren-crawler | renren-crawler/src/main/resources/static/js/index.js | JavaScript | epl-1.0 | 3,849 |
/**
* @author Jason Nicholls <nicholls.jason@gmail.com>
* @copyright 2018 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
var Clamp = require('../../../math/Clamp');
var Class = require('../../../utils/Class');
var Events = require('..... | boniatillo-com/PhaserEditor | source/v2/phasereditor/phasereditor.resources.phaser.code/phaser-master/src/cameras/2d/effects/RotateTo.js | JavaScript | epl-1.0 | 12,695 |
import Backbone from 'backbone'
import _ from 'underscore'
const showConfirmDialog = function (question, yes, no = null) {
window.STUDIP.Dialog.confirm(question, yes, no)
}
const showDialog = function (backboneView, dialogOptions) {
return new Promise(function (resolve, reject) {
const hygenicDialog... | luniki/CliqrPlugin | src/dialog.js | JavaScript | gpl-2.0 | 1,624 |
YUI.add('charts-dataprovider-tests', function(Y) {
//-------------------------------------------------------------------------
// Chart dataProvider Test Case
//-------------------------------------------------------------------------
function ChartDataProviderTestCase(cfg, type)
{
ChartData... | schancel/gameserver | public/js/yui3-3.12.0/src/charts/tests/unit/assets/charts-dataprovider-tests.js | JavaScript | gpl-2.0 | 9,741 |
/**
* Module vars
*/
export const READER_CONTENT_WIDTH = 800;
export const PHOTO_ONLY_MIN_WIDTH = 440;
export const PHOTO_ONLY_MAX_CHARACTER_COUNT = 85;
export const GALLERY_MIN_IMAGES = 4;
export const GALLERY_MIN_IMAGE_WIDTH = 300;
export const MIN_IMAGE_WIDTH = 144;
export const MIN_IMAGE_HEIGHT = 72;
| Automattic/wp-calypso | client/state/reader/posts/sizes.js | JavaScript | gpl-2.0 | 308 |
({
mod: 750,
owner: 'root',
group: 'sudo'
})
| luffah/Terminus | game/terminus/rootfs/usr/src/kernelfiles/item:certificate.js | JavaScript | gpl-2.0 | 51 |
// @flow
import {kvBookMap} from '../index'
import {authorMapper, chooseCover} from './functions'
import {clearInputs} from './util'
import {numberOfBooksToLoad} from './constants'
function whenLoaded(model, results, newBook) {
if (model.books && model.authors && model.config) {
if (results.length < numberOfBo... | Leeds-eBooks/ArcBase | js/modules/update.js | JavaScript | gpl-2.0 | 3,307 |
{
"number": "001",
"name": "Al Fatihah",
"taud": "اعوذ بالله من الشيطان الرجيم",
"ayat": [
{
"arabic": "١. \tبِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ",
"english": "1. \tIn the name of Allah, the Beneficent, the Merciful.",
"indonesian": "1. Dengan menyebut nama Allah Yang Maha P... | 9r3i/quran2 | json/001.js | JavaScript | gpl-2.0 | 9,837 |
// ==========================================================================
// Project: SproutCore Runtime
// Copyright: ©2011 Strobe Inc. and contributors.
// License: Licensed under MIT license (see license.js)
// ==========================================================================
var set = Em.set;
var g... | ltk/The-New-Jake-Site | wp-content/themes/jake/js/vendor/ember-touch/tests/system/gesture_test.js | JavaScript | gpl-2.0 | 1,760 |
'use strict';
var $$Array = require("../../lib/js/array.js");
var Curry = require("../../lib/js/curry.js");
var Caml_module = require("../../lib/js/caml_module.js");
var PA = Caml_module.init_mod([
"gpr_3931_test.ml",
3,
6
], {
TAG: /* Module */0,
_0: [[
/* Function */0,
... | bloomberg/ocamlscript | jscomp/test/gpr_3931_test.js | JavaScript | gpl-2.0 | 1,075 |
/* global describe, it, afterEach */
'use strict'
var Client = require('../../packages/node-xmpp-client')
var Stanza = Client.Stanza
require('should')
describe('client WebSocket', function () {
var jid = Math.random().toString(36).substring(7) + '@localhost'
var password = 'password'
var client = null
var r... | DkGr/virtualid | node-xmpp/test/integration/client-websocket.js | JavaScript | gpl-2.0 | 5,940 |
(function() {
$.fn.txteditor = function(options) {
var settings= $.extend({
url:'upload.php'
},options);
var popup = $(".txteditpop");
var popupcover = $('.txtback');
if (popup.length <= 0)
{
popup = $('<div class="txteditpop"><div class="txteditclose">X</div><d... | sarathsprakash/txteditor | txteditor.js | JavaScript | gpl-2.0 | 30,904 |
import request from '../../utils/request';
import querystring from 'querystring';
import { routerRedux } from 'dva/router';
import { query } from '../../services/permission';
export default {
namespace: 'permission',
state: {
permissions: [], // 用于存权限列表
permissionMap: {} // 用于存分组后的权限,key为分组编号,value为permiss... | iWantMoneyMore/ykj | ykj-web/src/models/permission/index.js | JavaScript | gpl-2.0 | 1,383 |
define('kv/form/Form', [
'require',
'../lib'
], function (require) {
var lib = require('../lib');
var $ = lib.dom;
function Form() {
Form.prototype.init.apply(this, arguments);
}
var defaultOpts = {
main: '',
props: {
id: '',
ac... | kaivean/fllddt | ot/Public/Home/dep/kv/1.0.0/asset/form/Form.js | JavaScript | gpl-2.0 | 10,383 |
function addNewCompetitorField(){
if ( document.getElementById('competitor-list') ) {
var $field_holder = document.getElementById('competitor-list');
var $template_field = $field_holder.getElementsByTagName('tr')[0].cloneNode(true);
//reset the values
for(var $i = 0; $i < $template_field.getElementsByTagName(... | AznStyle/to | wp-content/plugins/wordpress-google-seo-positioner/js/script.js | JavaScript | gpl-2.0 | 1,873 |
/*----------------------------------------------------------------------------*/
/* (c) 2015 Ivan Reyné Ferrando */
/* */
/* http://ivanreyne.ninja ... | ivanreyne/scriba | examples/jsModulesWithJSDoc/www/js_src/app/modules/app/AppModule1.js | JavaScript | gpl-2.0 | 2,698 |
/**
* Renders an isbn, or a noisbn if we don't have one.
*/
export default (isbn, noIsbnReason = 'monograph') => {
if (isbn) {
return { isbn };
}
return { noisbn: { '@reason': noIsbnReason } };
};
| pubpub/pubpub | utils/crossref/schema/isbn.js | JavaScript | gpl-2.0 | 205 |
/*global module, require*/
module.exports = function (grunt) {
'use strict';
var autoprefixerBrowsers = ['last 3 versions', 'ie >= 9'],
globalConfig = {
src: 'src',
dest: 'dev'
},
gruntConfig = {
pkg: grunt.file.readJSON('package.json'),
... | brandonhundt/laketownhound | sites/all/libraries/mediumeditor/Gruntfile.js | JavaScript | gpl-2.0 | 5,389 |
var _gaq=_gaq||[];_gaq.push(['_setAccount','UA-18553584-3']);_gaq.push(['_trackPageview']);(function(){var ga=document.createElement('script');ga.type='text/javascript';ga.async=true;ga.src=('https:'==document.location.protocol?'https://ssl':'http://www')+'.google-analytics.com/ga.js';var s=document.getElementsByTagNam... | pde/tosback2-experimental-data | crawls/www.wireless.att.com/Wireless-Plan-Terms/raw/www.realpageslive.com/includes/google_analytics.js | JavaScript | gpl-2.0 | 372 |
/*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net)
* Licensed under the MIT License (LICENSE.txt).
*
* Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
* Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
* Thanks to: Seamus Leahy for adding deltaX and ... | brisull/cityyouthnow | sites/all/modules/media_browser_plus/js/jquery.mousewheel.js | JavaScript | gpl-2.0 | 2,281 |
/**
* Textarea Element
*
* @copyright: Copyright (C) 2005-2015, fabrikar.com - All rights reserved.
* @license: GNU/GPL http://www.gnu.org/copyleft/gpl.html
*/
var FbTextarea = new Class({
Extends: FbElement,
initialize: function (element, options) {
this.plugin = 'fabriktextarea';
this.parent(element, o... | LGBGit/tierno | plugins/fabrik_element/textarea/textarea.js | JavaScript | gpl-2.0 | 10,551 |
function start() {
if(cm.haveItem(4031074)){
var em = cm.getEventManager("Trains");
if (em.getProperty("entry") == "true") {
cm.sendYesNo("Do you want to go to Ludibrium?");
} else {
cm.sendOk("The train to Ludibrium is already travelling, please be patient for ... | xstory61/server | scripts/npc/2012013.js | JavaScript | gpl-2.0 | 1,023 |
angular.module('app.controllers.MyProjectsCtrl', ['ngRoute'])
.controller('MyProjectsCtrl', ['$scope','$rootScope', '$modal', '$sce', '$window', '$document', 'projectsService', 'presentationDataService', function($scope, $rootScope, $modal, $sce, $window, $document, projectsService, presentationDataService) {
... | DazzleWorks/Premi | public/app/controllers/user/MyProjectsCtrl.js | JavaScript | gpl-2.0 | 8,322 |
$(document).ready(function(){
$('#scene').parallax();
}) | monkeythecoder/wp_lisder | wp-content/themes/lisdercustom/js/parallax.js | JavaScript | gpl-2.0 | 57 |
// Set environment
let isProduction = false;
// Load gulp
const gulp = require('gulp');
// Load all plugins in 'devDependencies' into the variable $
const $ = require('gulp-load-plugins')({
pattern: ['*'],
scope: ['devDependencies'],
});
// Icons
gulp.task('icons', () => {
const stream = gulp.src(['./assets/ic... | row-n/rowan-parkinson | gulpfile.babel.js | JavaScript | gpl-2.0 | 3,893 |
var searchData=
[
['user_20interface_20_26_20templates',['User Interface & Templates',['../group__ui_a_p_i.html',1,'']]],
['unimport',['unimport',['../class_dataface___javascript_tool.html#a0601044814d03c05fbe4494816c9f0c1',1,'Dataface_JavascriptTool']]],
['unregistereventlistener',['unregisterEventListener',... | HeartCrafter/xataface | doc_output/html/search/all_75.js | JavaScript | gpl-2.0 | 2,599 |
import './SampleView.css';
import React from 'react';
import {
OverlayTrigger, Button, DropdownButton, MenuItem
} from 'react-bootstrap';
import 'fabric';
// config exported by webpack at buildtime
// eslint-disable-next-line import/no-unresolved
import config from 'guiConfig';
import OneAxisTranslationControl from ... | marcus-oscarsson/mxcube3 | mxcube3/ui/components/SampleView/SampleControls.js | JavaScript | gpl-2.0 | 12,538 |
'use strict';
app.controller('SearchCtrl', function ($scope, $routeParams, Post){
$scope.posts = [];
$scope.previewChars = 5;
var pageNum = $routeParams.pageNumber || 1;
$scope.currentPage = pageNum;
$scope.searchTerm = $routeParams.searchTerm;
$scope.search = function(pageNum) {
... | nkalodimas/socioblog | front-end/app/scripts/controllers/search.js | JavaScript | gpl-2.0 | 1,083 |
// Add empty lines after closing curly braces and docBlocks.
module.exports = {
readme: {
src: [
'README.txt',
],
overwrite: true,
replacements: [ {
from: /Stable tag:.*$/m,
to: 'Stable tag: <%= package.version %>'
} ]
},
main: {
src: [
'<%= package.name %>.php',
],
overwrite: true,
rep... | iamdmitrymayorov/jivosite | grunt/replace.js | JavaScript | gpl-2.0 | 765 |
#!/usr/bin/env node
// Logger
// **log.js** acts as a common logger.
// Exports itself as a function which recieves the
// log level as it's single parameter. The log level
// defaults to `info` but can be over-ridden the passed
// in parameter or opts
var logger = require('winston'),
opts = require('./opts')... | lovelyotter/micro-site | lib/log.js | JavaScript | gpl-2.0 | 711 |
/*!
* WeX5 v3 (http://www.justep.com)
* Copyright 2015 Justep, Inc.
* Licensed under Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
*/
define(function() {
//main api object
var wAPI = {};
wAPI.normalize = function(name, normalize) {
return normalize(name);
}
wAPI.l... | kyf/laoyou | public/x5/UI2/system/lib/require/w.js | JavaScript | gpl-2.0 | 398 |
(function() {
if( typeof tinymce!=='undefined' ){
if( typeof(tinymce.majorVersion)!=='undefined' && parseInt(tinymce.majorVersion)<4 ){
tinymce.create( "tinymce.plugins.themeton_shortcode", {
init: function(ed,e) { },
createControl:function(d,e)
{
var ed = tinymce.activeEditor;
if(... | rodrigodemingo/abu_dhabi_ports | wp-content/themes/mana/framework/Pagebuilder/js/tinymce_plugin.js | JavaScript | gpl-2.0 | 3,658 |
/**
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license/
*/
/**
* This file was added automatically by CKEditor builder.
* You may re-use it at any time to build CKEditor again.
*
* If you would ... | WBCE/WBCE_CMS | wbce/modules/ckeditor/ckeditor/build-config.js | JavaScript | gpl-2.0 | 3,138 |
KISSY.Editor.add("multi-upload",function(b){var a=KISSY.Editor;if(!a.Env.mods["multi-upload/dialog"]){a.add({"multi-upload/dialog":{attach:false,charset:"utf-8",fullpath:a.Utils.debugUrl("../biz/ext/plugins/upload/dialog/plugin.js")}});a.add({"multi-upload/dialog/support":{attach:false,charset:"utf-8",requires:["progre... | rylynchen/ekff | sites/all/libraries/kissy/editor/biz/ext/plugins/upload/plugin-min.js | JavaScript | gpl-2.0 | 812 |
angular
.module('app')
.controller('authController', ['$scope', '$location', '$log', 'userModel', 'userService', 'session', 'storageService', function($scope, $location, $log, userModel, userService, session, storageService) {
if(session){
storageService.populateStorageData(session);
... | animal-crossing/animal-crossing.github.io | public/app/auth/authController.js | JavaScript | gpl-2.0 | 3,078 |
document.addEventListener('DOMContentLoaded', function () {
var msInMin = 1000 * 60;
var maxMin = 30;
var setBadge = function (message) {
chrome.browserAction.setBadgeText({text: String(message)});
};
var displayMessage = function (message) {
chrome.tabs.query({active: true, currentWindow: true}, function(... | JackHolland/lucid | background.js | JavaScript | gpl-2.0 | 823 |
// Copyright 2020 Las Venturas Playground. All rights reserved.
// Use of this source code is governed by the MIT license, a copy of which can
// be found in the LICENSE file.
describe('SettingsCommand', (it, beforeEach) => {
let announce = null;
let gunther = null;
let russell = null;
beforeEach(asyn... | LVPlayground/playground | javascript/features/player_commands/commands/settings_command.test.js | JavaScript | gpl-2.0 | 2,659 |
angular.module('fitnessapp.directives')
.directive('fitnessappEdit', function () {
return {
restrict: 'EA', //E = element, A = attribute, C = class, M = comment
controller: function(editpanel, $scope){
$scope.vm = editpanel;
... | anthonybjturner/2015FallWeb | FitnessApp/spa/public/scripts/directives/editPanel.js | JavaScript | gpl-2.0 | 678 |
/**
* The Customizer-specific functionality of the plugin.
* Handles the selective refresh logic for widgets in the Customizer.
*
* @since 1.1.5
* @author Weston Ruter <weston@xwp.co>
*/
( function( $ ) {
if ( 'undefined' === typeof wp || ! wp.customize || ! wp.customize.selectiveRefresh || ! wp.customize.wid... | ajvillegas/easy-widget-columns | admin/js/customizer-preview.js | JavaScript | gpl-2.0 | 1,262 |
var router = require('express').Router(),
models = require('../models/jobs.js'),
mongoose = require('mongoose');
// base = /api/results
router.get('/:limit?', function(req, res) {
models.job.find({ done: true }).limit(req.params.limit || 10).exec(function(err, result) {
if (!err) {
res... | poseidon4o/eval-me | routers/results.js | JavaScript | gpl-2.0 | 669 |
import F2 from '@antv/f2';
const data = [
{
year: '2001',
sales: 1500
},
{
year: '2002',
sales: 5500
},
{
year: '2003',
sales: 1200
},
{
year: '2004',
sales: 2000
}
];
const chart = new F2.Chart({
id: 'container',
pixelRatio: window.devicePixelRatio
});
chart.sour... | antvis/g2-mobile | examples/component/image/demo/image.js | JavaScript | gpl-2.0 | 808 |
function AboutAssistant() {
/* this is the creator function for your scene assistant object. It will be passed all the
additional parameters (after the scene name) that were passed to pushScene. The reference
to the scene controller (this.controller) has not be established yet, so any initialization
that ... | Tibfib/Countdown-Puzzles | app/assistants/about-assistant.js | JavaScript | gpl-2.0 | 1,402 |
/*! Magnific Popup - v1.0.0 - 2015-01-03
* http://dimsemenov.com/plugins/magnific-popup/
* Copyright (c) 2015 Dmitry Semenov; */
;(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory);
} else if (typeof exports === 'object') {... | sivas111ru/photogallery | wp-content/themes/resi/js/jquery.magnific-popup.js | JavaScript | gpl-2.0 | 46,397 |
var express = require("express");
var router = express.Router();
var sqlite3 = require("sqlite3").verbose();
var fs = require('fs');
var db = new sqlite3.Database("admin/package.sqlite3");
/* GET home page. */
router.get("/", function(req, res, next) {
db.serialize(function() {
var repo = req.originalUrl.split("/")... | ArchLinuxJP/archweb-jp | routes/files.js | JavaScript | gpl-2.0 | 1,648 |
//Returns the object's class, Array, Date, RegExp, Object are of interest to us
var getClass = function (val) {
return Object.prototype.toString.call(val)
.match(/^\[object\s(.*)\]$/)[1];
};
//Defines the type of the value, extended typeof
var whatis = function (val) {
if (val === undefin... | ciscucordo/escacsvdt | public/escacsvdt/resources/js/utils.js | JavaScript | gpl-2.0 | 6,049 |
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|21 Nov 2012 08:21:00 -0000
vti_extenderversion:SR|5.0.2.6790
vti_lineageid:SR|{8FC77C2D-BDDE-424E-B329-4A13A5C2B325}
vti_cacheddtm:TX|21 Nov 2012 08:21:00 -0000
vti_filesize:IR|3200
vti_backlinkinfo:VX|
| JustinTBayer/chapter-manager | js/DataTables-1.9.4/media/unit_testing/tests_onhold/6_delayed_rendering/_vti_cnf/sPaginationType.js | JavaScript | gpl-2.0 | 258 |
( function( api ) {
// Extends our custom "example-1" section.
api.sectionConstructor['fportfolio'] = api.Section.extend( {
// No events for this type of section.
attachEvents: function () {},
// Always make the section active.
isContextuallyActive: function () {
return true;
}
} );
} )( wp.customiz... | tishonator/fportfolio | customize-pro/customize-controls.js | JavaScript | gpl-2.0 | 325 |
var searchData=
[
['taskcheck_5ffor_5fstack_5foverflow',['taskCHECK_FOR_STACK_OVERFLOW',['../d5/d73/StackMacros_8h.html#a48d287f599f5c139ae0764f024368806',1,'StackMacros.h']]],
['taskdisable_5finterrupts',['taskDISABLE_INTERRUPTS',['../db/da4/task_8h.html#aa455a648c2224964ee57758b8794198e',1,'task.h']]],
['tasken... | kammce/SJSU-DEV-Linux | docs/api/html/search/defines_12.js | JavaScript | gpl-2.0 | 20,298 |
var otr = require("../index.js");
var fs = require("fs");
var print = console.error;
var user1 = new otr.User({
keys: '~/alice.keys'
});
var account = user1.account("alice", "xmpp");
user1.accounts().forEach(function (account) {
console.log("account:", account.name());
});
print("key fingerprint:", account.fi... | mnaamani/otr4-em | examples/alice-load-key.js | JavaScript | gpl-2.0 | 1,711 |
gx.widgets.module("tooltip_icon",[],function(t){"use strict";var n=$(this),e={type:"info"},i=$.extend(!0,{},e,t),a={},r=function(){var t=n.parents("[data-config-key]:first"),e=!!t.length;if(e){var i=t.find("img:first"),a=!!i.length;a&&(n.append("<br><br>"),n.append(i))}return n.html()},o=function(){var t;switch(i.type)... | carlosway89/testshop | admin/html/assets/javascript/engine/widgets/tooltip_icon.min.js | JavaScript | gpl-2.0 | 889 |
module.exports = function(grunt) {
'use strict';
// Force use of Unix newlines
grunt.util.linefeed = '\n';
// Find what the current theme's directory is, relative to the WordPress root
var path = process.cwd();
path = path.replace(/^[\s\S]+\/wp-content/, "\/wp-content");
var CSS_LESS_FILE... | uniteddiversity/Largo | Gruntfile.js | JavaScript | gpl-2.0 | 4,744 |
$(function() {
$.fn.serializeFormJSON = function() {
var o = {};
var a = this.serializeArray();
$.each(a, function() {
if (o[this.name]) {
if (!o[this.name].push) {
o[this.name] = [o[this.name]];
}
o[this.name].push(this.value || '');
} e... | cmsandiga/yoreclamo | yoreclamo-web/src/main/resources/public/js/app.js | JavaScript | gpl-2.0 | 2,040 |
/*
* WPtouch 1.9.x -The WPtouch Core JS File
*/
/////-- Let's setup our namspace in jQuery -- /////
var $wpt = jQuery.noConflict();
if ( (navigator.platform == 'iPhone' || navigator.platform == 'iPod') && typeof orientation != 'undefined' ) {
var touchStartOrClick = 'touchstart';
} else {
var touchStartOrClick ... | djudd/nycga2 | wp-content/plugins/wptouch/themes/core/core.js | JavaScript | gpl-2.0 | 4,193 |
/*! UIkit 2.22.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
(function(UI) {
"use strict";
var active = false, hoverIdle;
UI.component('dropdown', {
defaults: {
'mode' : 'hover',
'remaintime' : 800,
'justify' : false,
... | daltonnyx/canvasFurniture | js/core/dropdown.js | JavaScript | gpl-2.0 | 13,344 |
describe('ContextMenu', function () {
var id = 'testContainer';
beforeEach(function () {
this.$container = $('<div id="' + id + '"></div>').appendTo('body');
});
afterEach(function () {
if (this.$container) {
destroy();
this.$container.remove();
if ($('ul.context-menu-list').length ... | javalidigital/udof2015 | wp-content/plugins/easy-tables-vc/assets/lib/jquery-handsontable/test/jasmine/spec/plugins/contextMenuSpec.js | JavaScript | gpl-2.0 | 13,703 |
showWord(["n.","Obstak, difikilte. Li ap yon enkonvenyan pou mwen fè tout wout sa a. "
]) | georgejhunt/HaitiDictionary.activity | data/words/enkonvenyan_enkonveyan_.js | JavaScript | gpl-2.0 | 90 |
/*
* Metadata - jQuery plugin for parsing metadata from elements
* VERSION 2.0
*
* Copyright (c) 2006 John Resig, Yehuda Katz, J�örn Zaefferer, Paul McLanahan
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* R... | healthcommcore/cmop | components/com_comprofiler/js/jquery-1.3.2/jquery.metadata.js | JavaScript | gpl-2.0 | 3,950 |
/**
* External dependencies
*/
import { expect } from 'chai';
/**
* Internal dependencies
*/
import {
isRequestingPostCounts,
getAllPostCounts,
getAllPostCount,
getMyPostCounts,
getMyPostCount,
getNormalizedPostCounts,
getNormalizedMyPostCounts
} from '../selectors';
describe( 'selectors', () => {
describ... | tinkertinker/wp-calypso | client/state/posts/counts/test/selectors.js | JavaScript | gpl-2.0 | 6,197 |
#!/usr/bin/env node
require('./proof')(1, function (parseEqual) {
parseEqual('foo: l16', [
{ name: 'foo'
, signed: false
, bits: 16
, endianness: 'l'
, bytes: 2
, type: 'n'
, exploded: false
, arrayed: false
, repeat: 1
}
], 'parse ... | isvissu/optana | node_modules/packet/t/tokenizer/little-endian-word.t.js | JavaScript | gpl-2.0 | 362 |
var through = require( "through" )
var test = require( "tape" )
var duplex = require( "../index" )
var readable = through()
var writable = through( write )
var written = 0
var data = 0
var stream = duplex( writable, readable )
function write() {
written++
}
stream.on( "data", ondata )
function ondata() {
data++... | tracyapps/chad | node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/stream-combiner/node_modules/duplexer/test/index.js | JavaScript | gpl-2.0 | 523 |
var searchData=
[
['endinghash',['endingHash',['../interface_model.html#a3a3aa4972b9e878cf839228535944a82',1,'Model']]],
['endpoint',['endPoint',['../interface_causal_link_view.html#a8182eda9bbf2964ae5df72b56cabffb0',1,'CausalLinkView::endPoint()'],['../interface_new_causal_link.html#a8182eda9bbf2964ae5df72b56cabff... | mdburch/GroupModeling | Documentation/html/search/properties_65.js | JavaScript | gpl-2.0 | 586 |
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|21 Nov 2012 08:20:42 -0000
vti_extenderversion:SR|5.0.2.6790
vti_lineageid:SR|{A703C3E8-2F39-4BBE-9658-4461ADA56295}
vti_cacheddtm:TX|21 Nov 2012 08:20:42 -0000
vti_filesize:IR|5987
vti_backlinkinfo:VX|
| JustinTBayer/chapter-manager | js/DataTables-1.9.4/media/unit_testing/tests_onhold/4_server-side/_vti_cnf/aaSorting.js | JavaScript | gpl-2.0 | 258 |
var map = L.map('clom_map');
L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6IjZjNmRjNzk3ZmE2MTcwOTEwMGY0MzU3YjUzOWFmNWZhIn0.Y8bhBaUMqFiPrDRW9hieoQ', {
maxZoom: 18,
id: 'mapbox.streets'
}).addTo(map);
function onLocationFound(e) {
var radius = e.accuracy / ... | pmbaldha/wp-current-location-on-map | js/map-bind.js | JavaScript | gpl-2.0 | 660 |
Drupal.behaviors.bbcom_content_preview = function (context) {
if (!Drupal.onBeforeUnload.callbackExists('bbcom_content_preview')) {
Drupal.onBeforeUnload.addCallback('bbcom_content_preview', function () {
return Drupal.t('This is just a preview! You are about to leave this page without saving.');
});
... | dsnopek/bbcom | drupal/sites/all/modules/bbcom/bbcom_content/content-preview.js | JavaScript | gpl-2.0 | 510 |
// postgre database module and initialization
var pg = require('pg');
var connectionString = process.env.DATABASE_URL || 'postgres://localhost:5432/betters';
var client = new pg.Client(connectionString);
client.connect();
var query = client.query('CREATE TABLE items(id SERIAL PRIMARY KEY, text VARCHAR(40) not null, co... | josegilmon/betters | lib/database.js | JavaScript | gpl-2.0 | 386 |
(function ($) {
/**
* Toggle the visibility of a fieldset using smooth animations.
*/
Drupal.toggleFieldset = function (fieldset) {
var $fieldset = $(fieldset);
if ($fieldset.is('.collapsed')) {
var $content = $('> .fieldset-wrapper', fieldset).hide();
$fieldset
.removeClass('collapsed')
... | phpindonesia/official-website | sites/default/files/js/js_Q1fQitZLOXFUFfgq9dbZs4LTTV6_QPIW-VCR8Ju7beU.js | JavaScript | gpl-2.0 | 3,428 |
"use strict";
var _prototypeProperties = function (child, staticProps, instanceProps) { if (staticProps) Object.defineProperties(child, staticProps); if (instanceProps) Object.defineProperties(child.prototype, instanceProps); };
var _get = function get(object, property, receiver) { var desc = Object.getOwnPropertyDes... | Prodigious-Aim-Solutions/Kronicle6 | build/lib/View.js | JavaScript | gpl-2.0 | 3,916 |
/*!
* pace.js v1.2.4
* https://github.com/CodeByZach/pace/
* Licensed MIT © HubSpot, Inc.
*/
(function() {
var AjaxMonitor, Bar, DocumentMonitor, ElementMonitor, ElementTracker, EventLagMonitor, Evented, Events, NoTargetError, Pace, RequestIntercept, SOURCE_KEYS, Scaler, SocketRequestTracker, XHRRequestTracker, ad... | Cacti/cacti | include/js/pace.js | JavaScript | gpl-2.0 | 25,868 |
var searchData=
[
['f',['f',['../unionjvalue.html#ad32f5996f5d0f5fb93fb38ef83a74eb0',1,'jvalue']]],
['far_5fpreasure',['far_preasure',['../svm-train_8cpp.html#a57ce01656059264c677404c310f3a04e',1,'far_preasure(): svm-train.cpp'],['../_2svm-train_8cpp.html#a57ce01656059264c677404c310f3a04e',1,'far_preasure():&#... | Vastlab/Wildlifecam | jni/doxygen/html/search/variables_66.js | JavaScript | gpl-2.0 | 1,597 |
var KarelDrawer = (function () {
function KarelDrawer(karel, canvas) {
this.smallCircleRadius = 2;
this.largeCircleRadius = 5;
this.karel = karel;
this.context = canvas.getContext("2d");
}
KarelDrawer.prototype.draw = function () {
var cellCenter = this.karel.world.ge... | joymon/Karel | src/js/KarelDrawer.js | JavaScript | gpl-2.0 | 2,034 |
$(window).load(function(){FusionCharts.ready(function () {
var revenueChart = new FusionCharts({
type: 'column2d',
renderAt: 'chart-container',
width: '500',
height: '300',
dataFormat: 'json',
dataSource: {
"chart": {
"caption": "Monthly re... | sguha-work/fiddletest | fiddles/Chart/Column-Chart/Simple-Column-Chart-in-JavaScript_593/demo.js | JavaScript | gpl-2.0 | 1,984 |
javascript:(function(){
lns = document.querySelectorAll('p.altte');
if (lns.length) {
for (i = 0; i<lns.length; i++) {
lns[i].remove();
}
return;
}
lns = document.querySelectorAll('div>a>div>img');
for (i = 0; i<lns.length; i++) {
if (!lns[i].getAttribute('alt')) {
continue;
}
var ... | ltlollo/misc | webpills/alt.js | JavaScript | gpl-2.0 | 639 |
/**
* @class
* @classdesc Represent a model.
* @extends VVGL.SceneData
* @param {VVGL.RenderMode} [renderMode=VVGL.RenderMode.TRIANGLES]
*/
VVGL.Mesh = function (renderMode) {
VVGL.SceneData.call(this, "mesh");
renderMode = renderMode !== undefined ? renderMode : VVGL.RenderMode.TRIANGLES;
this.verticesBuffer... | Aracthor/libvvgl | sources/3D/mesh/Mesh.js | JavaScript | gpl-2.0 | 4,989 |
jQuery(function($){$.datepicker.regional['fr-CH']={closeText:'Fermer',prevText:'<Préc',nextText:'Suiv>',currentText:'Courant',monthNames:['Janvier','Février','Mars','Avril','Mai','Juin','Juillet','Août','Septembre','Octobre','Novembre','Décembre'],monthNamesShort:['Jan','Fév','Mar','Avr','Mai','Jun','Jul','Ao... | alfasado/mt-static-min | mt-static/jqueryui/i18n/jquery.ui.datepicker-fr-CH.js | JavaScript | gpl-2.0 | 700 |
ed.define('chosen', ['edjquery'], function($) {
var jQuery = $;
/*!
Chosen, a Select Box Enhancer for jQuery and Prototype
by Patrick Filler for Harvest, http://getharvest.com
Version 1.4.2
Full source at https://github.com/harvesthq/chosen
Copyright (c) 2011-2015 Harvest http://getharvest.com
MIT License, https://... | quanghung0404/it2tech | media/com_easydiscuss/scripts/vendors/jquery.chosen.js | JavaScript | gpl-2.0 | 44,215 |
// $Id$
// Run the following code when the DOM has been fully loaded.
jQuery(document).ready(function () {
// Attach some code to the click event for the
// link with class "plusone-link".
jQuery('a.plusone-link').click(function () {
// When clicked, first define an anonymous function
// to... | alonmoor/Bam-Change-Managment | sites/all/modules/custom/plusone/plusone.js | JavaScript | gpl-2.0 | 967 |
// MooTools: the javascript framework.
// Load this file's selection again by visiting: http://mootools.net/more/a48fe2353ed8fa38be320f8557db4ff2
// Or build this file again with packager using: packager build More/Class.Binds More/Element.Measure
/*
---
copyrights:
- [MooTools](http://mootools.net)
license... | xmarlem/BM_stage | components/com_rseventspro/assets/js/chosen/mootools-more-1.4.0.1.js | JavaScript | gpl-2.0 | 2,721 |
import { get } from 'lodash';
import shouldCalypsoifyJetpack from 'calypso/state/selectors/should-calypsoify-jetpack';
export const isEligibleForGutenframe = ( state, siteId ) => {
return (
shouldCalypsoifyJetpack( state, siteId ) &&
get( state, [ 'gutenbergIframeEligible', siteId ], true )
);
};
export default... | Automattic/wp-calypso | client/state/gutenberg-iframe-eligible/is-eligible-for-gutenframe.js | JavaScript | gpl-2.0 | 346 |
/**
* Javascript for tagindex management
*
* @author Gina Haeussge, Michael Klier <dokuwiki@chimeric.de>
* @author Andreas Gohr <andi@splitbrain.org>
*/
/**
* Class to hold some values
*/
function plugin_tagindex_class(){
this.pages = null;
this.page = null;
this.sack = null;
this.done = 1;
... | foozzi/linuxeed.org | lib/plugins/tag/script.js | JavaScript | gpl-2.0 | 3,315 |
/**
* @name jQuery Countdown Plugin
* @author Martin Angelov
* @version 1.0
* @url http://tutorialzine.com/2011/12/countdown-jquery/
* @license MIT License
*/
(function($){
// Number of seconds in every time division
var days = 24*60*60,
hours = 60*60,
minutes = 60;
// Creating the plugin
$.fn.... | exponentcms/exponent-cms | external/jquery/addons/js/jquery.countdown.js | JavaScript | gpl-2.0 | 4,105 |
// Custom reveal.js integration
(function(){
var isEnabled = true;
document.querySelector( '.reveal' ).addEventListener( 'mousedown', function( event ) {
if( event.altKey && isEnabled ) {
event.preventDefault();
zoom.to({ element: event.target, pan: false });
}
} );
Reveal.addEventListener( 'overviewsho... | PHPDX/DatabaseDesignBasics | plugin/zoom-js/zoom.js | JavaScript | gpl-2.0 | 7,696 |
/**
* @version SVN: $Id: dbtables.js 417 2011-06-12 18:53:47Z elkuku $
* @package EasyCreator
* @subpackage Javascript
* @author Nikolai Plath {@link http://www.nik-it.de}
* @author Created on 03-Mar-2008
* @license GNU/GPL, see JROOT/LICENSE.php
*/
/**
*
*/
//function registerTable(ecr_project... | olafzieger/il-castagneto-cms | administrator/components/com_easycreator/assets/js/dbtables.js | JavaScript | gpl-2.0 | 8,197 |
define("Bar", [ "Stats" ], function (Stats) {
function Bar (screenWidth, screenHeight, position) {
this.screenWidth = screenWidth;
this.screenHeight = screenHeight;
this.position = position || "top-left";
this.width = 200;
this.height = 20;
}
Bar.prototype.getPoint = function (positio... | riston/typing-war | public/js/Bar.js | JavaScript | gpl-2.0 | 1,568 |
// Search script generated by doxygen
// Copyright (C) 2009 by Dimitri van Heesch.
// The code in this file is loosly based on main.js, part of Natural Docs,
// which is Copyright (C) 2003-2008 Greg Valure
// Natural Docs is licensed under the GPL.
var indexSectionsWithContent =
{
0: "000000000000000000000000000000... | fluks/pdfsearch | doc/html/search/search.js | JavaScript | gpl-2.0 | 24,123 |
jQuery(document).on( 'change', '.dual-color-spacing-option', function(){
if ( jQuery(this).val() === "no" ) {
jQuery(".uabb-add-spacing").val('');
}
}); | isabisa/nccdi | wp-content/plugins/bb-ultimate-addon/modules/dual-color-heading/js/settings.js | JavaScript | gpl-2.0 | 160 |
jQuery(function($) {
var auction_admin_functions = {
init: function() {
this.setStartDatepicker($('.js-start-datepicker'));
this.setEndDatepicker($('.js-end-datepicker'));
this.dateListen();
this.countryListen();
this.addDate();
this.re... | madslundt/wp-auction | wp-content/plugins/auction/js/admin_functions.js | JavaScript | gpl-2.0 | 6,053 |
window.PTL = window.PTL || {};
PTL.dropdown = PTL.dropdown || {};
(function (ns, $) {
var sel = {
data: {
toggle: '[data-action="toggle"]'
},
target: '.dropdown-menu',
targetItems : 'li:not(.menu-divider) a',
open: 'show-dropdown'
};
var keys = {
ESC: 27,
UP: 38,
DOWN: 40... | evernote/pootle | pootle/static/js/dropdown.js | JavaScript | gpl-2.0 | 2,290 |
function fixedbsmenu(){
if(jQuery(window).width() < 604){
//Static Top
document.onscroll = function() {
if( jQuery(window).scrollTop() > jQuery('header').height() ) {
jQuery('nav#navigation').addClass('fixednav');
}
else {
j... | cngerra/my_portfolio | wp-content/themes/x2fair2015/js/x2fair.js | JavaScript | gpl-2.0 | 2,356 |
/*
* Shortcoder TinyMCE plugin for inserting Shortcodes
* http://www.aakashweb.com
* v1.2
* Added since WP Socializer v2.0
*/
// For adding button in the visual editing toolbox
(function() {
tinymce.create('tinymce.plugins.SCButton', {
init : function(ed, url) {
ed.addButton('scbutton', {
... | TakenCdosG/ella-live | wp-content/plugins/shortcoder/js/tinymce/editor_plugin.js | JavaScript | gpl-2.0 | 859 |