text stringlengths 2 1.05M |
|---|
Math.isOdd = function(iNum) {
if (iNum % 2 === 0) {
return true;
} else {
return false;
}
};
|
import { alias } from '@ember/object/computed';
import Component from '@ember/component';
export default Component.extend({
layout: alias('compiledTemplate')
});
|
module.exports = async d => {
const { code } = d.command
const inside = d.unpack()
const err = d.inside(inside)
if (err) return d.error(err)
let [hm] = inside.inside
try {
const queue = await d.client._distube.getQueue(d.message)
if(!typeof hm === 'number') d.aoiError.fnError(d, 'custom', {inside:inside}, `I... |
/**
* Copyright (c) 2014, Facebook, Inc. All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @flow
*/
'use stri... |
'use strict';
/*!
* ws: a node.js websocket client
* Copyright(c) 2011 Einar Otto Stangvik <einaros@gmail.com>
* MIT Licensed
*/
var bufferUtil;
try {
bufferUtil = require('bufferutil');
} catch (e) {
bufferUtil = require('./BufferUtil.fallback');
}
module.exports = bufferUtil.BufferUtil || bufferUtil;
|
/******/ (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... |
import { put, takeEvery, takeLatest, select, call } from 'redux-saga/effects'
import * as Actions from '../actions/jobsActions'
import * as Types from '../types/jobsTypes'
import { getJobsFromFramework, getJobFromFramework, createJobInFramework, stopRunningJobInFramework, deleteJobInFramework } from '../apis/jobsApi';
... |
import React from "react"
import { Link } from "gatsby"
import Layout from "../components/layout"
import SEO from "../components/seo"
import "../styles/contact.sass"
const ContactInfo = () => (
<Layout>
<SEO title="Home" />
<div className="contact">
<h1>Moj email: moroz128@gmail.com</h... |
'use strict';
var aws = require('aws-sdk');
var elasticTranscoder = new aws.ElasticTranscoder({ apiVersion: '2012-09-25' });
var pub = {};
pub.validate = function (event) {
if (!event.ResourceProperties.Container) {
throw new Error('Missing required property Container');
}
if (!event.ResourceProp... |
function sumNested(arr) {
return arr.reduce((a, b) => a.concat(Array.isArray(b) ? sumNested(b) : b), []).reduce((x, y) => x + y, 0);
}
// From: https://www.codewars.com/kata/sum-of-a-nested-list
// 7 kyu
console.log(sumNested([1, [2, [3, [4]]]])); // 10
|
import React from 'react'
import {
Switch,
Route
} from "react-router-dom";
//local components
import ContentPaths from './ContentPaths';
export default class Content extends React.Component {
constructor(props) {
super(props);
this.props = props;
}
render() {
return (
... |
// @flow
import type {
Persistor,
PersistConfig,
PersistorOptions,
PersistorState,
MigrationManifest,
RehydrateAction,
RehydrateErrorType,
} from './types'
import { createStore } from 'redux'
import { FLUSH, PAUSE, PERSIST, PURGE, REGISTER, REHYDRATE } from './constants'
type PendingRehydrate = [Object... |
/*
* © 2009 ROBO Design
* http://www.robodesign.ro
*
* $Date: 2009-05-11 23:34:52 +0300 $
*/
var PaintWebInstance = new (function () {
var _self = this;
this.layer = {canvas: null, context: null};
this.tool = null;
this.doc = document;
this.win = window;
function init () {
profiler.start('init');... |
export default {
fonts: {
family: {
base: "'Open Sans', Arial, sans-serif",
fallback: "Arial, sans-serif"
},
size: {
normal: "14px",
small: "12px",
large: "16px"
}
},
colors: {
text: "#242424",
inversedText: "#EBEBEB",
background: "#FFF",
inversedLink:... |
var targetItem, FlyingItem, prevScroll= 0, enableScrolling = true, isOnTop = false;
$(".ct-nav-main li").on("click", function(e){
e.preventDefault();
FlyingItem = $(this);
switchActiveMenu(FlyingItem)
})
var scrollPosition = [
self.pageXOffset || document.documentElement.scrollLeft || document.body.scrol... |
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import ReactPaginate from 'react-paginate';
import $ from 'jquery';
window.React = React;
export class CommentList extends Component {
render() {
let commentNodes = this.props.data.map(function(comment, index) {
return... |
import Item from './index.vue'
Item.install = function (Vue) {
Vue.component(Item.name, Item)
}
export default Item |
import { TestId, getSelector } from '../../../webapp/utils/testId'
import { user, user2 } from '../mock/user'
import { gotoUserList, gotoHome } from './_navigation'
const expectUsers = (users) => {
test(`Verify users to be ${users.length}`, async () => {
const rowsSelector = getSelector(TestId.table.rows(TestId.... |
export { default } from './Barge' |
import React, { Component } from 'react';
import HeaderJumbotron from './containers/header_jumbotron';
import NavMenu from './containers/nav_menu';
import ArticleRouter from './components/article_router';
import FooterBanners from './containers/footer_banners';
import Blurb from './containers/blurb';
// App is a class... |
/* @flow */
import React from 'react';
import Hello from './es6class-types-module';
import type {Node} from 'react';
type Props = {name: string};
class HelloLocal extends React.Component<Props> {
render(): Node {
return <div>{this.props.name}</div>;
}
}
class Callsite extends React.Component<Props> {
rende... |
module.exports = function(grunt) {
// 1. All configuration goes here
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
banner: '\n /* \n * PikadayResponsive \n * A responsive datepicker built on top of Pikaday. It shows the native datepicker on mobile devices and a nice JS-picker on desktop. \n ... |
"use strict";
var $ = require("../core/renderer"),
Editor = require("./editor/editor"),
registerComponent = require("../core/component_registrator"),
extend = require("../core/utils/extend").extend,
fx = require("../animation/fx");
var TRACKBAR_CLASS = "dx-trackbar",
TRACKBAR_CONTAINER_CLASS = "dx... |
module.exports={A:{A:{"2":"I D F E A B pB"},B:{"2":"C N O Q J K L","129":"b KB NB R S T M V W G bB"},C:{"1":"0 1 2 3 4 5 6 7 8 9 YB H c I D F E A B C N O Q J K L d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB eB IB TB P LB MB X OB PB QB RB JB HB a Z UB VB WB XB SB b KB NB oB R S T M V W G wB zB","2"... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends2 = require("babel-runtime/helpers/extends");
var _extends3 = _interopRequireDefault(_extends2);
var _react = require("react");
var _react2 = _interopRequireDefault(_react);
var _propTypes = require("prop-types");
var _pro... |
'use strict';
var should = require('should'),
request = require('supertest'),
app = require('../../server'),
mongoose = require('mongoose'),
User = mongoose.model('User'),
Qrpoint = mongoose.model('Qrpoint'),
agent = request.agent(app);
/**
* Globals
*/
var credentials, user, qrpoint;
/**
* Qrpoint routes t... |
const path = require("path");
const withPlugins = require("next-compose-plugins");
const cssPlugin = require("@zeit/next-css");
const typescriptPlugin = require("@zeit/next-typescript");
const bundleAnalyzerPlugin = require("@zeit/next-bundle-analyzer");
const lessPlugin = require("@zeit/next-less");
const optimizeImag... |
// automatically generated by the FlatBuffers compiler, do not modify
/**
* @const
* @namespace
*/
var MNN = MNN || {};
/**
* @enum {number}
*/
MNN.NetSource = {
CAFFE: 0,
TENSORFLOW: 1,
TFLITE: 2,
ONNX: 3
};
/**
* @enum {string}
*/
MNN.NetSourceName = {
'0': 'CAFFE',
'1': 'TENSORFLOW',
'2': 'TF... |
const webpack = require('webpack');
const ringConfig = require('../webpack.config');
const pkgConfig = require('../package.json').config;
module.exports = {
stories: [
// Make welcome stories default
'../components/welcome.examples.js',
'../components/**/*.examples.js'
],
presets: [require.resolve('... |
var class_y_t_music_uploader_1_1_providers_1_1_request_models_1_1_browse_playlists_results_context_1_1_menunavigationitemrenderer =
[
[ "icon", "de/d30/class_y_t_music_uploader_1_1_providers_1_1_request_models_1_1_browse_playlists_results_context_1_1_menunavigationitemrenderer.html#ada8f803937769385176aae3251f3552e... |
var _ = require("underscore"),
fs = require('fs'),
path = require('path'),
os = require('os'),
bodyParser = require("body-parser"),
cookieParser = require('cookie-parser'),
Busboy = require("busboy"),
Parent = require("brisk").getClass("main");
helper = Parent.extend({
/*
init: function( site ){
// save con... |
import { combineUrlParams } from "utils";
import { client } from "client/request";
import {
ROOM_BILL_DELETE,
ROOM_BILL_CREATE,
ROOM_BILL_SEARCH,
ROOM_BILL_UPDATE,
ROOM_BILL_CONFIRM_CHECKOUT,
ROOM_BILL_SEARCH_BY_ROOM_AND_BOOKING,
} from "../client/api";
export default {
search(param = {}) {
return ne... |
import * as action from './action';
import { configureLogger } from '../../../../lib/index';
export default (event, context) => {
configureLogger(event, context);
action.respond(event, (error, response) => {
return context.done(error, response);
});
};
|
// Generated by LiveScript 1.3.1
(function(){
var local, ldParallax;
local = {};
ldParallax = function(opt){
var handler, update, iocfg, this$ = this;
opt == null && (opt = {});
this.host = opt.host;
if (this.host === document) {
this.host = null;
}
this.watching = false;
handler... |
import React, { Component } from 'react';
import { Caffeine, BenzeneWithHomo } from '@openchemistry/sample-data';
import logo from './logo.svg';
import './App.css';
import { wc } from './utils/webcomponent';
class App extends Component {
render() {
return (
<div className="App">
<header className=... |
import { RateConstantsDataTable } from "~/scenes/BiochemicalEntityDetails/Reaction/RateConstantsDataTable";
import testRawData from "~/__tests__/fixtures/reaction-constants-adenylate-kinase";
import { MetadataSection } from "~/scenes/BiochemicalEntityDetails/Reaction/MetadataSection";
import { shallow } from "enzyme";
... |
"use strict";
/********************************************************************************
* Copyright (C) 2017 TypeFox and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl... |
/* PrismJS 1.24.0
https://prismjs.com/download.html#themes=prism&languages=clike+javascript */
var _self =
'undefined' != typeof window
? window
: 'undefined' != typeof WorkerGlobalScope && self instanceof WorkerGlobalScope
? self
: {},
Prism = (function (u) {
var c = /\blang(?:uage)?-... |
module.exports = {
branchSeed: [
{
type: 0,
name: 'Branch A',
code: 'branch-a',
address: 'Branch A Address, city A, state A, country A',
startTime: '12:00',
endTime: '18:00',
status: true
}, {
type: 0,
... |
/*
Prologue by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/
(function($) {
var $window = $(window),
$body = $('body'),
$nav = $('#nav');
// Breakpoints.
breakpoints({
wide: [ '961px', '1880px' ],
nor... |
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html
module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['jasmine', '@angular-devkit/build-angular'],
plugins: [
require('karma-jasmine'),
requir... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _element = require("@wordpress/element");
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"... |
const supertest = require('supertest');
const app = require('../app');
const request = supertest(app);
const errorFormatMessage = 'Address field should has this format: <Street Number> <Street name>, <PostalCode> <City Name>';
describe('Locate the business unit', () => {
test('Should returns 200', async () => {
... |
import{r as e,o as r,c as l,a as n,b as t,w as p,F as u,e as o,d as s}from"./app.eef53290.js";import{_ as c}from"./plugin-vue_export-helper.21dcd24c.js";const i={},k=o('<h1 id="mock-data" tabindex="-1"><a class="header-anchor" href="#mock-data" aria-hidden="true">#</a> mock data</h1><p>\u7528\u6765\u6A21\u62DF\u670D\u5... |
import styled, { css } from 'styled-components';
export default styled.div`
${({ theme }) => theme.mixins.flexBetween};
position: fixed;
top: 0;
z-index: 11;
padding: 0px 50px;
width: 100%;
height: var(--nav-height);
background-color: var(--pallete-primary);
filter: none !important;
pointer-events... |
import React from 'react';
import PropTypes from 'prop-types';
import Config from '../config';
import {DeidentifiedNoteApi, ToolApi} from '../apis';
import {DeidentifyRequestFromJSON} from '../models';
import {Configuration} from '../runtime';
import {encodeString, decodeString} from '../stringSmuggler';
import {with... |
/*
Class for outline and threshold class
Florian Wokurka (2013)
https://github.com/notiontaxi
*/
"use strict"
define(['text!templates/task-vectorizer.html', 'js/strategies/ImageProcessingMenubarStrategy'], function(contentTemplate, ImageProcessingMenubarStrategy) {
var VectorizerStrategy, _ref, module,
module =... |
"use strict";
/**
* Various utility functions.
* @namespace
*/
var util = module.exports = require("./util/minimal");
var roots = require("./roots");
var Type, // cyclic
Enum;
util.codegen = require("@protobufjs/codegen");
util.fetch = require("@protobufjs/fetch");
util.path = require("@protobufjs/path"... |
import Vue from 'vue'
import Router from 'vue-router'
import Meta from 'vue-meta'
import Login from './views/login'
import CreateOrg from './views/create_org'
import CreateUser from './views/create_user'
import Forms from './views/forms'
import Dashboard from './views/dashboard'
import Messages from './views/messages'... |
Package.describe({
summary: 'A Blaze powered layout component for dynamic rendering.'
});
Package.on_use(function (api) {
api.use('iron-router', 'client', {weak: true});
api.use('templating');
api.use('ui');
api.use('reactive-dict');
api.use('underscore');
api.add_files('layout.js', 'client');
api.exp... |
function colorChangerHex() {
var x = Math.floor(Math.random()*256);
var y = Math.floor(Math.random()*256);
var z = Math.floor(Math.random()*256);
var bgColor = "rgb("+ x +","+ y +","+ z +")";
document.getElementById("background").style.backgroundColor = bgColor;
document.getElementById("textCo... |
class MenuSystem {
// onEventFunction = ('eventname', 'field_id', parameters) => {}
constructor(scene, nodes, onEventFunction) {
this.scene = scene
var gui = BABYLON.GUI.AdvancedDynamicTexture.CreateFullscreenUI("MenuSystem", true, scene)
gui.idealWidth = 1920
gui.idealHeight = ... |
const HtmlRelation = require('./HtmlRelation');
// Requires: config.attributeName
class HtmlApplet extends HtmlRelation {
get href() {
return this.node.getAttribute(this.attributeName);
}
set href(href) {
this.node.setAttribute(this.attributeName, href);
}
attach(position, adjacentRelation) {
t... |
/**
* Copyright IBM Corp. 2016, 2020
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
*/
'use strict';
var _16 = {
"elem": "svg",
"attrs": {
"xmlns": "http:/... |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See https://js.arcgis.com/4.10/esri/copyright.txt for details.
//>>built
define(["dojo/_base/declare","dojo/json","../../../geometry/Multipoint","./Enum","./Util"],function(h,e,g,k,l){var f=new k,c=new l;return h(null,{declaredClass:"es... |
const path = require('path')
const merge = require('webpack-merge')
const base = require('./webpack.base.config.js')
const config = require('../config')
const configuration = merge(base, {
mode: 'production',
entry: {
app: path.resolve(__dirname, '../src/index.js'),
},
output: {
filename: 'owl-create-a... |
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html
module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['jasmine', '@angular-devkit/build-angular'],
plugins: [
require('karma-jasmine'),
requir... |
/**
* vein.js - version 0.3
*
* by Danny Povolotski (dannypovolotski@gmail.com)
**/
import {extend,registerEx,keys,isArray,isNumber,isString,isStringEmpty,isUndefined,isFunction,dePrefix} from "../util.js";
import prefixCSS from "../util/prefixfree.js";
import HOOK from "../util/stylehooks.js"
import {Lib} from ... |
import styled from 'styled-components';
const ContactMentorStyled = styled.div`
textarea {
width: 100%;
height: 100%;
resize: none;
border: none;
min-height: 23rem;
background: #fbfcff;
box-shadow: 0px 4px 15px rgba(31, 89, 187, 0.1);
border-radius: 10px;
padding: 1rem;
}
.se... |
import { css } from 'styled-components';
export const shadow = '4px 4px 10px 0 rgba(0, 0, 0, 0.35)';
export const insetShadow = 'inset 2px 2px 3px rgba(0,0,0,0.2)';
export const createDisabledTextStyles = () => css`
-webkit-text-fill-color: ${({ theme }) => theme.materialTextDisabled};
color: ${({ theme }) => the... |
/*-
* ============LICENSE_START=======================================================
* ONAP Policy Engine
* ================================================================================
* Copyright (C) 2017, 2019 AT&T Intellectual Property. All rights reserved.
* ==============================================... |
import React, { Component } from "react";
import _ from "lodash";
import injectSheet from "react-jss";
import mapboxgl from "mapbox-gl";
mapboxgl.accessToken =
"pk.eyJ1IjoiaG9mZnQiLCJhIjoiY2llaGNtaGRiMDAxeHNxbThnNDV6MG95OSJ9.p6Dj5S7iN-Mmxic6Z03BEA";
const styles = {
mapArea: {
flex: "1 1 100%",
display: "... |
/*-
* ========================LICENSE_START=================================
* AEM Permission Management
* %%
* Copyright (C) 2013 - 2016 Wunderman Thompson Technology
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
... |
var searchData=
[
['w_5fgrp_349',['w_grp',['../namespacem__system.html#a84acc0ec08b97205a7ab0c571de4a484',1,'m_system']]],
['w_5fok_350',['w_ok',['../namespacem__system.html#a8f34e61e94106b90ca48b9ef1165474c',1,'m_system']]],
['w_5foth_351',['w_oth',['../namespacem__system.html#a74aa20ba216fb67c7ab29c7f791654b3',... |
/**
* @license
* Copyright 2016 Google Inc.
*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... |
module.exports = function(grunt) {
grunt.config('lintspaces', {
all: {
src: [
'Gruntfile.js',
'resources/grunt-configs/*.js',
'omnibus/**/src/*.js',
'testing/jstests/**/*.js'
],
options: {
editorconfig: '.editorconfig',
ignores: ['js-comments']
}
}
});
grunt.loadNpmTasks('gru... |
'use strict';
const express = require('express');
const apiAuth = require('login.dfe.api.auth');
const config = require('./../../infrastructure/config')();
const { asyncWrapper } = require('login.dfe.express-error-handling');
const { deprecate } = require('./../../utils');
const listInvitations = require('./listInvit... |
var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < ... |
define({
"map": {
"error": "Impossibile creare la mappa",
"licenseError": {
"message": "L’account non dispone della licenza per l’uso di app configurabili non pubbliche. È necessario richiedere all’amministratore dell'organizzazione l’assegnazione di un tipo di utente che includa le app essenziali o una... |
//obsverer object
const subNavList = {
container: document.querySelector("#subnav"),
anchors: null,
headers: null,
intersectionOptions: {
root: this.headers,
rootMargin: "-200px",
},
observer: null,
//initialise method
init() {
this.handler = this.handler.bind(this... |
!function(){"use strict";function e(){}let t={};const n=0,r=1,o=2,i=3,a="__preactattr_",s=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,l=[];function c(e,t){this._dirty=!0,this.context=t,this.props=e,this.state=this.state||{}}R(c.prototype,{setState(e,t){let n=this.state;this.prevState||(this.prevState=R({},... |
import PropTypes from 'prop-types';
import styled from 'styled-components';
import { getDownArrowIcon } from './icons';
/**
* A select.
*/
const Select = styled.select`
appearance: none;
user-select: none;
width: ${props => props.fullWidth && '100%'};
height: 2.5rem;
padding-top: ${props => props.theme.space[3]... |
!function(e,a){"object"==typeof exports&&"object"==typeof module?module.exports=a(require("src/main/webapp/static/assets/bower_components/moment/moment"),require("src/main/webapp/static/assets/bower_components/fullcalendar/dist/fullcalendar")):"function"==typeof define&&define.amd?define(["src/main/webapp/static/assets... |
tinyMCE.addI18n({el:{common:{"more_colors":"\u03a0\u03b5\u03c1\u03b9\u03c3\u03c3\u03cc\u03c4\u03b5\u03c1\u03b1 \u03c7\u03c1\u03ce\u03bc\u03b1\u03c4\u03b1","invalid_data":"Error: Invalid values entered, these are marked in red.","popup_blocked":"\u0388\u03bd\u03b1 popup-blocker \u03c0\u03c1\u03cc\u03b3\u03c1\u03b1\u03bc... |
/*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
import debugLog from "./debug-log";
import trustedSymbol from "./trusted-symbol";
function makeRawNode(text = "", symbol) {
var trustSymbol = symbol;
var rawText = text;
if (typeof symbol === "undefined" || typeof symbol !== "symbol") {
trustSymbol = trustedSymbol();
} else if (symbol !== trustedSymbol())... |
import {Socket} from "phoenix"
import _ from "underscore"
import $ from "jquery"
import format from "./color"
export class NPCSocket {
constructor(spawnerId, npcName) {
this.spawnerId = spawnerId
this.npcName = npcName
}
formatName(character) {
if (character.type === "user") {
return `{player}... |
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl... |
/**
* The Widget namespace.
* @namespace Widget
*/
// you can also use '@class Widget(2)' and omit the @variation tag
/**
* The Widget class. Defaults to the properties in {@link Widget.properties}.
* @class
* @variation 2
* @param {Object} props - Name-value pairs to add to the widget.
*/
function Widget(prop... |
(function () {
'use strict';
angular.module('main')
.controller('StartCtrl', StartController);
function StartController () {
}
})();
|
import DefaultConfig from '../config'
export function createLogin (config = {}) {
return {
name: 'login',
path: config.loginUrl || DefaultConfig.loginUrl,
component: config.loginComponent || DefaultConfig.loginComponent
}
}
|
// This file was automatically generated. Do not modify.
'use strict';
goog.provide('Blockly.Msg.en');
goog.require('Blockly.Msg');
Blockly.Msg.ADD_COMMENT = "Add Comment";
Blockly.Msg.AUTH = "Please authorize this app to enable your work to be saved and to allow it to be shared by you.";
Blockly.Msg.CHANGE_VALUE_... |
const user = sessionStorage.getItem('githubNameSearch');
if (!user) {
window.location.href = 'index.html'; // redirecting back on error
} else {
function convertItemObjectToHtmlString(item){
const html =
(`
<article class="item">
<section><b>${item.name}</b></section>
<br/>
... |
import React from "react";
import { BrowserRouter as Router, Switch } from "react-router-dom";
import PublicRoute from "./routes/PublicRoute";
import PrivateRoute from "./routes/PrivateRoute";
import Login from "./modules/login/Login";
import Main from "./modules/main/Main";
function App() {
return (
<>
... |
module.exports = {
'files': [
'./svg/logo.svg',
'./svg/facebook.svg',
'./svg/vk.svg',
'./svg/twitter.svg',
'./svg/clipboard.svg',
'./svg/arrow_down.svg',
'./svg/play.svg',
'./svg/pause.svg',
'./svg/discogs_logo.svg',
'./svg/mixcloud.svg',
'./svg/soundcloud.svg',
'./svg/... |
/* PrismJS 1.15.0
https://prismjs.com/download.html?#themes=prism&languages=markup+css+clike+javascript+abap+abnf+actionscript+ada+apacheconf+apl+applescript+c+arff+asciidoc+asm6502+csharp+autohotkey+autoit+bash+basic+batch+bison+bnf+brainfuck+bro+cpp+aspnet+arduino+cil+coffeescript+clojure+ruby+csp+css-extras+d+dart+d... |
/*!
*
SAP UI development toolkit for HTML5 (SAPUI5)
(c) Copyright 2009-2015 SAP SE. All rights reserved
*/
sap.ui.define([], function () {
"use strict";
/**
* Utility is a static class providing support functions for other Network Graph classes.
*
* @static
* @private
* @since 1.50
* @alias sap... |
(function($) {
voice_recognition = function() {
var old_placeholder = $('#g_search').attr("placeholder");
var recognition = new webkitSpeechRecognition();
var final_transcript = '';
var is_recording = false;
recognition.continuous = true;
recognition.interimResults = true;
recognition.lang = localStor... |
const mongoose = require('mongoose');
const RestaurantSchema = new mongoose.Schema(
{
name: {
type: String,
required: true,
},
phone: {
type: String,
required: true,
},
address: {
type: String,
required: true,
},
location: {
type: String,
re... |
///////////////////////////////////////////////////////////////////////////////
//
// AutobahnJS - http://autobahn.ws, http://wamp.ws
//
// A JavaScript library for WAMP ("The Web Application Messaging Protocol").
//
// Copyright (c) Crossbar.io Technologies GmbH and contributors
//
// Licensed under the MIT Licens... |
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).vuejsDatepicker=t()}(this,function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e)... |
Polymer({
is: 'paper-tooltip',
hostAttributes: {
role: 'tooltip',
tabindex: -1
},
behaviors: [
Polymer.NeonAnimationRunnerBehavior
],
properties: {
/**
* The id of the element that the tooltip is anchored to. This element
* must be... |
// 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 vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat... |
/// <reference path="../../observable.ts"/>
/// <reference path="../../concurrency/scheduler.ts" />
(function () {
var o;
o.sample(100);
o.sample(100, Rx.Scheduler.async);
o.sample(Rx.Observable.interval(100));
o.sample(Rx.Observable.interval(100), Rx.Scheduler.async);
o.throttleLatest(100);
... |
var class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder =
[
[ "Builder", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#a2b6498d71757e9a34713b4fcd60704c7", null ],
[ "Builder", "d9/d5f/class_ext_1_1_net_1_1_mobile_1_1_component_loader_1_1_builder.html#a42914e87a1dc78f422e08... |
import React, { useEffect } from 'react';
import useHttpRequest from '../../CustomHooks/useHttpRequest';
import Select from '../../UI/Select';
const Option = React.memo(({ dataTransformation, dataType, className, property, eachOptionUrl, text, disabled }) => {
const { error, isLoading, changeOptionHandler } = useH... |
import React from "react";
import { withNamespaces } from "react-i18next";
import styles from "./companyInformation.module.scss";
import Dropdown from "../../inputs/dropdown/dropdown";
import * as actions from "../../../../action";
import { connect } from "react-redux";
import { getLeadField } from "../../../../u... |
import React from 'react'
import { storiesOf } from '@storybook/react'
import { BackgroundImage, Box, Text, Flex } from '../src'
const image =
'https://source.unsplash.com/random/1280x720'
storiesOf('BackgroundImage', module)
.add('Basic', () => (
<Box>
<BackgroundImage image={image} width="320px">
... |
// NOTE: This script determines if the user has completed the intro conversatiom,
// and sets the corresponding value to true in the user object so they will get push notifications
const constants = require('../src/constants');
const { getUserById } = require('../src/database');
const { isInvalidUser } = require('../s... |
var HDWalletProvider = require("truffle-hdwallet-provider");
// var mnemonic = "candy maple cake sugar pudding cream honey rich smooth crumble sweet treat";
var mnemonic = "robot boat soon reduce liquid food mobile sheriff core raw injury lift";
module.exports = {
networks: {
development: {
host: '127.0.0.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.