code
stringlengths
2
1.05M
/** * @license Highcharts JS v8.2.0 (2020-08-20) * * Dot plot series type for Highcharts * * (c) 2010-2019 Torstein Honsi * * License: www.highcharts.com/license */ 'use strict'; (function (factory) { if (typeof module === 'object' && module.exports) { factory['default'] = factory; module.ex...
var log4js = require('log4js'); var logger = log4js.getLogger("store"); var store = (function(){ var __getKey = function(params) { return params.host + "_" + params.port; }; var __connectors = {}; var store = {}; store.get = function(key) { if (typeof(key) !== 'string') key = __getKey(key); var ...
import React from 'react' import PropTypes from 'prop-types' import SearchInput from 'react-search-input' const SearchBar = props => ( <div> <SearchInput className='search-input' onChange={props.onSearchChange} /> </div> ) SearchBar.propTypes = { onSearchChange: PropTypes.func.isRequired } ...
(function ($, window, document, undefined) { 'use strict'; })(jQuery, window, document);
let $script_ = null; let loadPromise_; export default function amapLoader(url) { if (!$script_) { $script_ = require('scriptjs'); } if (loadPromise_) { return loadPromise_ } loadPromise_ = new Promise((resolve, reject) => { if (typeof window === 'underfined') { reject(new Error("amap must...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _call_helpers = require('../call_helpers'); var _call_helpers2 = _interopRequireDefault(_call_helpers); var _utils = require('../utils'); var _utils2 = _interopRequireDefault(_utils); function _interopRequireDefault(obj) { return o...
'use strict'; const Bookshelf = require('../bookshelf.js'); require('./user'); require('./post'); module.exports = Bookshelf.model('Rating', { tableName: 'ratings', idAttribute: 'idAttr', hasTimestamps: ['createdAt', 'updatedAt'], user: function() { return this.belongsTo('User', 'userId'); }, post:...
function createGenerators(game){ var generators = { "direction":{ "north":1, "east":1, "south":1, "west":1 }, "terrain":{ "grass":8000, "tree":2000, "rock":500, "flintrock":50, "bush":25, "rabbithole":10 }, "berryCounter":{ "60000":1, "120000":2, "300000":3 }, "berr...
import utils from '../../utils' import gfxutils from '../gfxutils' import ChunkedObjectsGeometry from './ChunkedObjectsGeometry' import { CylinderBufferGeometry, Matrix3, Vector3 } from 'three' const VEC_SIZE = 3 const centerPos = new Vector3() const tmpVector = new Vector3() const normMtx = new Matrix3() class Simpl...
const path = require('path'); module.exports = { selenium: { port: 10191, host: 'localhost' }, persist_globals: true, output_folder: false, webdriver: { start_process: false }, globals: { test_calls: 0, waitForConditionTimeout: 20, retryAssertionTimeout: 20, waitForConditio...
import React, { PropTypes, Component } from 'react'; import classnames from 'classnames'; import styles from './styles.scss'; function MessageItem(props) { const messageClassName = classnames( styles.messageBody, props.direction === 'Outbound' ? styles.outbound : styles.inbound, props.subject && props.s...
(function() { /*! * @overview Ember - JavaScript Application Framework * @copyright Copyright 2011-2018 Tilde Inc. and contributors * Portions Copyright 2006-2011 Strobe Inc. * Portions Copyright 2008-2011 Apple Inc. All rights reserved. * @license Licensed under MIT license * ...
var expect = require('chai').expect; var RIP = require('../lib/rip'); var Fixtures = require('./fixtures'); var Configuration = require('./configuration'); xdescribe(Configuration.title('Application Startup'), function() { describe('As a user, I shall be able to run the application from code using the RIP object...
export { default } from './lib';
const mongoose = require('mongoose'); const dataDescriptorSchema = new mongoose.Schema({ label: { type: String, required: 'Data value label is required.', }, name: { type: String, required: 'Data value name is required.', validate: { validator(v) { return /^[a-z]+$/.test(v); ...
/*! formstone v1.4.20-1 [equalize.js] 2021-01-29 | GPL-3.0 License | formstone.it */ /* global define */ (function(factory) { if (typeof define === "function" && define.amd) { define([ "jquery", "./core", "./mediaquery" ], factory); } else { factory(jQuery, F...
/** * @license Highstock JS v8.1.2 (2020-06-16) * @module highcharts/indicators/indicators * @requires highcharts * @requires highcharts/modules/stock * * Slow Stochastic series type for Highstock * * (c) 2010-2019 Pawel Fus * * License: www.highcharts.com/license */ 'use strict'; import '../../indicators/sl...
var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] =...
/*! By André Rinas, www.andrerinas.de Documentation, www.simplelightbox.de Available for use under the MIT License Version 2.2.0 */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; function _createForOfIteratorHelper(o) { if (typeof Symbol === "undef...
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; /* Tabulator v4.9.3 (c) Oliver Folkerd */ var Ht...
/** * Tom Select v1.7.6 * Licensed under the Apache License, Version 2.0 (the "License"); */ import TomSelect from '../../tom-select.js'; /** * Plugin: "restore_on_backspace" (Tom Select) * Copyright (c) contributors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this * file ...
/** @license React vundefined * react.production.min.js * * 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. */ 'use strict';var l=require("object-assign"),m=60103,p=60106;exports.Fragmen...
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { refType } from '@material-ui/utils'; import Input from '.....
/* * responsive-carousel * https://github.com/filamentgroup/responsive-carousel * * Copyright (c) 2012 Filament Group, Inc. * Licensed under the MIT, GPL licenses. */ (function($) { var pluginName = "carousel", initSelector = "." + pluginName, transitionAttr = "data-transition", prevAttr = "data-prev", ...
'use strict'; (function () { var out$ = typeof exports != 'undefined' && exports || typeof define != 'undefined' && {} || this || window; if (typeof define !== 'undefined') define('save-svg-as-png', [], function () { return out$; }); out$.default = out$; var xmlNs = 'http://www.w3.org/2000/xmlns/'; va...
/*! * Bootstrap-select v1.13.15 (https://developer.snapappointments.com/bootstrap-select) * * Copyright 2012-2020 SnapAppointments, LLC * Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE) */ !function(e,t){void 0===e&&void 0!==window&&(e=window),"function"==typeof defin...
import { moduleForComponent, test } from 'ember-qunit'; import hbs from 'htmlbars-inline-precompile'; import Ember from 'ember'; import wait from 'ember-test-helpers/wait'; const { Object:EmberObject, RSVP } = Ember; const { resolve } = RSVP; moduleForComponent('collapsed-stewards', 'Integration | Component | collaps...
UsersShowFollowersContainerView = Backbone.View.extend({ events: { }, initialize: function () { this.collection = new FollowersCollection(); this.listenTo(this.model, 'render:followers', this.fetchCollection); this.listenTo(this.collection, 'reset', this.render); }, ...
import PlainListExplorer from "../src/plain/PlainListExplorer.js"; export default class ElixListExplorer extends PlainListExplorer {} customElements.define("elix-list-explorer", ElixListExplorer);
import { expect } from 'chai'; import validatorjs from 'validatorjs'; import { Form } from '../../../../src'; const fields = [ 'club.name', 'club.city', 'members', 'members[].firstname', 'members[].lastname', 'members[].hobbies', 'members[].hobbies[]', ]; const rules = { 'club.name': 'required|integer...
/* eslint-env node */ "use strict"; module.exports = function (grunt) { const common = require("./lib/common")(grunt); const build = require("./build")(grunt); const fs = require("fs"); const path = require("path"); const _ = require('lodash'); // sync-tsconfigs ...
import TextBlock from '../../model/TextBlock' class Heading extends TextBlock {} Heading.schema = { type: "heading", level: { type: "number", default: 1 } } export default Heading
var Seed = require('./seed'); var log = require('./log'); var dbmUtil = require('./util'); var Promise = require('bluebird'); var SeederInterface = require( './interface/seederInterface.js'); var internals = {}; Seeder = function (driver, seedsDir, versionControlled, intern) { SeederInterface.extending = intern.int...
frappe.pages['user-permissions'].onload = function(wrapper) { frappe.ui.make_app_page({ parent: wrapper, title: "User Permissions Manager", icon: "icon-shield", single_column: true }); $(wrapper).find(".layout-main").html("<div class='user-settings' \ style='min-height: 200px;'></div>\ <p style='margin-t...
function Modules (server, list) { this.server = server; this.list = list; } Modules.prototype.load = function load () { for (var k = 0; k < this.list.length; k++) { this.loadModule(this.list[k]); } }; Modules.prototype.loadModule = function loadModule (name) { };
// 선택된 대상 효과주기 : 다중 function targetOnClass(ele,style,type,data) { var url = document.URL; var on_target; var def_target; jQuery(ele).each(function(i) { var cnt; var index; var def; var condition; if (data.target[i] == undefined) { cnt = data.target.search.length; search = data...
/** * Splits a string into an array by new-line characters. * @param {*} text - The value to split. * @returns {Array} */ export function splitLines(text = '') { return text.split(/\r\n|\r|\n/g).filter(line => !!line); }
var _replaceAll = require('underscore.string/replaceAll'); var _curry = require('chickencurry'); module.exports = _curry(function(replace, find, string) { return _replaceAll(string, find, replace); });
// Generated by CoffeeScript 1.12.6 (function() { var aac, api, logger; aac = require('./aac'); logger = require('./logger'); api = { createSDP: function(opts) { var configspec, fmtp, i, len, mandatoryOpts, profileLevelId, prop, ref, rtpmap, sdpBody; mandatoryOpts = ['username', 'sessionID', ...
/*! * FileInput Brazillian Portuguese Translations * * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or * any HTML markup tags in the messages must not be converted or translated. * * @see http://github.com/kartik-v/bootstrap-fileinput * * NOTE: this file must be saved in UTF-8 encodin...
const Lab = require('lab') const lab = exports.lab = Lab.script() const expect = require('code').expect const mapping = require('../../lib/mapping.js') lab.describe('policy', () => { lab.test('iam without variables does not fail', done => { const res = mapping.policy.iam({ version: 1, name: 'test', statements: {...
console.info("Hello World !");
/** * @author AlexBHanneman / http://alexbhanneman.com/ */ THREE.StandardControls = function ( object, domElement, plane, speedScale, maxWidth, maxAltitude ) { this.object = object; this.plane = plane; this.target = new THREE.Vector3( 0, 0, 0 ); this.rightTilt = false; this.leftTilt = false; this....
var gulp = require('gulp'); var browsersync = require('browser-sync'); var config = require('../../config').browsersync.development; /** * Run the build task and start a server with BrowserSync */ gulp.task('browsersync', ['build'], function() { browsersync(config); });
var charts = require("./chart.js"); var uuid = require("node-uuid"); module.exports = { name: "chart", description: "chart element using highcharts", platform: ["browser"], initialize: function(Scene,messages){ var sceneLoaded = messages.filter(function(v){ return v.type == "scene/loaded"; }).ma...
'use strict'; module.exports = function selectPoints(searchInfo, selectionTester) { var cd = searchInfo.cd; var selection = []; var fullData = cd[0].trace; var nodes = fullData._sankey.graph.nodes; for(var i = 0; i < nodes.length; i++) { var node = nodes[i]; if(node.partOfGroup) c...
import React from 'react' import Icon from 'react-icon-base' const MdCallEnd = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m20 15c-2.7 0-5.2 0.4-7.7 1.2v5.1c0 0.7-0.3 1.4-0.9 1.6-1.6 0.8-3.1 1.8-4.4 3-0.4 0.4-0.7 0.5-1.2 0.5s-0.9-0.2-1.2-0.5l-4.1-4.1c-0.3-0.3-0.5-0.7-0.5-1.2s0.2-0.8 0.5-1...
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let SettingsCell = props => <SvgIcon {...props}> <path d="M7 24h2v-2H7v2zm4 0h2v-2h-2v2zm4 0h2v-2h-2v2zM16 .01L8 0C6.9 0 6 .9 6 2v16c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V2c0-1.1-.9-1.99-2-1.99zM16 16H8V4h8v12z" /> ...
var gulp = require('gulp'); var browserify = require('gulp-browserify'); var rename = require('gulp-rename'); var config = require('../config'); var uglify = require('gulp-uglify'); var replace = require('gulp-replace'); var license = require('gulp-license'); var clone = require('gulp-clone'); var fs = require('fs'); ...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2018 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ var Contains = require('./Contains'); /** * [description] * * @function Phaser.Geom.Rectangle.ContainsPoint * @si...
import React, {PropTypes} from 'react' import LoginStatus from '../../components/LoginStatus' import Form from '../../components/Form' import {checkIdentity} from '../../../electron/ipc_render' import * as DataUtils from '../client_data' import styles from './CreateLogin.css' export default React.createClass({ propT...
import './layout.jade'; import '../components/header/header.js';
/** * 作业实例查看页面事件 * @class Ext.ijobs.job.JobInstanceAction * @extends Ext.ijobs.job.JobInstanceUI */ Ext.ijobs.job.JobInstanceAction = Ext.extend(Ext.ijobs.job.JobInstanceUI,{ constructor : function(config){ Ext.ijobs.job.JobInstanceAction.superclass.constructor.call(this,config); }, initCompon...
define({ "layerSelect": "Den Image-Layer auswählen", "displayMeasureResultInPopup": "Messergebnisse in einem Pop-up anzeigen", "angularUnitSelect": "Standardwinkeleinheit", "linearUnitSelect": "Lineare Standardeinheit", "areaUnitSelect": "Standardflächeneinheit", "displayOperationSelect": "Messvorgänge ausw...
/* Warning: file regenerated automatically on each file save */ var myJS = (function() { var exports = {}; exports.hello = function() { var el = document.getElementById('div1'); el.innerHTML = 'Hello, World'; }; return exports; }()); myJS.hello(); // 'use strict'; var myES6 = function() { 'use strict'; ...
value |> do { try { JSON.parse(^); } catch (error) { console.error(error); } finally { something(); } }
var {Dictionary, Helper, Type} = require("@kaoscript/runtime"); module.exports = function() { var Foobar = Helper.struct(function(x = null) { if(x !== null && !Type.isString(x)) { throw new TypeError("'x' is not of type 'String?'"); } const _ = new Dictionary(); _.x = x; return _; }); const f = Foobar()...
// Adds placeholder class, value and supplementary attribute to the input element. var addPlaceholderAttributes = function (input, value) { if (!$(input).hasClass("placeholdersjs")) { $(input).addClass("placeholdersjs"); } var attr = $(input).attr("data-placeholder-active"); if (attr == undefined || attr == "")...
jQuery.noConflict(); jQuery(document).ready(function($){ MYNAMESPACE.namespace('view.AutoAddressManager'); MYNAMESPACE.view.AutoAddressManager = function() { this.initialize.apply(this, arguments); }; MYNAMESPACE.view.AutoAddressManager.prototype = { _Num_Name1 : null ,_Num_Name2 : null ,_Text_Nam...
import {Model} from 'ember-cli-mirage'; export default Model.extend({});
/** * jQuery EasyUI 1.3.1 * * Licensed under the GPL terms * To use it on other terms please contact us * * Copyright(c) 2009-2012 stworthy [ stworthy@gmail.com ] * */ (function($){ function _1(_2){ _2.each(function(){ $(this).remove(); if($.browser.msie){ this.outerHTML=""; } }); }; function _3(_4...
import { ruleTester, warningFreeBasics } from "../../../testUtils" import rule, { ruleName, messages } from ".." const testRule = ruleTester(rule, ruleName) testRule("always", tr => { warningFreeBasics(tr) tr.ok("a::before { content: \"func(foo,bar,baz)\"; }") tr.ok("a::before { background: url('func(foo,b...
var CleanCSS = require('clean-css'); var fs = require('fs'); function escape(source) { return source .replace(/(["\\])/g, '\\$1') .replace(/[\f]/g, "\\f") .replace(/[\b]/g, "\\b") .replace(/[\n]/g, "\\n") .replace(/[\t]/g, "\\t") .replace(/[\r]/g, "\\r") .replace(/[\u2028]/g, "\\u2028") ...
"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")...
export default [ { id: 'note-id-1', index: 1, position: { height: 100, width: 100, x: 10, y: 15, }, author: { name: 'John', webUrl: 'link-to-john-profile', }, createdAt: '2020-05-08T07:10:45Z', userPermissions: { adminNote: true, }, dis...
// Horizontal rule 'use strict'; module.exports = function hr(state, startLine, endLine, silent) { var marker, cnt, ch, pos = state.bMarks[startLine], max = state.eMarks[startLine]; pos += state.tShift[startLine]; if (pos > max) { return false; } marker = state.src.charCodeAt(pos++); // Che...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M21 11V3h-8l3.29 3.29-10 10L3 13v8h8l-3.29-3.29 10-10z" }), 'OpenInFull');
version https://git-lfs.github.com/spec/v1 oid sha256:6bf9876d1cf89d715bc66c99444c52fe13d9cef7ad35aafbf136e2b5514bf8f0 size 2584
/** * Imports */ import test from 'tape' import Tab from '.' /** * <Tab/> tests */ test('<Tab/> should work', t => { })
import './startup/custom-sounds'; import './startup/permissions'; import './startup/settings'; import './methods/deleteCustomSound'; import './methods/insertOrUpdateSound'; import './methods/listCustomSounds'; import './methods/uploadCustomSound'; import './publications/customSounds';
Template.editPost.rendered = function(){ $('.modal-trigger').leanModal(); $('#post_title').focus(); }; Template.editPost.events({ 'click #deleteConfirm' : function(e){ e.preventDefault(); Meteor.call('postDelete', this._id, function(error, result){ if (error){ return alert(error.reason); ...
/* eslint ember/closure-actions: 'warn' */ import Component from '@ember/component'; /** A component to trigger infinite scroll. @class InfiniteScrollComponent */ export default Component.extend({ /** The name of the method to trigger @property performInfinite @type { String } @default 'performIn...
module.exports = { plugins: [ 'jsx-a11y', 'react' ], ecmaFeatures: { jsx: true }, rules: { // Require ARIA roles to be valid and non-abstract // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-role.md 'jsx-a11y/aria-role': 2, // Enforce all aria-* pro...
import shadowBlurCall from './shadowBlur'; import shadowColorCall from './shadowColor'; import shadowOffsetXCall from './shadowOffsetX'; import shadowOffsetYCall from './shadowOffsetY'; const shadowStyle = ({ shadowBlur, shadowColor, shadowOffsetX, shadowOffsetY }, ...children) => { children = shadowBlur ? shadowBlu...
// Sets and Maps are two new native implementations of // common algorithms. // Sets are like arrays, except there can't be repeats var mySet = new Set(); mySet.add('James').add('Sam').add('James'); // console.log('How many names?', mySet.size); // Maps allow you to associate any object with any key. Imagine // if yo...
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
$(document).delegate('.cmn-toggle','click',function() { var result=this.getAttribute("id").split(/-/); var room=result[result.length-1]; var component=result[result.length-2]; var estado=$(this).prop('checked'); if (estado) estado=1; else estado=0; $.ajax({ url:'index.php?action=cambiarswitch', data: ...
$(function(){ var format_data, data_obj, option_symbol,strike_levels,strike_price_start, strike_price_end; $('.option_chains').on('click', function(){ option_symbol = $('#option_symbol').val(); console.log(option_symbol); directToOpts(option_symbol); }); var directToOpts = function(option_symbol){ $.a...
// @flow import React from 'react' import {Link} from 'react-router' import {Source, SourceModel, emptySource, emptyScan, Status, defaultImageUrl, scan, validate, DefaultImageUrl, ScanResult, allTags, TagCount} from '../model/source' import {Chapter, emptyChapter, emptyTitle} from '../model/chapter' import {findChang...
// ========================================================================== // Project: Ember Data // Copyright: ©2011-2012 Tilde Inc. and contributors. // Portions ©2011 Living Social Inc. and contributors. // License: Licensed under MIT license (see license.js) // ====================================...
(function() { var checkVersion = Dagaz.Model.checkVersion; Dagaz.Model.checkVersion = function(design, name, value) { if (name != "abalone-editor-extension") { checkVersion(design, name, value); } } var go = Dagaz.Controller.go; Dagaz.Controller.go = function(url) { var design = Dagaz.Model....
module.exports = { proxyError : proxyError } function proxyError (err, req, res) { var host = (req.headers && req.headers.host) || ''; res.writeHead(500); res.end('Error occured while trying to proxy to: '+ host + req.url); };
module.exports={A:{A:{"2":"H C G E A B EB"},B:{"2":"D p x J L N I"},C:{"1":"0 1 2 3 4 5 6 8 9 K H C G E A B D p x J L N I O P Q R S T U V W X Y Z b c d e f g h i j k l m n o M q r s t u v w y","2":"YB BB WB QB","33":"F"},D:{"1":"0 1 2 3 4 5 6 8 9 F K H C G E A B D p x J L N I O P Q R S T U V W X Y Z b c d e f g h i j k...
/** * Target Event business validation library */ var async = require('async'); module.exports = function(services, logger) { var me = this; me.validate = function(object, callback) { var errors = []; me.done = function() { var bVal = { valid: !(errors.length), errors: errors }; callback(bVal); }; ...
Ext.data.JsonP.Ext_layout_container_boxOverflow_None({ "tagname": "class", "name": "Ext.layout.container.boxOverflow.None", "doc": "<p>Base class for Box Layout overflow handlers. These specialized classes are invoked when a Box Layout\n(either an HBox or a VBox) has child items that are either too wide (for HBox...
ace.define("ace/theme/textmate",["require","exports","module","ace/lib/dom"], function(require, exports, module) { "use strict"; exports.isDark = false; exports.cssClass = "ace-tm"; exports.cssText = ".ace-tm .ace_gutter {\ background: #f0f0f0;\ color: #333;\ }\ .ace-tm .ace_print-margin {\ width: 1px;\ background: #e...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S9.3_A4.1_T1; * @section: 9.3, 15.7.1; * @assertion: Result of number conversion from number value equals to the input argument (no conversion); * @description: So...
$(document).ready(function () { $.getJSON( '/api/users', function( data ) { console.log(data); $.each(data,function( key,value ) { $.getJSON( 'http://graph.facebook.com/'+value.fbId+'?fields=cover', function( data ) { console.log(data); if (!data.cover) source = "http://lorempixel.com...
( function(root,factory ) { if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. define( ["jquery","./dashboardModel",'rup.dashboard'], factory ); } else { // Browser globals root.returnExports = factory( jQuery ); } } (this, function( $, Dashboard ) { var da...
'use strict'; var extend = require('lodash/extend'); var merge = require('./merge'); var updateAnnotations = require('./updateAnnotations'); /* The behavior when you press delete or backspace. I.e., it starts with a collapsed PropertySelection and deletes the character before or after the caret. If the caret ...
var fs = require('fs'); var express = require('express'); function loadStrategies(files, conf) { var router = express.Router(); console.log("registering express paths for successful installed strategies from routes/providers files " + JSON.stringify(files)); files.forEach(function (file) { if (file != "inde...
var qs = require('querystring'), swig = require('swig'); function setFilter(name, filter, safe) { if (safe) filter.safe = true; swig.setFilter(name, filter); } exports.setFilters = function() { setFilter('set', function(input, param, value) { input[param] = value; return qs.stringify...
$(document).ready(function(){ 'use strict'; var getQuote = function() { var promise = $.ajax({url: 'quote.php', dataType: 'json'}); var textEl = $('#text'); promise.done(function(data) { textEl.fadeOut(function() { $(this).text(data.quote).fadeIn(); ...
!(function(factory) { if (typeof define === "function" && define.amd) { define(factory); } else { factory(); } }(function() { window.customElements = window.customElements || {}; var debug = false , namespace = '_' , webComponentLinks = 0 , webComponentsCo...
if(document.getElementById("calendar-events-list")) { var calendarEventsVue = new Vue({ el: '#calendar-events-list', data: { events: [], highlights: [], }, delimiters: ["{[", "]}"], mounted: function () { var myVue = this; var calendarName = ''; var hashtags = []; ...
var KEYCODE_TO_CODE = require('../constants').keyboardevent.KEYCODE_TO_CODE; var registerComponent = require('../core/component').registerComponent; var THREE = require('../lib/three'); var utils = require('../utils/'); var bind = utils.bind; var shouldCaptureKeyEvent = utils.shouldCaptureKeyEvent; var CLAMP_VELOCITY...
ServiceConfiguration.configurations.upsert({ service:"twitter" }, { $set: { "consumerKey" : "consumerKey", "secret" : "secret" } } );
export default { uiv: { datePicker: { clear: 'Nullstill', today: 'I dag', month: 'Måned', month1: 'januar', month2: 'februar', month3: 'mars', month4: 'april', month5: 'mai', month6: 'juni', month7: 'juli', month8: 'august', month9: 'septembe...
var searchData= [ ['target_5fnormalizers',['target_normalizers',['../namespacetarget__normalizers.html',1,'']]], ['tfreaders',['tfreaders',['../namespacetfreaders.html',1,'']]], ['tfwriters',['tfwriters',['../namespacetfwriters.html',1,'']]], ['tools',['tools',['../namespacetools.html',1,'']]] ];
import { Map } from 'immutable'; import { TOGGLE_SIDEBAR, OPEN_SIDEBAR } from '../actions/globalUI'; /* * Reducer for some global UI state that we want to share between components * */ const globalUI = (state = Map({ isFetching: false, sidebarIsOpen: true }), action) => { // Generic, global loading indicator if ((a...