code
stringlengths
2
1.05M
var createDefaults = require('lodash/internal/createDefaults'), merge = require('lodash/object/merge'), mergeDefaults = require('lodash/internal/mergeDefaults'); /** * This method is like `_.defaults` except that it recursively assigns * default properties. * * **Note:** This method mutates `object`. * *...
import { Record } from 'immutable' import I18n from 'react-native-i18n' import { SET_FROM, SET_TO, SET_TYPE, TYPE_OWN_BIKE } from '../actions/routeSearch' import { GET_GEOLOCATION_SUCCESS, WATCH_GEOLOCATION_SUCCESS } from '../actions/geolocation' import LocationRecord from '../records/location' const defau...
version https://git-lfs.github.com/spec/v1 oid sha256:097c910513c52b705ae5a0ab291f1bff216a25dc4b3178615bfd31ed9a55e98a size 81968
'use strict'; var _supertest = require('supertest'); var _supertest2 = _interopRequireDefault(_supertest); var _chai = require('chai'); var _chai2 = _interopRequireDefault(_chai); var _chaiHttp = require('chai-http'); var _chaiHttp2 = _interopRequireDefault(_chaiHttp); var _models = require('../models'); var _a...
var pathExists = require('path-exists'); var beautify = require('js-beautify').js_beautify; module.exports= { pathExist: function (query) { if(pathExists.sync(query)) return true; else return false; }, beautify: function (data) { return beautify(data, { indent_size: 4 }); }, capitalize: function (str)...
'use strict'; angular .module('docs', [ 'ngAnimate', 'ngCookies', 'ngResource', 'ngSanitize', 'ngTouch', 'ui.bootstrap', 'ui.router', 'docs.header', 'docs.settings', 'docs.viewer' ]);
/* * The scene encapsulates all the object-cpu side of the engine. * It contains all the configuration parameters + objects and lights. */ // TODO: move each subsection to its separated object // TODO: save to storage the last thing you did! all the parameters! var Scene = GUIObject.extend({ // ---------- GLOBAL...
/** * @jsx React.DOM */ 'use strict'; // config var config = require('./config'); // dependencies var React = require('react'); var ReactAsync = require('react-async'); // custom components var Head = require('./modules/components/head'); var LoginForm = require('./modules/components/login-form'); // Main page co...
import cookieParser from 'cookie-parser'; export default cookieParser();
// 存储全局的actions事件 import http from 'api/http' export const getUserInfo = ({ commit }) => { console.log(http) http.get('user/userInfos').end((err, res) => { console.log(err) console.log(res) }) }
#!/usr/bin/env node //this hook installs all your plugins // add your plugins to this list--either the identifier, the filesystem location or the URL var pluginlist = [ "org.apache.cordova.device", "org.apache.cordova.device-motion", "org.apache.cordova.device-orientation", "org.apache.cordova.geoloca...
"use strict"; var expect = require("expect.js"), path = require("path"), extractConfig = require("../../../lib/core/config/extractConfig.js"); describe("extractConfig", function () { var config, resultingConfig; beforeEach(function () { config = { "env" : "development", ...
var Icon = require('../icon'); var element = require('magic-virtual-element'); var clone = require('../clone'); exports.render = function render(component) { var props = clone(component.props); delete props.children; return element( Icon, props, element('path', { d: 'M7 7h10v3l4-4-4-4v3H5v6h2V7zm10 1...
/** * Created by kfirerez on 16/11/2016. */ import Q from 'q'; import axios from 'axios'; export default class ModelsServices { static get baseURL() { return 'http://localhost.rollout.io:4000'; } static loadModels() { return axios.get('http://localhost.rollout.io:4000/api/models'); } }
import React from 'react'; import { Link } from 'react-router'; class Navigation extends React.Component { render() { const { forward, backward, route } = this.props; return ( <Link to={route} className={ forward ? 'navigation forward-nav' : 'navigation backward-nav' } > ...
"use strict"; var adapter = global.adapter; var resolved = adapter.resolved; var rejected = adapter.rejected; var dummy = { dummy: "dummy" }; // we fulfill or reject with this when we don't intend to test against it describe("2.2.1: Both `onFulfilled` and `onRejected` are optional arguments.", function () { desc...
var async = require('async'); var fs = require('fs'); var loadDirectories = ['ccda']; exports.load = function(callback){ async.reduce(loadDirectories, {}, function(loadedDirectories, directoryName, reduction){ var directory = "./"+directoryName+"/"; fs.readdir(directory, function(err, fileNames){ ...
'use strict'; var concat = require('..'); var File = require('gulp-util').File; var fs = require('fs'); var path = require('path'); require('should'); var hiPOT = fs.readFileSync(__dirname + '/fixtures/hi.pot', {encoding: 'utf8'}); var byePOT = fs.readFileSync(__dirname + '/fixtures/bye.pot', {encoding: 'utf8'}); var...
const callWithPromise = (method, ...args) => { return new Promise((resolve, reject) => { Meteor.call(method, ...args, (err, res) => { if (err) reject(err.reason || 'Something went wrong.'); resolve(res); }); }); }; Meteor.callWithPromise = callWithPromise; const waitFo...
import {Items, Children} from './collections'; const ITEMS = 5; const CHILDREN_PER_ITEM = 5; export default () => { Items.remove({}); Children.remove({}); for (let i = 0; i < ITEMS; i++) { const itemId = Items.insert({ name: 'Name - ' + i }); for (let j = 0; j < CHILD...
'use strict'; var slides = document.getElementsByClassName('slide'); var currentSlide = 0; var isAnimating = false; _Intitialize(); /** * ======================= * FUNCTION DEFINITIONS * ======================= */ /** * Function: Initalize * * App Initializer */ function _Intitialize() { for (var i = 0...
import React, { Component } from 'react'; import { articleMounting } from '../../actions/index.js'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import Parser from 'html-react-parser'; import { Parallax, Background } from 'react-parallax'; import { Image } from 'react-bootstrap'; ...
import * as utils from 'ld/board/utils' export default class Tile { constructor(data, coord) { this.type = data.type this.restrict = data.restrict this.movementCost = data.movementCost this.image = data.image this.coord = coord this.pawns = [] this.enemies = [] this.item = null t...
// Chronograph Class // @params settings: object // @params parentWatch: Watch instance // // The chronograph complication requires a buttons and hands object // the buttons object contains the start and reset buttons which control the hands // The hands are designed and used to indicate tenth seconds, seconds, and min...
'use strict'; var logMethods = require('./log'); var type = require('./type'); var when = require('./when'); var Mouse = require('./mouse'); module.exports = GlobalMouse; /** * Global mouse object handling global mouse commands * * @constructor * @class GlobalMouse * @module WebDriver * @submodule Interaction...
Object.assign = require('object-assign'); if (typeof Promise === 'undefined') { require('promise/lib/rejection-tracking').enable(); window.Promise = require('promise/lib/es6-extensions.js') } if (typeof window.fetch === 'undefined') { require('whatwg-fetch') }
import { visitAndApproveStorage, testSnapshot } from '../../support/ui-test-helper.js' describe('use all parts of svg-edit', function () { before(() => { visitAndApproveStorage() }) it('check tool_source_set', function () { cy.get('#tool_source').click({ force: true }) cy.get('#svg_source_textarea...
"use strict"; var EventEmitter = require('events').EventEmitter , inherits = require('util').inherits , getSingleProperty = require('./utils').getSingleProperty , shallowClone = require('./utils').shallowClone , parseIndexOptions = require('./utils').parseIndexOptions , debugOptions = require('./utils').debu...
var _ = require('underscore'); var Helpers = {}; Helpers.productLink = function (links) { var productLink = _.find(links, function (l) { return l.link.type === 'offer' || l.link.type === 'product'; }); return productLink.link.url || null; }; Helpers.searchParams = function(keywords) { var iteratee = fun...
//$(document).ready(function(){ //}); $('#selectshop_id').on('change', function() { alert( "HI" ); // or $(this).val() });
/** * Created by SavioJoseph on 8/23/2016. */ angular.module("sprocketApp.data") .factory("placeOrderDal", ['$http', '$q', function ($http, $q) { return { getOrderDetails: function () { var deferred = $q.defer(); //var url = "sprocketModule/mocks/sampleMockData....
define([ "omega/widgets/Dialog", "text!./templates/ConfirmationDialog.html", "omega/widgets/Confirmation" ], function(Dialog, template) { return Dialog.extend({ options: { title: "Confirm...", message: "Are you sure you want to do that?", width: 300, height: "auto", sizable: false, closable: ...
var searchData= [ ['repetier_2epde',['Repetier.pde',['../_repetier_8pde.html',1,'']]], ['reptier_2eh',['Reptier.h',['../_reptier_8h.html',1,'']]] ];
'use strict'; import {List, Map, fromJS} from 'immutable'; import {expect} from 'chai'; import Theme from '../src/defaultTheme'; import reducer from '../src/themeReducer'; import {createStore, combineReducers} from 'redux'; import React from 'react'; import {renderIntoDocument, findRenderedDOMComponentWithTag} from 're...
'use strict'; module.exports = function(sequelize, DataTypes) { return sequelize.define('TaskLog', { 'content': {type: DataTypes.TEXT, required: true } }); };
/** * Spiral gulp task file. * @version 0.0.2 */ var gulp = require('gulp'), plugins = require('gulp-load-plugins')(), browserSync = require('browser-sync'), runSequence = require('run-sequence'), del = require('del'); combiner = require('stream-combiner2'); var reload ...
module.exports = { test: () => 'model.loader.foo.fozCamel.foo.test', };
// Generated by jsScript 1.10.0 (function() { Template.favoriteButton.helpers({ isFavorite: function(_id) { return Favorites.findOne({ doc: _id, owner: Meteor.userId() }); } }); Template.favoriteButtonNotFavorited.events({ 'click .js-favorite-button': function(e, t) { ...
import * as actions from '../app/types' const initialCommentsState = [] export function comments ( state = initialCommentsState, action) { switch (action.type) { case actions.GET_POST_COMMENTS: return [...state, ...action.comments] case actions.UPDATE_COMMENT: case actions.UPDATE_COMMENT_VOTESCORE...
 var MagicWand = (function () { var lib = {}; /** Create a binary mask on the image by color threshold * Algorithm: Scanline flood fill (http://en.wikipedia.org/wiki/Flood_fill) * @param {Object} image: {Uint8Array} data, {int} width, {int} height, {int} bytes * @param {int} x of start p...
export const TOGGLE_STREAM = 'TOGGLE_STREAM'; export const TOGGLE_PREVIEW = 'TOGGLE_PREVIEW'; export const TOGGLE_BROADCAST = 'TOGGLE_BROADCAST'; export const toggleStream = () => ({ type: TOGGLE_STREAM, }); export const togglePreview = () => ({ type: TOGGLE_PREVIEW, }); export const toggleBroadcast = () => ({ ...
import * as OV from '../../source/engine/main.js'; import * as fs from 'fs'; import * as path from 'path'; export function GetTextFileContent (fileName) { var testFilePath = path.join (path.resolve (), 'test', 'testfiles', fileName); if (!fs.existsSync (testFilePath)) { return null; } return fs...
define(["lodash","backbone","jquery","text!html/message.html"],function(e,t,a,s){var n;return n=t.View.extend({template:e.template(s),tagName:"div",name:"message",show:function(t){var s,n=t.templateData;e.defaults(n,this.getDefaultTemplateData()),s=this.template(n),this.$el.addClass("message"),this.$el.html(s),a("#mess...
// Generated by CoffeeScript 1.7.1 (function() { module.exports = { required: function(definition, context) { var i, property, _i, _len; if (!this.test_type("array", definition)) { throw new Error("The 'required' attribute must be an array"); } if (definition.length === 0) { ...
'use strict' const Botkit = require('botkit') const MongoStore = require('./lib/mongo_storage') const { parsedUptime } = require('./lib/bot_tools') const { imageSearch, urban, liveStatus, seen } = require('./lib/bot_plugins') const controller = Botkit.slackbot({ debug: process.env.NODE_ENV === 'development', ...
exports.check = function (markoCompiler, expect) { var taglibLookup = markoCompiler.taglibLookup; var lookup = taglibLookup.buildLookup(__dirname); var tag = lookup.getTag("test-hello"); // console.log(Object.keys(lookup.tags)); expect(tag != null).to.equal(true); expect(tag.name).to.equal("test-hello"); };...
//listens for the dom to load and calls init // window is an object with functions. One of them is addEventListener which listens for events // This event is DOMContentLoaded which means that the DOMContent has been loaded // then we call function init // the window triggers DOMContentLoaded and then we listen for it /...
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind#Polyfill if (!Function.prototype.bind) { Function.prototype.bind = function(oThis) { if (typeof this !== 'function') { // closest thing possible to the ECMAScript 5 // internal IsCallable function ...
var express = require('express'); mongoose = require('mongoose'); mongoose.connect(process.env.mongodb); var Thread = mongoose.model('thread', new mongoose.Schema({ id: { type: String, unique: true }, title: String })); var topLevelItems = require('./top-level-items'); /* mongodb://guest:guest@ds0...
define(["../../_base/array", "../../_base/lang", "../../when" ], function(array, lang, when){ // module: // dojo/store/util/QueryResults var QueryResults = function(results){console.log('QueryResults'); // summary: // A function that wraps the results of a store query with additional // methods. // description...
/** * Copyright (c) 2013, FeedHenry Ltd. All Rights Reserved. * * Class which exposes collection of functions for performing tests on fetch TODO details endpoint. * - Tests valid request parameters. * - Tests empty session id in request parameters. * - Tests invalid session id in request parameters. */ // Depe...
import * as ofxConverter from 'ofx'; import moment from 'moment'; import { KError } from '../../helpers'; const accountsTypesMap = { CHECKING: 'account-type.checking', SAVINGS: 'account-type.savings', CREDITLINE: 'account-type.loan', // line of credit MONEYMRKT: 'account-type.unknown', // money market...
// Generated by CoffeeScript 1.10.0 (function() { var app; app = angular.module('myApp'); app.factory('postComment', function($http) { return function(comment) { return $http.post('http://localhost:3000/comment/save', comment); }; }); app.factory('getComments', function($http) { return fu...
'use strict'; 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]; } } } return target; }; var React = require('react'); var d3 = require...
// @flow weak import keycode from 'keycode'; import contains from 'dom-helpers/query/contains'; import addEventListener from '../utils/addEventListener'; const FOCUS_KEYS = ['tab', 'enter', 'space', 'esc', 'up', 'down', 'left', 'right']; const internal = { listening: false, focusKeyPressed: false, }; function i...
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ re...
"use strict"; angular.module('swamp.services').service('swampManager', [ '$rootScope', 'EVENTS', 'LOG_TYPE', 'serializeService', 'aggregatedDataFactory', 'AGGREGATED_LIST_TYPE', 'SOCKET_EVENTS', 'CLIENT_REQUEST', function($rootScope, EVENTS, LOG_TYPE, serializeService, aggregatedDataFactory, AGGREGATED_LIST_TY...
import { moduleForComponent, test } from 'ember-qunit'; import hbs from 'htmlbars-inline-precompile'; moduleForComponent('ember-interface', 'Integration | Component | ember interface', { integration: true }); test('it renders', function(assert) { // Set any properties with this.set('myProperty', 'value'); // H...
import { foreach } from "../../../func/util"; import { buildPlugin } from "../../../func/private"; import correctParam from "../../../correctParam"; import pluginBuilder from "../core"; import Loader from "../../../require/Loader"; function getGlobal ( globalName ) { const globalObj = window [ globalName ]; delete w...
$(document).on('turbolinks:load', function() { if (document.getElementById('cf0925')) { // console.log('Setting up the item total calculations.'); var item_ids = [ '#cf0925_item_cost_1', '#cf0925_item_cost_2', '#cf0925_item_cost_3' ].join(', '); update_item_total = function() { ...
/* jshint devel: true, indent: 2, undef: true, unused: strict, strict: false, eqeqeq: true, trailing: true, curly: true, latedef: true, quotmark: single, maxlen: 120 */ /* global define, $ */ define('views/login', ['chimera/global', 'backbone', 'chimera/template', 'chimera/page', 'chimera/authenticate'], functio...
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("preview","sl",{preview:"Predogled"});
'use strict'; module.exports = function(grunt) { // Project configuration. grunt.initConfig({ nodeunit: { files: ['test/**/*-test.js'], }, jshint: { options: { jshintrc: '.jshintrc' }, gruntfile: { src: 'Gruntfile.js' }, lib: { src: ['src/**/...
(function($) { "use strict"; //windows load event $(window).load(function() { /* ---------------------------------------------------------------------- */ /* -------------------------- 01 - Preloader ---------------------------- */ /* ---------------------------------------------------------------------- */ ...
/** * @fileoverview Validate closing bracket location in JSX * @author Yannick Croissant */ 'use strict'; // ------------------------------------------------------------------------------ // Requirements // ------------------------------------------------------------------------------ var rule = require('../../../...
var Promise = require('bluebird') , request = Promise.promisifyAll(require('request')) , md = require('markdown').markdown , _ = require('lodash') , yt = require('youtube-dl') , fs = require('fs') , ProgressBar = require('progress') var getInfoAsync = Promise.promisify(yt.getInfo) var _link = 'https://raw...
/** * Swaggy Jenkins * Jenkins API clients generated from Swagger / Open API specification * * The version of the OpenAPI document: 1.1.2-pre.0 * Contact: blah@cliffano.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not ed...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
// Copyright IBM Corp. 2014,2016. All Rights Reserved. // Node module: loopback-sdk-angular // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT /* eslint quotes: ["error", "single"] */ var fs = require('fs'); var g = require('strong-globalize')(); var path =...
import AbstractView from './AbstractView'; export default class HomeView extends AbstractView { static get className() { return __filename.match(new RegExp(/.*\/([A-z]+)\.js$/))[1]; } static get requiredAssets() { return []; } constructor() { super('home'); } }
'use strict' module.exports = { extends: 'plugin:ramda/recommended', plugins: ['eslint-plugin-ramda'], rules: { 'ramda/always-simplification': 'error', 'ramda/compose-simplification': 'error', 'ramda/eq-by-simplification': 'error', 'ramda/pipe-simplification': 'error', 'ramda/prefer-both-eith...
'use strict'; const common = require('../common.js'); const assert = require('assert'); const bench = common.createBenchmark(main, { source: [ 'array', 'arraybuffer', 'arraybuffer-middle', 'buffer', 'uint8array', 'string', 'string-utf8', 'string-base64', 'object' ], len: [10, ...
/* eslint-env mocha */ /* eslint-disable no-unused-expressions */ /* global expect */ (function () { 'use strict'; var Dyframe = window.Dyframe; var element = document.createElement('div'); var dyframe; // Helpers var hasClass = function (element, className) { if (element.classList) { return ele...
const normalizePhone = (value, previousValue) => { if (!value) { return value; } const onlyNums = value.replace(/[^\d]/g, ''); if (!previousValue || value.length > previousValue.length) { // typing forward if (onlyNums.length === 3) { return onlyNums + '-'; } if (onlyNums.length === 6)...
// neverdie process.on('uncaughtException', function(err){ console.log('uncaughtException', new Date(), 'Caught exception: ' + err); }); require('./lib/native-x'); var defaultConfig = { sosTelnet:{ host: "127.0.0.1", port: 2468 }, controlInterface:{ server:{ port: 3500 } }, cmsInterface:{ server:{ ...
import React, {Component, PropTypes} from 'react'; import '../../styles/base.scss'; class App extends Component { static propTypes = { children: PropTypes.element.isRequired }; render () { return ( <div className="app"> {this.props.children} </div> ); } } export default App;
var express = require('express'); var webpack = require('webpack'); var webpackDevMiddleware = require('webpack-dev-middleware'); var webpackHotMiddleware = require('webpack-hot-middleware'); var yargs = require('yargs'); var args = yargs .alias('p', 'production') .argv; var app = new express(); var port = 8000; ...
import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import PageLink from './PageLink'; /** * Determine if there are multiple page links for pagination, apart * from previous/next links and current page. * * @param {array} pageLinks * @returns boolean */ function h...
module.exports = {"test/fixtures/hello":"<div>hello {{name}}</div>"};
/* eslint-disable */ import React from 'react'; class FootnoteExample extends React.Component { render() { return ( <AnnouncementModalLayout illustration={'generic_post.svg'} primaryButtonText="Start Now" linkText="Learn More" title="Import Posts From WordPress" onCl...
import React from 'react'; import float from 'float'; import { clamp, path, pipe } from 'ramda'; import PropTypes from 'prop-types'; import { noop } from 'lodash'; import { NODE_CPT_PRECISION } from 'constants/node'; import { getComponentTestId } from 'utils/test-utils'; import styles from './styles.scss'; const clamp...
/* * Utilities: A classic collection of JavaScript utilities * Copyright 2112 Matthew Eernisse (mde@fleegix.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ht...
import styles from './Columns.less'; import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; const renderColumn = (el, index) => ( <div key={index}>{el}</div> ); export default function Columns({ children, tight, flexible }) { return ( <div className={classna...
'use strict'; const ENABLE = true; const ReactNative = require('react-native'); const { NativeModules, } = ReactNative; module.exports = ENABLE ? NativeModules.Des : { encrypt: (text, key, callback) => callback(text), decrypt: (code, key, callback) => callback(code), };
"use strict"; /* eslint-disable */ const TwitterApp = angular.module("TwitterWidget", ["ui.router"]); TwitterApp.config(function($stateProvider, $urlRouterProvider) { $stateProvider .state('twIndex', { url: "/", templateUrl: "./widgets/twitter_widget/partials/default.html", ...
import React from "react"; import Spinner from "./WrapperSpinner"; import DefaultLayout from "./DefaultLayout"; import * as setupConnection from "../constants/socketConnection"; export default class Main extends React.Component { componentDidMount() { const actions = this.props.actions; actio...
/** * simple_locator * http://roman.tao.at * * Copyright (c) 2010, Roman Weinberger * Licensed under the MIT License. */ var simple_locator = function(usr_options) { // default options var options = { threshold : 50, google_geocoding : false, // needs included google api running_callback : false, finish...
export { default } from './GoPlain'
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = require("@angular/core"); var column_header_directive_1 = require("./column-header.directive"); var column_cell_directive_1 = require("./column-cell.directive"); var DataTableColumnDirective = (function () { function DataTable...
var sync = require('synchronize'); var request = require('request'); // The Type Ahead API. module.exports = function(req, res) { var user = req.query.text.trim(); if (!user) { res.json([{ title: '<i>(enter a username or organization)</i>', text: '' }]); return; } // Compared to the t...
import React from 'react' import ReactDataGrid from 'react-data-grid'; import {connect} from 'react-redux' import { Editors, Formatters } from 'react-data-grid-addons'; import cs from '../../../../services/CommunicationService' import $ from "jquery"; class _HousingInfo extends React.Component{ constructor(props) ...
module.exports = function resizeRendererFn( app, canvas ) { return function resizeRenderer() { const w = 0.5 * window.innerWidth * window.devicePixelRatio const h = 0.5 * window.innerHeight * window.devicePixelRatio canvas.width = w canvas.height = h app.aspectRatio = w / h app.gl.viewport(0, 0, w, h)...
define(['js/data/Entity', 'app/validator/IpAddressValidator', 'app/validator/NetmaskAddressValidator'], function (Entity, IpAddressValidator, NetmaskAddressValidator) { var whenStatic = function () { return this.$.mode === 'static'; }; var whenPPPoE = function () { return this.$.mode === 'pppoe'; }...
/* global document Image */ import MouseHandler from '../../../Interaction/Core/MouseHandler'; import SizeHelper from '../../../Common/Misc/SizeHelper'; export default class NativeImageRenderer { constructor(domElement, imageProvider, mouseListeners = null, drawFPS = true) { this.size = SizeHelper.getSize(dom...
'use strict'; module.exports = function(grunt) { // Project configuration. grunt.initConfig({ jshint: { options: { jshintrc: '.jshintrc' }, gruntfile: { src: 'Gruntfile.js' } // lib: { // src: ['lib/**/*.js'] // } }, coffee: { compile: { ...
import React from 'react'; import { withStyles } from '@material-ui/core/styles'; import { purple } from '@material-ui/core/colors'; import FormGroup from '@material-ui/core/FormGroup'; import FormControlLabel from '@material-ui/core/FormControlLabel'; import Switch from '@material-ui/core/Switch'; import Grid from '@m...
version https://git-lfs.github.com/spec/v1 oid sha256:c9adf4f15de21f2bc8e07c750387fc118e03cdbfaec876b77ab7d038ae4143ac size 2509
version https://git-lfs.github.com/spec/v1 oid sha256:802c0d1f6a2affbf937d5a43b7fced052d84d52d3cc341fa982289508e68d482 size 9906
'use strict'; var SurveyLoader = function() { this.surveys = [ { title: 'Food Survey', desc: 'Please answer the below questions about your most recent meal.', label: '[Health Food]', questions: [ { type: 'radio', ...
/* @flow weak */ require('dotenv').config(); const Koa = require('koa'); const serve = require('koa-static'); const bodyParser = require('koa-bodyparser'); const router = require('koa-router')(); const oracledb = require('oracledb'); const remoteBase64 = require('node-remote-base64'); const api = require('./api'); c...