code stringlengths 2 1.05M |
|---|
define({
"_widgetLabel": "Geografické vyhledávání",
"description": "Vyhledejte <a href='./widgets/GeoLookup/data/sample.csv' tooltip='Download an example sheet' target='_blank'> tabulku </a> nebo ji sem přetáhněte a vizualizujte ji a připojte k ní mapová data.",
"selectCSV": "Vyberte soubor CSV",
"loadingCSV": ... |
/**
* jscolor, JavaScript Color Picker
*
* @version 1.4.3
* @license GNU Lesser General Public License, http://www.gnu.org/copyleft/lesser.html
* @author Jan Odvarko, http://odvarko.cz
* @created 2008-06-15
* @updated 2014-07-16
* @link http://jscolor.com
*/
var jscolor = {
dir : '', // location of js... |
var searchData=
[
['vec',['Vec',['../class_vec.html',1,'']]],
['vec2',['Vec2',['../class_vec2.html',1,'']]],
['vec3',['Vec3',['../class_vec3.html',1,'']]],
['vec4',['Vec4',['../class_vec4.html',1,'']]]
];
|
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... |
(function($_) {
$_.P = {};
function mix(fn, sorce) {
if(!$_.O.isFunction(fn) || !$_.O.isPlainObject(sorce))
throw new TypeError();
$_.O.each(sorce, function(value, key) {
var pk = fn.prototype[key];
if(pk == null){
fn.prototype[key] = value;
}else if($_.O.isFunction(pk)&&$_.O.isFunction(value)){
... |
define(function() {
return {
test: 'success'
};
}); |
// index.js
// This file is maintained manually, since it does not derive from TypeScript.
'use strict';
|
function preview(textAreaObject){
var text = textAreaObject.value;
var processedText = processText(text);
output.innerHTML = processedText;
output_div.value = processedText;
}
function processText(text){
var converter = new Showdown.converter();
var html = converter.makeHtml(text);
return html;
}
|
define({
"selectSocialNetwork": "Odaberite opcije za deljenje"
}); |
import React from 'react';
import { fromJS, Map } from 'immutable';
import { mount } from 'enzyme';
import MarketingFlag from '../../app/components/MarketingFlag';
describe('MarketingFlag', () => {
it('should render properly when promotions are active', () => {
const marketingAttributes = fromJS({
special... |
/** @license MIT License (c) copyright B Cavalier & J Hann */
/**
* Licensed under the MIT License at:
* http://www.opensource.org/licenses/mit-license.php
*/
(function(define){
define(function() {
"use strict";
var undef;
/**
* Creates an object by either invoking ctor as a function and returning the result... |
module.exports = function(config){
config.set({
basePath : '../',
files : [
'app/bower_components/angular/angular.js',
'app/bower_components/angular-route/angular-route.js',
'app/bower_components/angular-resource/angular-resource.js',
'app/bower_components/angular-mocks/angular-mocks.js',
'app/js/**/*... |
export default {
TOGGLE_OVER_18: 'toggleOver18',
USER_MENU_TOGGLE: 'sideNavToggle',
COMMUNITY_MENU_TOGGLE: 'communityMenuToggle',
TOP_NAV_HAMBURGER_CLICK: 'topNavHamburgerClick',
TOP_NAV_COMMUNITY_CLICK: 'topNavCommunityClick',
USER_DATA_CHANGED: 'userDataChanged',
VOTE: 'vote',
OVERLAY_MENU_OPEN: 'over... |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'a11yhelp', 'ug', {
title: 'قوشۇمچە چۈشەندۈرۈش',
contents: 'ياردەم مەزمۇنى. بۇ سۆزلەشكۈنى ياپماقچى بولسىڭىز ESC نى بېسىڭ.... |
const auth = require('./data/auth.json')
const assert = require('assert')
const mailgun = require('../')({
'apiKey': auth.api_key,
'domain': auth.domain
})
describe('Events', () => {
beforeEach((done) => {
setTimeout(done, 500)
})
it('test mailgun.events().get() simple recipient query', (done) => {
... |
/*----------------------------- LANG: TEMPLATE -----------------------------*/
fuse.Template = (function() {
function Klass() { }
function Template(template, pattern) {
pattern = pattern || fuse.Template.Pattern;
if (!isRegExp(pattern))
pattern = fuse.RegExp(escapeRegExpChars(pattern))... |
$('form').on('submit', function (e) {
validate(e);
});
function validate(e) {
var valid = [];
var invalid = [];
var num = 1;
// Check all data-required tags
$('[data-required]').each(function () {
var textInputs = $(this).find('input[type="text"]');
var radioInputs = $(this).find('input[type="radi... |
{
"translatorID": "eef50507-c756-4081-86fd-700ae4ebf22e",
"label": "Spiegel Online",
"creator": "Martin Meyerhoff",
"target": "^https?://www\\.spiegel\\.de/",
"minVersion": "3.0",
"maxVersion": "",
"priority": 100,
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsibv",
"lastUpdated": "2017-06... |
/* @flow */
import { trapGet } from '../../../utils/proxy'
import type { Model } from '../index' // eslint-disable-line no-unused-vars
import type { Transaction$ResultProxy } from './interfaces'
/**
* @private
*/
export function createStaticTransactionProxy<T: Class<Model>>(
target: T,
trx: Object
): T {
ret... |
/*jslint nomen: true*/
/*global define*/
define([
'./email-notification-model',
'oroui/js/app/models/base/collection'
], function(EmailNotificationModel, BaseCollection) {
'use strict';
var EmailNotificationCollection;
/**
* @export oroemail/js/app/models/email-notification-collection... |
module.exports = Vue.extend({
data: function() {
return _.extend({
view: 'index',
update: false,
progress: 0,
errors: [],
steps: [
{ action: 'download', msg: 'Downloading...', progress: 33 },
{ action: 'copy', msg: ... |
var searchData=
[
['property',['Property',['../class_k_g_e_1_1_property.html',1,'KGE']]],
['propertydatabycallback',['PropertyDataByCallback',['../class_k_g_e_1_1_property_data_by_callback.html',1,'KGE']]],
['propertydatabyreference',['PropertyDataByReference',['../class_k_g_e_1_1_property_data_by_reference.html'... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
import * as React from 'react';
import styles from './Icon.css';
export type IconType =
| 'arrow'
| 'bug'
| 'co... |
'use strict';
var _ = require( 'lodash' );
var should = require( 'should' );
var sinon = require( 'sinon' );
var getLogger = function () {
return require( '../index' );
};
var getBaseRelay = function () {
return require( '../relays/base' );
};
describe( 'Balsa', function () {
describe( 'Initia... |
(function () {
'use strict';
var getParameter = function (name, defaultValue) {
var query = window.location.search.substring(1);
var vars = query.split("&");
for (var i=0; i < vars.length; i++) {
var pair = vars[i].split("=");
if (pair[0] == name) {
return pair[1];
}
}
... |
$(document).ready(function() {
var $body = $('body'),
$content = $('#content'),
$form = $content.find('#loginform');
//IE doen't like that fadein
if(!$.browser.msie) $body.fadeTo(0,0.0).delay(500).fadeTo(1000, 1);
$("input").uniform();
$form.wl_Form({
status:false,
... |
goog.provide('ol.events.EventTarget');
goog.require('goog.asserts');
goog.require('ol.Disposable');
goog.require('ol.events');
goog.require('ol.events.Event');
/**
* @classdesc
* A simplified implementation of the W3C DOM Level 2 EventTarget interface.
* @see {@link https://www.w3.org/TR/2000/REC-DOM-Level-2-Event... |
/**
* Definition for a binary tree node.
* function TreeNode(val) {
* this.val = val;
* this.left = this.right = null;
* }
*/
/**
* @param {TreeNode} root
* @return {boolean}
*/
var isSymmetric = function(root) {
if(root === null){
return true;
}
return recursiveTraversal(root.... |
var Document = require('./document').Document;
var Cursor = require("./cursor").Cursor;
var Layout = require('./layout');
var keyboard = require('./keyboard');
var Render = require('./render');
var config = null;
function requestAnimationFrame(arg) {
config.requestAnimationFrame(arg);
}
var Viewport = {
makeV... |
var unflr = unflr || {};
unflr.root = (function() {
var my = {};
// init
// ------------------------------------
my.ready = function(url) {
// ouibounce
// if (window.sharerOpen !== true) {
setTimeout(function() {
ouibounce(false, {
aggressive: app.config.debug,
callback: function() {
$('#... |
/* *************************************************************
* Service genérico para permitir chamadas CRUD padrão
* RESTful. Utilizado para chamar a camada MODEL do Java.
*
* Por: Rafael Lossurdo
************************************************************ */
angular.module('CrudServiceModule', [])
.service... |
var fs = require('fs')
, path = require('path')
, os = require('os')
, exercise = require('workshopper-exercise')()
, filecheck = require('workshopper-exercise/filecheck')
, execute = require('workshopper-exercise/execute')
, comparestdout = require('workshopper... |
/*
* Test router
*/
module.exports = function(req, res, next) {
var _Test = {};
config = require('../configs/server.js');
var configs = config.configs,
server_prefix = configs.server_prefix || 'MASK';
console.log(server_prefix + " - Test router required.");
var express = require('express'),
redirect = re... |
var assert = require('assert');
var fs = require('fs');
var request = require('request');
var appHelper = require('./helpers/appHelper');
var path = require('path');
describe('Starting HTTPS sails server with lift', function() {
var appName = 'testApp';
before(function(done) {
this.timeout(5000);
appHelp... |
//>>built
define({createLinkTitle:"\u0932\u093f\u0902\u0915 \u092a\u094d\u0930\u0949\u092a\u0930\u094d\u091f\u0940\u091c\u093c",insertImageTitle:"\u0907\u092e\u0947\u091c \u092a\u094d\u0930\u0949\u092a\u0930\u094d\u091f\u0940\u091c\u093c",url:"URL:",text:"\u0935\u093f\u0935\u0930\u0923:",target:"\u0932\u0915\u094d\u093... |
/*jshint jasmine: true */
/*global angular */
describe('SectionedForm', function () {
'use strict';
var $compile,
$document,
$scope,
$templateCache,
$timeout,
bbMediaBreakpoints,
element,
multipleSections;
function registerSectionTemplates() {
... |
/**
* Bud file for LICENSE
*/
'use strict'
const apeTmpl = require('ape-tmpl')
module.exports = apeTmpl.licenseBud({
type: 'MIT',
holder: 'apeman-labo',
year: 2015
})
if (!module.parent) {
// This will generate "LICENSE"
require('coz').render(__filename)
} |
/*
FloraJS
Copyright (C) 2012 Vince Allen
Brooklyn, NY 11215, USA
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify,... |
// data needs to be a normalized store object
var _ = require('lodash');
var testData = require('./testStoreData').entities;
var filterData = require('../../server/client/utils/normalDataFilter');
var mocha = require('mocha');
var expect = require('chai').expect;
var correctResult = {
experiments: {
"88152": {
... |
/**
* Scenario
*
* @module :: Model
* @description :: A short summary of how this model works and what it represents.
* @docs :: http://sailsjs.org/#!documentation/models
*/
module.exports = {
attributes: {
name: 'string',
asset_type_id: 'string',
filter: 'json',
start_date: 'date',
y... |
NDContentPage.OnToolTipsLoaded({6:"<div class=\"NDToolTip TClass LPHP\"><div class=\"NDClassPrototype\" id=\"NDClassPrototype6\"><div class=\"CPEntry TClass Current\"><div class=\"CPName\">Polynomial</div></div></div><div class=\"TTSummary\">A convenience class for one-dimension polynomials.</div></div>",38:"<div class... |
const WebSocket = require('ws'),
colors = require('colors'),
events = require('events'),
util = require('util');
var PageConnection = function(pageJson) {
this.pageJson = pageJson;
this.serviceRequestID = 0;
this.messageBuffer = new Map();
this.requestBuffer = new Map();
this.messageHandl... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } }... |
define(['Backbone'], function(Backbone){
var PlayerMessage = Backbone.Model.extend({ });
return PlayerMessage;
});
|
var support = require('../../support');
var expect = require('chai').expect;
var loopback = require('loopback');
var logger = require('../../../lib/support/logger')
var ItemSchema = require('../../../lib/domain/item-schema');
var LJSRequest = require('../../../lib/http/ljs-request');
var app = support.newLoopbackJso... |
const _ = require('lodash');
const mapNQLKeyValues = require('../../../../../../shared/nql-map-key-values');
const debug = require('ghost-ignition').debug('api:v2:utils:serializers:input:pages');
const converters = require('../../../../../lib/mobiledoc/converters');
const url = require('./utils/url');
const localUtils ... |
exports.PARTS = {
Search: 'snippet',
Videos: 'snippet,contentDetails',
Playlists: 'snippet',
PlaylistItems: 'snippet,status',
Channels: 'snippet'
};
exports.KINDS = {
Video: 'youtube#video',
PlaylistItem: 'youtube#playlistItem',
Playlist: 'youtube#playlist',
SearchResult: 'youtube#s... |
Template.afBooleanSelect_materialize.helpers({
attrs: Utility.attsToggleInvalidClass
});
Template.afBooleanSelect_materialize.helpers({
optionAtts: Utility.optionAtts
});
Template.afBooleanSelect_materialize.onRendered(Utility.initializeSelect);
|
// @flow
/* eslint-disable no-unused-vars, eqeqeq */
/**
* @module boldr-core/apollo/createApolloClient
*/
import { ApolloClient } from 'react-apollo';
import { createNetworkInterface } from './networkInterface';
import { createBatchingNetworkInterface } from './batchNetworkInterface';
export type ApolloClientConfi... |
/** @module utils/helpers */
import convert from './convert';
import CryptoHelpers from './CryptoHelpers';
import TransactionTypes from './TransactionTypes';
/**
* Check if wallet already present in an array
*
* @param {string} walletName - A wallet name
* @param {array} array - A wallets array
*
* @return {boo... |
import React from 'react';
import './TaskList.css';
function TaskList(props) {
return (
<ul>
{props.tasks.map((task) => (
<li key={task.title}>
<h2>{task.title}</h2>
<p>{task.text}</p>
</li>
))}
</ul>
);
}
export default TaskList;
|
'use strict';
const DirectedGraphTracer = require('./directed_graph');
class UndirectedGraphTracer extends DirectedGraphTracer {
static getClassName() {
return 'UndirectedGraphTracer';
}
constructor(name) {
super(name);
if (this.isNew) initView(this);
}
setTreeData(G, root) {
return super... |
/*********************************************************************
* #### Twitter Post Fetcher v13.0 ####
* Coded by Jason Mayes 2015. A present to all the developers out there.
* www.jasonmayes.com
* Please keep this disclaimer with my code if you use it. Thanks. :-)
* Got feedback or questions, ask here:
* ... |
var _ = require('lodash'),
uuid = require('node-uuid'),
when = require('when'),
errors = require('../errorHandling'),
Showdown = require('showdown'),
ghostgfm = require('../../shared/lib/showdown/extensions/ghostgfm'),
converter = new Sho... |
'use strict'
const {ipcRenderer, remote, webFrame} = require('electron')
const v8Util = process.atomBinding('v8_util')
const guestViewInternal = require('./guest-view-internal')
const webViewConstants = require('./web-view-constants')
const hasProp = {}.hasOwnProperty
// ID generator.
let nextId = 0
c... |
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative ... |
var shellService = require('./shellService');
var CommandStatus = require('../util/CommandStatus');
var FilebotCommandType = require('../util/FilebotCommandType');
var filebot = require('./filebotCommand/FilebotCommand');
var log = require('./logger');
var settingsService = require('./settingsService');
var _ = require... |
(function(){
'use strict';
var LoginService = function(){
this.login = function(data, callback){
//something with the data
callback();
};
};
angular
.module('myApp')
.service('LoginService', [
LoginService
]);
})(); |
;(function(Form, Editor) {
module('Select', {
setup: function() {
this.sinon = sinon.sandbox.create();
},
teardown: function() {
this.sinon.restore();
}
});
var same = deepEqual;
var OptionModel = Backbone.Model.extend({
toString: function() {
return this.get('name'... |
import apiSelector from 'api/rootSelector';
import { SLICE_NAME } from './constants';
export default (state) => apiSelector(state)[SLICE_NAME];
|
'use strict';
exports.BattleMovedex = {
reflecttype: {
inherit: true,
onHit: function (target, source) {
if (source.template && source.template.num === 493) return false;
this.add('-start', source, 'typechange', '[from] move: Reflect Type', '[of] ' + target);
var typeMap = {};
source.typesData = [];
... |
/*
YUI 3.7.2 (build 5639)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('loader-rollup', function (Y, NAME) {
/**
* Optional automatic rollup logic for reducing http connections
* when not using a combo service.
* @module loader
* @submodu... |
(function() {
'use strict';
angular
.module('app.recipe.create', []);
})();
|
define(function(){
(function($) {
// jQuery plugin definition
$.fn.timePicker = function(params) {
// merge default and user parameters
params = $.extend( {defaultTime: 0, mouseoverClass: 'jquery-timepicker-mouseover'}, params);
// some default cars
var newHTML = '';
var $t = $(this... |
/*
DO NOT MODIFY - This file has been generated and will be regenerated
Semantic UI v2.1.8
*/
/*!
* # Semantic UI - Modal
* http://github.com/semantic-org/semantic-ui/
*
*
* Copyright 2015 Contributors
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ( $, window, docum... |
/*
* Angular JS Multi Select
* Creates a dropdown-like button with checkboxes.
*
* Project started on: Tue, 14 Jan 2014 - 5:18:02 PM
* Current version: 4.0.0
*
* Released under the MIT License
* --------------------------------------------------------------------------------
* The MIT License (MIT)
*
* Co... |
import { Fetch, UrlConfig, Utils, AppConfig } from '@jenkins-cd/blueocean-core-js';
import { TypedError } from '../TypedError';
export const LoadError = {
TOKEN_NOT_FOUND: 'TOKEN_NOT_FOUND',
TOKEN_INVALID: 'TOKEN_INVALID',
TOKEN_REVOKED: 'TOKEN_REVOKED',
};
export const SaveError = {
INVALID_CREDENTIA... |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
}), 'Clear'); |
import React, { Component, PropTypes, } from 'react';
import { Box, Columns, Column, } from 're-bulma';
// import 'font-awesome/css/font-awesome.css';
// import styles from '../../styles';
const propTypes = {
boxProps: PropTypes.any,
};
const defaultProps = {
};
class ResponsiveBars extends Component {
construct... |
/*! @license Firebase v4.4.0
Build: rev-380121f
Terms: https://firebase.google.com/terms/ */
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.StatsListener = undefined;
var _obj = require('../../../utils/obj');
/**
* Returns the delta from the previous call to get stats.
*
... |
var less = require('less');
var sysPath = require('path');
var progeny = require('progeny');
function LESSCompiler(config) {
if (config == null) config = {};
if (config.plugins == null) config.plugins = {};
this.config = config.plugins.less || {};
this.rootPath = config.paths.root;
this.optimize = config.op... |
define(function (require) {
'use strict';
/**
* Module exports
*/
return withMustache;
/**
* Module function
*/
function withMustache() {
/**
* Render a template with Mustache. Must provide either `request.template`
* or `request.templateName`.
*
* @param request {Obje... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... |
;
(function() {
ace.require(["ace/snippets/cirru"], function(m) {
if (typeof module == "object" && typeof exports == "object" && module) {
module.exports = m;
}
});
})(); |
'use strict';
var assert = require('power-assert'),
util = require('../../../lib/util/util.js');
describe('20_util/00_util', function () {
var got, exp;
it('require', function () {
assert(typeof util === 'object', 'is object');
});
it('parts', function () {
got = util.parts;
... |
var requestAnimationFrame = require("@nathanfaucett/request_animation_frame"),
scrollTo = require("./scrollTo");
var DELTA_TIME = 1000 / 60;
module.exports = scrollToTop;
function scrollToTop() {
var lastTime = 0,
scrollY = window.scrollY,
delta = -scrollY;
function scroll(ms) {
... |
nucleomediaApi
.filter('smartLimit', smartLimit)
.controller('feedCtrl', ['$scope', 'nucleomediaRequest', function($scope, nucleomediaRequest) {
var rootScope = $scope.$root;
var isAleatorio = false;
rootScope.carregarFeed = function() {
var url = "http://localhost:8080/getN... |
var searchData=
[
['calccentroiddistfd',['calcCentroidDistFD',['../class_fourier_descriptor.html#a492b2d8e2ce4576f52d9c6253c04feb7',1,'FourierDescriptor']]],
['calculatemapping',['calculateMapping',['../class_leap_mapping.html#a0e3cab64319f896df19306e91823d9ce',1,'LeapMapping::calculateMapping()'],['../class_projec... |
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.8.2 (2021-06-23)
*/
(function () {
'use strict';
... |
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
// MIT License. See license.txt
frappe.ui.FilterList = Class.extend({
init: function(opts) {
$.extend(this, opts);
this.filters = [];
this.$w = this.$parent;
this.set_events();
},
set_events: function() {
var me = this;
// show filter... |
// @remove-file-on-eject
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
// Makes the script crash on unhandled rejections instead of silently
// ignoring them. In the fu... |
import { moduleFor, test } from 'ember-qunit';
moduleFor('controller:ship-deck', 'Unit | Controller | ship deck', {
// Specify the other units that are required for this test.
// needs: ['controller:foo']
});
// Replace this with your real tests.
test('it exists', function(assert) {
let controller = this.subjec... |
Proto = {
cloneConstructor: new Function,
clone: function()
{
Proto.cloneConstructor.prototype = this;
var clone = new Proto.cloneConstructor;
clone.setProto(this);
if(clone.init)
{
clone.init();
}
return clone;
},
_proto: Object,
_protoType: "Proto",
protoType: function()
{
return th... |
//>>built
define(["./cpp","./java","./delphi"],function(){}); |
function SettingsManager() {
/* Outlets */
this.markdownSyntax = $("#markdown-radio");
this.gfmSyntax = $("#gfm-radio");
this.reset = $("#reset");
/* Events */
this.markdownSyntax.add(this.gfmSyntax).on("click", $.proxy(function() { chrome.storage.local.set({ "gfm": this.gfmSyntax[0].checked })... |
// @preserve jQuery.floatThead 1.2.11 - http://mkoryak.github.io/floatThead/ - Copyright (c) 2012 - 2014 Misha Koryak
// @license MIT
/* @author Misha Koryak
* @projectDescription lock a table header in place while scrolling - without breaking styles or events bound to the header
*
* Dependencies:
* jquery 1.9.0 +... |
// * ———————————————————————————————————————————————————————— * //
// * cms editor controller
// * main controller for cms editor
// * ———————————————————————————————————————————————————————— * //
enduro_admin_app.controller('cms-editor-controller', ['$scope', '$rootScope', '$routeParams', 'content_service', 'culture_... |
/**
* Personal video recorder constructor.
* @constructor
*/
function Pvr(){
this.has_active_rec = false;
this.current_ch_id = 0;
this.start_time = 0;
this.current_time = 0;
this.record_id = 0;
this.id_list = [];
this.data_list = [];
this.init_rec_list();
var self =... |
import { Meteor } from 'meteor/meteor';
import { loadMessageHistory } from '../../../lib';
import { LivechatVisitors, LivechatRooms } from '../../../models';
Meteor.methods({
'livechat:loadHistory'({ token, rid, end, limit = 20, ls }) {
if (!token || typeof token !== 'string') {
return;
}
const visitor = L... |
// @flow
import {foo} from './dependency';
// $FlowFixMe[incompatible-call] - Suppresses error in unrelated.js
foo(123);
|
var searchData=
[
['has_5ffriend',['has_friend',['../classfb_1_1_profile.html#a5f74385d661e8923dd5e66faf35247d7',1,'fb::Profile::has_friend(id_t id) const '],['../classfb_1_1_profile.html#abe318da2aba42f412dc7373057aa983b',1,'fb::Profile::has_friend(IFaceBookletNode *node) const '],['../structfb_1_1_i_face_booklet_no... |
import iNaturalistJS from "inaturalistjs";
import { paramsForSearch } from "../reducers/search_params_reducer";
const UPDATE_OBSERVATIONS_STATS = "update_observations_stats";
function updateObservationsStats( stats ) {
return {
type: UPDATE_OBSERVATIONS_STATS,
stats
};
}
function fetchObservationsStats( ... |
/**
* SEA3D SDK
* @author Sunag / http://www.sunag.com.br/
*/
'use strict';
var SEA3D = { VERSION : 17000 }
SEA3D.getVersion = function() {
// Max = 16777215 - VVSSBB | V = Version | S = Subversion | B = Buildversion
var v = SEA3D.VERSION.toString(), l = v.length;
return v.substring( 0, l - 4 ) + "." + v.s... |
/**
Подгружает JavaScript
Параметры
url - Адрес Javascript
onScriptLoaded - функция вызываемая после погрузки JavaScript
*/
function loadJS( url ){
var opt = null;
var onScriptLoaded = null;
if( arguments.length>1 ){
onScriptLoaded = arguments[1];
if( arguments.length>2 ){
opt ... |
YUI.add('editor-selection', function (Y, NAME) {
/**
* Wraps some common Selection/Range functionality into a simple object
* @class EditorSelection
* @constructor
* @module editor
* @submodule selection
*/
//TODO This shouldn't be there, Y.Node doesn't normalize getting textnode... |
$JSKK.Class.create
(
{
$namespace: '$JSKK',
$name: 'When_'
}
)
(
{},
{
timer: null,
items:
{
length: 0
},
init: function()
{
this.timer=null;
this.startTimer();
},
startTimer: function()
{
if (Object.isNull(this.timer))
{
this.timer=window.setInterval
(
function()... |
/**
* @param {number[]} prices
* @return {number}
*/
var maxProfit = function(prices) {
if(prices.length < 2){
return 0;
}
var low = prices[0];
var maxProfit = prices[1]-prices[0];
for(var i = 1; i< prices.length; i++){
low = Math.min(low, prices[i]);
... |
module.exports={A:{A:{"2":"J C G E B A TB"},B:{"2":"D X g H L"},C:{"1":"1 2 f K h i j k l m n o p q v w x y z s r","2":"3 RB F I J C G E B A D X g H L M N O P Q R S T U V W t Y Z a b c d e PB OB"},D:{"2":"F I J C G E B A D X g H L M N O P Q R S T U V W t Y Z a b c d e f K h i j","450":"1 2 7 9 k l m n o p q v w x y z s... |
/*
Copyright 2007-2009 University of Cambridge
Copyright 2007-2009 University of Toronto
Copyright 2007-2009 University of California, Berkeley
Copyright 2010 OCAD University
Licensed under the Educational Community License (ECL), Version 2.0 or the New
BSD license. You may not use this file except in compliance with ... |
import BaseModel from './BaseModel';
// Related Models
class File extends BaseModel {
static tableName = 'file';
static addTimestamps = true;
static jsonSchema = {
type: 'object',
required: ['name', 'safeName', 'path', 'url', 'type'],
uniqueProperties: ['name', 'safeName'],
additionalProperties... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.