code
stringlengths
2
1.05M
System.register([], function(exports_1, context_1) { "use strict"; var __moduleName = context_1 && context_1.id; var HEROES; return { setters:[], execute: function() { exports_1("HEROES", HEROES = [ { "id": 1, "name": "Druid" }, { "id": 2, "nam...
search_result['1331']=["topic_000000000000031C.html","tlece_Company.PhoneNumber2 Property",""];
/** * vuex v3.1.2 * (c) 2019 Evan You * @license MIT */ function applyMixin (Vue) { const version = Number(Vue.version.split('.')[0]); if (version >= 2) { Vue.mixin({ beforeCreate: vuexInit }); } else { // override init and inject vuex init procedure // for 1.x backwards compatibility. const ...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See http://js.arcgis.com/3.17/esri/copyright.txt for details. //>>built define("esri/dijit/nls/AttributeInspector-all_ca",{"dijit/_editor/nls/commands":{bold:"Negreta",copy:"Copia",cut:"Retalla","delete":"Suprimeix",indent:"Sagnat",inse...
/* * * Placeholder.js 1.1.1 * Creates placeholder on inputs/textareas for browsers that don't support it (well, IE...) * * @ Created by Guillaume Gaubert * @ http://widgetulous.com/placeholderjs/ * @ © 2011 Guillaume Gaubert * * @ Default use : * Placeholder.init(); * */ Placeholder = { //...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See http://js.arcgis.com/3.17/esri/copyright.txt for details. //>>built define("esri/dijit/editing/nls/Editor_nl-nl",{"dijit/_editor/nls/commands":{bold:"Vet",copy:"Kopi\u00ebren",cut:"Knippen","delete":"Wissen",indent:"Inspringen",inse...
'use strict'; module.exports = { db: process.env.MONGOHQ_URL || process.env.MONGOLAB_URI || 'mongodb://localhost/democalendarize', assets: { lib: { css: [ 'public/lib/bootstrap/dist/css/bootstrap.min.css', 'public/lib/bootstrap/dist/css/bootstrap-theme.min.css', ], js: [ 'public/lib/angular/an...
export default { component: () => import('./index'), config: () => ({ name: '标题文字', desc: '标题文字', component: 'text', content: { component: 'textDesign', data: { url: { type: 'navigate', page: '', query: '' }, title: '标题文字' // 文本内容 ...
'use strict'; angular.module('atreeslife.memorium', ['ngRoute', 'ngResource','uiGmapgoogle-maps']) .factory("Memorium", function($resource) { return $resource( "http://localhost:3000/memorium/", {'query': { method: 'GET' }} ); }) .controller("memoriumController", ...
var class_module_1_1_i_module = [ [ "Type", "class_module_1_1_i_module.html#acde96227fba125dc2c7f85e7675a05dc", [ [ "Core", "class_module_1_1_i_module.html#acde96227fba125dc2c7f85e7675a05dcaded95a52e1183dc0f93eba1fc18d379e", null ], [ "Logger", "class_module_1_1_i_module.html#acde96227fba125dc2c7f85e767...
export { B as Behavior, V as CONTEXT, a5 as CUSTOM_UNITS, a3 as FLEX_GAP_SUPPORTED, O as NuAction, M as NuBase, L as Nude, a6 as ROOT_CONTEXT, a4 as STATES_MAP, a0 as assign, X as behaviors, T as contrast, c as deepQuery, d as deepQueryAll, L as default, $ as define, P as elements, Z as helpers, a2 as hue, I as icons, ...
/*! Buefy v0.9.16 | MIT License | github.com/buefy/buefy */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (global = global || self, factory(global.Tooltip = {})); }(this, f...
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { glo...
'use strict'; module.exports = Controller => class extends Controller { middlewareSetup() { super.middlewareSetup(); // This is used as early as possible so the base URL can be used in error pages this.use(this.setBaseUrlLocal); } setBaseUrlLocal(req, res, next) { res.loca...
/** * A utility class to help make it easier to access the data stores * @extends {Map} */ class Collection extends Map { /** * Returns an ordered array of the values of this collection. * @returns {array} * @example * // identical to: * Array.from(collection.values()); */ array() { return ...
"use strict"; // https://mithril.js.org/change-log.html#mdeferred-removed // Add a warning above any usage of `m.deferred()` module.exports = (file, api) => { var j = api.jscodeshift, s = api.stats; return j(file.source) .find(j.CallExpression, { callee : { object ...
/* Unobtrusive JavaScript https://github.com/rails/rails/blob/master/actionview/app/assets/javascripts Released under the MIT license */; (function() { var context = this; (function() { (function() { this.Rails = { linkClickSelector: 'a[data-confirm], a[data-method], a[data-remote]:not([disable...
/* Highcharts JS v9.2.2 (2021-08-24) Client side exporting module (c) 2015-2021 Torstein Honsi / Oystein Moseng License: www.highcharts.com/license */ 'use strict';(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/mod...
const PNG = require('pngjs').PNG; const path = require('path'); const ejs = require('ejs'); const fs = require('fs'); const spriteOffset = 2; function Sprite(opt) { this.opt = opt !== undefined ? opt : {}; if (this.opt.globalTemplate === undefined) { this.opt.globalTemplate = '{' + 'background-image:url(...
var app = angular.module("internal"); app.controller("MessengerController", function ($scope, $routeParams, $rootScope, msgService, socketService) { $scope.conversations = []; // stores the current conversation $scope.currentConversation = { 'id': null, 'participants': null, 'mess...
var express = require('express'); var router = express.Router(); /* GET home page. */ router.get('/', function(req, res) { res.render('index', { title: 'Andromeda JS' }); }); module.exports = router;
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ (function(){function t(a){return CKEDITOR.env.ie?a.$.clientWidth:parseInt(a.getComputedStyle("width"),10)}function o(a,g){var b=a.getComputedStyle("border-"+g+"-width"),c={thi...
/*! * DevExtreme (dx.messages.zh.js) * Version: 20.2.3 (build 20305-1832) * Build date: Sat Oct 31 2020 * * Copyright (c) 2012 - 2020 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict"; ! function(root, factory) { if ("function" ...
import React from 'react' import { render } from 'react-dom' import { Provider } from 'react-redux' import { basename } from 'config' import configureStore from 'store/configure' import api from 'services/api' import App from 'components/App' const initialState = window.__INITIAL_STATE__ const store = configureStore(...
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import 'isomorphic-fetch'; import React from 'react'; i...
// https://leetcode.com/problems/remove-duplicates-from-sorted-array/#/description /** * @param {number[]} nums * @return {number} */ var removeDuplicates = function (nums) { if (nums.length < 2) return nums.length; var pos = 1; var i = 1; while (i < nums.length && pos < nums.length) { if (nums[i] !== n...
angular.module("socially").controller("LoginCtrl", ['$meteor', '$state', function ($meteor, $state) { var vm = this; vm.credentials = { email: '', password: '' }; vm.error = ''; vm.login = function () { $meteor.loginWithPassword(vm.credentials.email, vm.credentials.password).t...
import './polyfill'; import Delta from 'quill-delta'; import Editor from './editor'; import Emitter from './emitter'; import Module from './module'; import Parchment from 'parchment'; import Selection, { Range } from './selection'; import extend from 'extend'; import logger from './logger'; import Theme from './theme';...
/** * vee-validate v4.5.6 * (c) 2021 Abdelrahman Awad * @license MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) : typeof define === 'function' && define.amd ? define(['exports', 'vue'], factory) : (global = typeof global...
/* 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 */ CKEDITOR.plugins.add("iframedialog",{requires:"dialog",onLoad:function(){CKEDITOR.dialog.addIframe=function(e,d,a,l,f,n,g){a={type:"iframe",src:a,width:"100...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _jsxRuntime = req...
CKEDITOR.plugins.setLang("iframe","sr-latn",{border:"Prikaži granicu okvira",noUrl:"Unesite iframe URL",scrolling:"Uključi pomerajuće trake",title:"IFrame podešavanje",toolbar:"IFrame",tabindex:"Remove from tabindex"});
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.TableHead = exports.tableHeadFactory = undefined; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.en...
/** * 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.7.1 (2021-03-17) */ (function () { 'use strict'; ...
/** * 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.6.2 (2020-12-08) */ (function () { 'use strict'; ...
/* Highstock JS v8.1.0 (2020-05-05) (c) 2009-2018 Torstein Honsi License: www.highcharts.com/license */ (function(S,P){"object"===typeof module&&module.exports?(P["default"]=P,module.exports=S.document?P(S):P):"function"===typeof define&&define.amd?define("highcharts/highstock",function(){return P(S)}):(S.Highchar...
/** * vee-validate vundefined * (c) 2020 Abdelrahman Awad * @license MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) : typeof define === 'function' && define.amd ? define(['exports', 'vue'], factory) : (global = global ||...
var request = require('supertest'); var app = require(__dirname+'/../../lib/app.js'); var gateway = require(__dirname+'/../../'); describe('clear withdrawals', function(){ it('should return unauthorized without credentials', function(done){ request(app) .post('/v1/withdrawals/110/clear') .expect(401...
var gulp = require('gulp'); var concat = require('gulp-concat'); var uglify = require('gulp-uglify'); var wrap = require('gulp-wrap'); var stripDebug = require('gulp-strip-debug'); var distFolder = './dist'; var files = [ './src/response.js', './src/request.js', './src/github.js', './src/repo-element.js' ]; ...
var Signal = require('signals').Signal; var config = require('../config'); function CubeMapNodeBase(renderer, material, format, type) { type = type || config.textureType; this.renderer = renderer; var camera = new THREE.CubeCamera(0.1, 2, 256, type, format); var scene = new THREE.Scene(); var cubeGeomtry = new TH...
export { WORKER_SCRIPT, WORKER_RENDER_PLATFORM, initializeGenericWorkerRenderer, WORKER_RENDER_APPLICATION_COMMON } from 'angular2/src/platform/worker_render_common'; export { WORKER_RENDER_APPLICATION, WebWorkerInstance } from 'angular2/src/platform/worker_render'; export { ClientMessageBroker, ClientMessageBrokerFact...
// Generated on 2014-01-03 using generator-webapp 0.4.6 'use strict'; // # Globbing // for performance reasons we're only matching one level down: // 'test/spec/{,*/}*.js' // use this if you want to recursively match all subfolders: // 'test/spec/**/*.js' module.exports = function (grunt) { // Load grunt tasks a...
"use strict"; var TechnicalDrawingsView = Backbone.View.extend({ initialize: function() { _.bindAll(this, "render"); var self = this; self.render(); }, template: JST['ooiui/static/js/partials/TechnicalDrawings.html'], render: function() { this.$el.html(this.template()); }  });
var delay = true; function resetDelay(ms) { setTimeout(function() { delay = true; }, ms); } /* If you don't want an image on the button set the img param to false or null. Use ms for buttonDelay param. This function prevents the user to click the button multiple times on a second, the funct...
// Copyright (c) 2012,2013 Peter Coles - http://mrcoles.com/ - All rights reserved. // Use of this source code is governed by the MIT License found in LICENSE // // console object for debugging // var log = (function() { var parElt = document.getElementById('wrap'), logElt = document.createElement('div');...
const express = require('express'); const staticServer = express(); staticServer.use(express.static('.')); staticServer.listen(3000, function() { console.log('Listening on 3000'); });
// Copyright (c) 2012 Ecma International. All rights reserved. // Ecma International makes this code available under the terms and conditions set // forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the // "Use Terms"). Any redistribution of this code must retain the above // copyright and this n...
var path = require('path'), glob = require('glob'), log = require('./logger'), helper = require('./util'); // Coffee is required here to enable config files written in coffee-script. try { require('coffee-script').register(); } catch (e) { // Intentionally blank - ignore if coffee-script is not availab...
import * as LogManager from 'aurelia-logging'; import {Origin} from 'aurelia-metadata'; import {Loader, TemplateRegistryEntry} from 'aurelia-loader'; import {Container, inject} from 'aurelia-dependency-injection'; import {ViewCompiler} from './view-compiler'; import {ViewResources} from './view-resources'; import {Modu...
"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")...
"use strict"; define(['RSVP', 'jQuery', 'Ember'], function (RSVP, $, Ember) { var DEVICE_INFO = {"vendorId": 0x0483, "productId": 0xFFFF}; function emberizePromisize(usbFunction, firstArgs) { return new RSVP.Promise(function (resolve, reject) { function callback() { if (chro...
/* WizUniqueIdentifier for PhoneGap - * * @author Ally Ogilvie * @copyright Wizcorp Inc. [ Incorporated Wizards ] 2014 * @file - wizUniqueIdentifier.js * @about - JavaScript PhoneGap bridge for unique identifer * * */ var wizUniqueIdentifier = { // get -- retrieve a unique identifier for a given key (the ...
/** * Copyright (c) 2013-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. * * @flow * @format */ 'use strict'; const Relay = require('../RelayPublic'); const performanceNow = require('performanceNow'); const ...
var module = ['module.js']; var boot; module.boot = function(gems) { var InitModules = gems.InitModules; InitModules(); };
import helper from 'yeoman-test'; import assert from 'yeoman-assert'; import path from 'path'; import fs from 'fs-extra'; import { getFileContent, getFixturePath, } from '../../../test/helpers'; import { getConfigDir } from '../../utils'; const connectionGenerator = path.join(__dirname, '..'); it('generate a co...
'use strict'; // Create the chat configuration module.exports = function (io, socket) { // Emit the status event when a new socket client is connected io.emit('chatMessage', { type: 'status', text: 'Is now connected', created: Date.now(), profileImageURL: socket.request.user.profileImageUR...
goog.provide('ash.fsm.ComponentSingletonProvider'); /** * @constructor * @param {Function} type The type of the single instance */ ash.fsm.ComponentSingletonProvider = function(type) { this.componentType = type; } /** * @type {Function} */ ash.fsm.ComponentSingletonProvider.prototype.componentType = null; /**...
'use strict'; angular.module('flickr-client') .controller('PhotoCubeCtrl', function ($scope, $famous, flickr) { var Transitionable = $famous['famous/transitions/Transitionable']; var Easing = $famous['famous/transitions/Easing']; var Timer = $famous['famous/utilities/Timer']; var EventHandler = $famo...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * @namespace Phaser.Renderer.WebGL */ module.exports = { Utils: require('./Utils'), WebGLPipeline: require('./WebGLPipeline'), ...
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let InsertChart = props => <SvgIcon {...props}> <path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z" /> </SvgIcon>; InsertChar...
var zmq = require('../'); var sock = zmq.socket('push'); sock.bindSync('tcp://127.0.0.1:3000'); console.log('Producer bound to port 3000'); setInterval(function(){ console.log('sending work'); sock.send('some work'); }, 500);
import React from 'react' import renderer from 'react-test-renderer' import Camera from '.' jest.mock('react-dom') describe('Camera', () => { it('renders <a-entity>', () => { const tree = renderer.create(<Camera />).toJSON() expect(tree.type).toBe('a-entity') }) })
"use strict"; var AppConstants = require('../constants/AppConstants'); var AppDispatcher = require('../dispatcher/AppDispatcher'); var EventEmitter = require('events').EventEmitter; var assign = require('object-assign'); var ActionTypes = AppConstants.ActionTypes; var DEFAULT_LOCALE = 'en_US'; // resolve the messy ...
import Experiments from '../../classes/Experiments' import Field from './Field' import Particle from './Particle' import { randomArbitrary, randomInteger } from '../../utils/random' export default class Flow extends Experiments { constructor () { super() this.field = null this.particles = null ...
module.exports = function( grunt ) { grunt.initConfig({ pkg: grunt.file.readJSON( 'package.json' ), jshint: { all: [ 'js/**/*.js' ] }, gitinfo: {}, clean: { dist: [ 'dist' ] }, update_json: { options: { src: 'package.json', indent: 2 }, bower: ...
'use strict'; var extend = require('lodash/extend'); var oo = require('../util/oo'); function I18n() { this.map = {}; } I18n.Prototype = function() { this.t = function(key) { if (this.map[key]) { return this.map[key]; } else { return key; } }; this.load = function(map) { extend(th...
var lib = 'lib'; var run = lib + '/run'; var depend = run + '/depend'; var licenses = run + '/licenses'; var demo = lib + '/demo'; var test = lib + '/test'; var config = lib + '/config'; var cleanDirs = [ lib ]; var dependencies = [ { name: 'mcagar', repository: 'buildrepo2', source: 'mcag...
"use strict"; var zetzer = require("./index"); var pages = "node_modules/grunt-zetzer/spec/fixtures"; var partials = "node_modules/grunt-zetzer/spec/includes"; var templates = "node_modules/grunt-zetzer/spec/templates"; var site = zetzer({ pages: pages, partials: partials, templates: templates }); module.expo...
'use strict'; describe('Controller: OauthButtonsCtrl', function() { // load the controller's module beforeEach(module('healthApp')); var OauthButtonsCtrl, $window; // Initialize the controller and a mock $window beforeEach(inject(function($controller) { $window = { location: {} }; Oauth...
import React from 'react'; import { shallow } from 'enzyme'; import EventLocationFilter from './EventLocationFilter'; describe('Component: <EventLocationFilter />', () => { const props = {}; beforeEach(() => { props.updateFilters = jest.fn(); props.disableGeoLocation = jest.fn(); }); it('renders wit...
var GitHubApi = require("github"); module.exports = function(config) { var accessToken = (config.accessToken) ? config.accessToken : false, github = new GitHubApi({ version: config.version || "3.0.0", debug: config.debug || false, protocol: "https", host: config.host || "api.gi...
sc.define("obtain", { Array: function(index, defaultValue) { if (Array.isArray(index)) { return index.map(function(index) { return this.obtain(index, defaultValue); }, this); } index = Math.max(0, index|0); if (index < this.length) { return this[index|0]; } return def...
const specs = require('../support/controllers/categories'); describe('Controller Categories', () => { const names = ['getCategories', 'createCategory', 'getCategoryById']; _.each(names, (name) => { describe(`#${name}`, () => { const spec = specs[name]; beforeEach('nock request...
'use strict'; /** * @ngdoc overview * @name directive.numeric */ angular.module('backAnd.directives') .directive('numeric', ['$log', function ($log) { /** * @ngdoc directive * @name directive.numeric * @description numeric element * @param {object} field, required, field configuration an...
/*! * remark v1.0.6 (http://getbootstrapadmin.com/remark) * Copyright 2015 amazingsurge * Licensed under the Themeforest Standard Licenses */ $.components.register("paginator", { mode: "init", defaults: { namespace: "pagination", currentPage: 1, itemsPerPage: 10, disabledClass: "disabled", a...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("...
var _ = require('lodash') var Promise = global.testPromise; var drops = [ 'sites', 'sitesmeta', 'admins', 'admins_sites', 'authors', 'authors_posts', 'blogs', 'posts', 'tags', 'posts_tags', 'comments', 'users', 'roles', 'photos', 'users_roles', 'info', 'Customer', 'Settings', 'hostnames', 'instances', 'uuid_...
import _JSXStyle from "styled-jsx/style"; export default (()=><div className={"jsx-1a19bb4817c105dd"}> <p className={"jsx-1a19bb4817c105dd"}>test</p> <_JSXStyle id={"1a19bb4817c105dd"}>{"p.jsx-1a19bb4817c105dd{color:red}\np.jsx-1a19bb4817c105dd{color:red}\n*.jsx-1a19bb4817c105dd{color:blue}\n[href=\"woot\"].j...
import { Controller, Service, inject } from 'ember-runtime'; import { run } from 'ember-metal'; import { QueryParamTestCase, moduleFor } from 'internal-test-helpers'; moduleFor( 'Query Params - shared service state', class extends QueryParamTestCase { boot() { this.setupApplication(); return this.v...
this.onmessage = function(event) { console.log("Got message in SW", event.data.text); if (event.source) { console.log("event.source present"); event.source.postMessage("Woop!"); } else if (self.clients) { console.log("Attempting postMessage via clients API"); clients.matchAll().then(function(cl...
// Avoid `console` errors in browsers that lack a console. (function() { var method; var noop = function () {}; var methods = [ 'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error', 'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log', 'markTimeline', 'profile',...
'use strict'; const TYPES = { MASTER: 'Master', OSCILLATOR: 'Oscillator', NOISE: 'Noise', MODULATOR: 'Modulator', ENVELOPE: 'Envelope', PAN: 'Pan', FILTER: 'Filter', DELAY: 'Delay', PINGPONGDELAY: 'PingPongDelay', TREMOLO: 'Tremolo', ...
import Layout from '../components/layout' import Sidebar from '../components/sidebar' export default function Contact() { return ( <section> <h2>Layout Example (Contact)</h2> <p> This example adds a property <code>getLayout</code> to your page, allowing you to return a React component...
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { getScatterPlot, updateWidth, updateHeight, updateTop, updateBottom, updateRight, updateLeft, update_x_name, update_x_nameColor, update_x_ticks, update_x_axisColor, update_y_name, update...
/** * A simple example demonstrating how to produce JSON for the * Tropo WebAPI. Execute by doing: * ~$ node path/to/tropo-webapi-node/samples/sample-1.js */ var tropowebapi = require('tropo-webapi'); var sys = require('sys'); // Create a new instance of the TropoWebAPI object. var tropo = new tropowebapi.TropoWebA...
const PartsPage = () => { return <div className="title">Parts page</div> } export default PartsPage
"use strict"; $(function() { var $searchField = $("#search-field"), $popularTags = $("#popular-tags"), showTags, hideTags; showTags = function() { return $popularTags.show(); }; hideTags = function() { return $popularTags.hide(); }; return $searchField...
version https://git-lfs.github.com/spec/v1 oid sha256:04dbdeb923ad723de01b071314073ff991ac19f38d453f2c72937ba5348fc66c size 30499
/** * * @providesModule SMXIconImage * @flow */ 'use strict'; var React = require('react-native'); var { StyleSheet, View, requireNativeComponent, processColor} = React; var shimAssert = require('./shim-assert'); var ICON_REF = 'icon'; class IconImage extends React.Component { setNativeProps(props:Object) { ...
var example = { drawOnCanvas: function(width, height, gradient, canvasId) { canvasId = canvasId || 'canvas'; var canvas = document.getElementById(canvasId); var ctx = canvas.getContext('2d'); var imageData = ctx.createImageData(width, height); var buffer = imageData.data...
var SelectListView = require('atom-space-pen-views').SelectListView; exports.selectListViewStaticInlineImpl = function(viewForItem, confirmed, filterKey, items) { function PurescriptSelectListView() { SelectListView.call(this); this.addClass('overlay'); this.addClass('ps-inline-overlay'); } Purescri...
import BaseInput from "./baseInput"; import Util from "./util"; const BaseSelection = ($ => { /** * ------------------------------------------------------------------------ * Constants * ------------------------------------------------------------------------ */ const Default = { label: { req...
angular.module('starter.controllers', []) .controller('ScanCtrl', function($scope, appServices) { $scope.message = ''; $scope.click = function() { var promise = appServices.scanBarcode(); promise.then( function(result) { if (result.error == false) { ...
var checkFullPageBackgroundImage = function(){ var page = $('.full-page'); var image_src = page.data('image'); if(image_src !== undefined){ var image_container = '<div class="full-page-background" style="background-image: url(' + image_src + ') "/>' page.append(image_container); } }; $(document).ready(functio...
// There is no single sound format that is supported // by all web browsers. For example, mp3 support is not native to // Firefox and Opera because the mp3 codec is patented. // // To ensure compatability, you can include the same sound file // in multiple formats, i.e. sound.mp3 and sound.ogg. Ogg is an // open sourc...
var userController = require('./userController.js'); var express = require('express'); var userRouter = express.Router(); userRouter.post('/', userController.post); userRouter.get('/', userController.getAllUsers); userRouter.get('/:username', userController.getSpecificUser); userRouter.put('/', userController.put); u...
"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")...
'use strict'; var defineBusinessProcess = require('../../model/business-process-new') , Database = require('dbjs'); module.exports = function (t, a) { var db = new Database() , BusinessProcess = defineBusinessProcess(db) , businessProcess = new BusinessProcess(), paths = [], paths2; paths = ['businessName'...
//= require jquery //= require jquery_ujs //= require turbolinks // //= require react //= require react_ujs //= require semantic-ui //= require_tree ./mockup
/** * Imports ***/ import ShadersUniform from '../shaders/shaders.localizer.uniform'; import ShadersVertex from '../shaders/shaders.localizer.vertex'; import ShadersFragment from '../shaders/shaders.localizer.fragment'; /** * @module helpers/localizer */ export default class HelpersLocalizer extends THREE.Obj...