text stringlengths 2 1.04M |
|---|
import { configs } from '@/defaultSettings';
export default {
uploadURL: `${configs[process.env.API_ENV].API_SERVER}/cdk/v1/web/upload`,
}; |
define([
'streamhub-sdk/content/views/content-view',
'hgn!streamhub-sdk/content/templates/facebook',
'inherits',
'streamhub-sdk/jquery'],
function (ContentView, FacebookContentTemplate, inherits, $) {
'use strict';
/**
* A view for rendering facebook content into an element.
* @param ... |
module.exports={A:{A:{"1":"E A B","2":"H D IB","129":"G"},B:{"1":"0 C p J L N I"},C:{"1":"0 1 2 4 6 7 8 9 F K H D G E A B C p J L N I O P Q R S T U V W X Y Z a c d e f g h i j k l m n o M q r s t u v w x y z AB BB CB aB UB","2":"3 cB"},D:{"1":"0 1 2 4 6 7 8 9 F K H D G E A B C p J L N I O P Q R S T U V W X Y Z a c d e ... |
const navToggle = document.querySelector('.menu-button');
const nav = document.querySelector('nav');
const containerAll = document.querySelector('.container-all');
navToggle.addEventListener('click', _ => {
containerAll.style.transition = 'transform 250ms ease-in-out';
document.body.classList.toggle('nav-is-open')... |
// (C) 2020 GoodData Corporation
import { Selector } from "testcafe";
export async function getCell(t, selector, cellSelector) {
const table = Selector(selector);
await t.expect(table.exists).eql(true, `${selector} not found`);
if (!cellSelector) {
return null;
}
const cell = await table.fi... |
import { mixin } from '../../../util';
import AbstractLambdaTraversal from './AbstractLambdaTraversal';
import TraversalUtil from '../util/TraversalUtil';
/**
* TokenTraversal
* @param t
* @constructor
*/
function TokenTraversal(t) {
this.t = t;
}
TokenTraversal.prototype = {
constructor: TokenTraversal,
next(... |
//crear banner depósito directo
$('.nueva_clave').focusout(function(){
if($(this).val().length < 6){
$(this).parents('.input_wrap').children('.f_error').html('La clave debe ser de 6 dígitos');
$(this).parents('.input_wrap').children('.f_error').show();
}
if($('.... |
(window.webpackJsonp=window.webpackJsonp||[]).push([["locale.ff-Adlm-GW-d-ts"],{"./node_modules/@formatjs/intl-datetimeformat/locale-data/ff-Adlm-GW.d.ts":function(t,o,d){"use strict";d.r(o)},"./node_modules/@formatjs/intl-numberformat/locale-data/ff-Adlm-GW.d.ts":function(t,o,d){"use strict";d.r(o)}}]); |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.dialog.add("textarea",function(b){return{title:b.lang.forms.textarea.title,minWidth:350,minHeight:220,onShow:function(){delete this.textarea;var a=this.getParentEd... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = execute;
var _ErrorHandler = require('../utils/ErrorHandler');
var _utilities = require('../helpers/utilities');
/**
*
* Inject a snippet of JavaScript into the page for execution in the context of the currently sel... |
module.exports.iniciaChat = function (application, req, res){
var dadosForm = req.body;
req.assert('apelido', 'Apelido é obrigatorio').notEmpty();
req.assert('apelido', 'Apelido deve conter entre 3 e 15 caracteres').len(3, 15);
var erros = req.validationErrors();
if(erros) {
res.... |
/*
* Note that this is toastr v2.1.3, the "latest" version in url has no more maintenance,
* please go to https://cdnjs.com/libraries/toastr.js and pick a certain version you want to use,
* make sure you copy the url from the website since the url may change between versions.
* */
!(function(e) {
e(['jquery'], fu... |
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const debug_1 = __importDefault(require("debug"));
const is_url_1 = __importDefault(require("is-url"));
... |
/**
* Configure Jest as the test runner for @testing-library
*
* @see https://jestjs.io/docs/en/configuration
*/
module.exports = {
setupFilesAfterEnv: [
'@testing-library/jest-dom/extend-expect',
'babel-polyfill'
],
collectCoverage: true,
coveragePathIgnorePatterns: ['/node_modules/... |
/* eslint-env mocha */
'use strict'
const assert = require('assert')
const _compact = require('lodash/compact')
const _includes = require('lodash/includes')
const { PublicPulseProfile } = require('../../../lib')
const testModel = require('../../helpers/test_model')
const testModelValidation = require('../../helpers/te... |
import httpClient from "./http-client";
export default {
fbSignin: accessToken => {
return httpClient.post(`fb-signin`, { accessToken: accessToken });
},
getLoggedInUserProfile: () => {
return httpClient.get("me");
},
getUserProfile: username => {
return httpClient.get("user/" + username);
},... |
"use strict"
const request = require('request')
, cfg = require('./config')
, cronJob = require('cron').CronJob
, checksum = require('checksum')
, twilio = require('./twilio/twilio-notification')
// Create data structure containing site objects to monitor
let sites = []
// Populate said data structure; we need ... |
const webpackCommon = require('./webpack.common.config');
const config = {
entry: {
'react-data-grid/dist/react-data-grid': ['./packages/react-data-grid/src'],
'react-data-grid/dist/react-data-grid.min': ['./packages/react-data-grid/src']
},
output: {
path: './packages',
filename: '[name].js',
... |
module.exports = {
title: 'Leo`s TechStack',
description: 'leochen cqy blog',
base: "/blog/",
head: [
['link', { rel: 'icon', href: '/img/logo.png' }]
],
markdown: {
lineNumbers: true
},
locales: {
'/': {
lang: 'zh-CN', // 将会被设置为 <html> 的 lang 属性
}
},
plugins: ['@vuepress/back-... |
/**
* matter-js 0.12.0 by @liabru 2017-02-02
* http://brm.io/matter-js/
* License MIT
*/
/**
* The MIT License (MIT)
*
* Copyright (c) 2014 Liam Brummitt
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to... |
import 'jsdom-global/register.js';
import chai from 'chai';
import getElementParentsLength from '../../src/get-element-parents-length.js';
const { expect } = chai;
describe('get-element-parents-length', () => {
it('should be able to count a given element parents', () => {
// Expects html element to have... |
"use strict";
/**
* REST API for Flexicore filtered by your access rights
* Flexicore REST API
*
* OpenAPI spec version: V3.2.0
* Contact: avishay@flexi-core.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the ... |
import * as React from "react";
const IconExternalLink = (size = 24, color = "currentColor", stroke = 2, ...props) => <svg className="icon icon-tabler icon-tabler-external-link" width={size} height={size} viewBox="0 0 24 24" strokeWidth={stroke} stroke={color} fill="none" strokeLinecap="round" strokeLinejoin="round" {... |
+function () {
$(document).on('dynamic-item.added', '#triggers', function () {
$(document).trigger('editors:start')
})
}() |
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js
*
* Copyright (c) 2009-2020 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Lice... |
import Hook from '../hook';
import { useState, useEffect, useRef } from 'react';
import op from 'object-path';
/**
* @api {ReactHook} useHookComponent(hookName,defaultComponent,...params) useHookComponent()
* @apiDescription A React hook used to define React component(s) that can be overrided by Reactium plugins, us... |
// GPG4Browsers - An OpenPGP implementation in javascript
// Copyright (C) 2011 Recurity Labs GmbH
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the Lice... |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-143.js
* @description Object.defineProperty - 'O' is an Array, 'name' is the length property of 'O', test the [[Value]] field of 'desc' is a string containing a hex number (15.4.5.1 step 3.c)
*/
funct... |
export default function ({ route, store, redirect }) {
if (store.getters['auth/isLoggedIn']) {
if (route.path === '/' || route.path.match(/^\/auth\/.*/)) {
redirect('/folder/')
return
}
return
}
if (route.path === '/' || route.path.match(/^\/auth\/.*/)) return
redirect(`/auth/login?redir... |
import styled from "styled-components"
export const CardWrapper = styled.div`
background: #F5A9BC;
h5 {
color: black;
}
p {
color: black;
}
.card-body {
height: 180px;
}
border: 2px solid #F5A9BC;
` |
export default class {
constructor(description, index = 0, completed = false) {
this.description = description;
this.index = index;
this.completed = completed;
}
} |
const path = require('path')
let rootPath = path.normalize(path.join(__dirname, '/../../'))
module.exports = {
development: {
rootPath: rootPath,
db: 'mongodb://localhost:27017/HotelSystem',
port: 1337
},
staging: {
},
production: {
port: process.env.PORT
}
} |
window.__NUXT__=(function(a,b,c,d){return {staticAssetsBase:"\u002Fstatic\u002F1597376630",layout:"default",error:b,state:{notification:{show:a,title:c,message:c},isShowSidebar:a,isSupportWebShare:a,headerTitle:"e-AlQur'an",page:"home",lastReadVerse:b,settingActiveTheme:{name:"dark",bgColor:"#071e3d",fgColor:"#fff"},se... |
/**
* Created by TinySymphony on 2017-03-23.
*/
import React, {PropTypes, Component} from 'react';
import {
View,
Image,
Modal,
Easing,
StyleSheet,
PanResponder,
NativeModules,
findNodeHandle,
Dimensions,
TouchableWithoutFeedback
} from 'react-native';
import Animation from './Animation';
const w... |
/*global module:false*/
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
concat: {
bundle: {
src: ['dist/eventemitter2.js', 'ros.js'],
dest: 'dist/ros_bundle.js'
}
},
min: {
bundle: {
src: ['<config:concat.bundle.dest>'],
... |
import vTag from './Tag.vue'
export default vTag |
import React from 'react'
import {
createSwitchNavigator,
createDrawerNavigator
} from 'react-navigation'
import AuthOrApp from './screens/AuthOrApp'
import Menu from './screens/Menu'
import Agenda from './screens/Agenda'
import Auth from './screens/Auth'
import commonStyles from './commonStyles'
const MenuRou... |
const expect = chai.expect
import Vue from 'vue'
import Tabs from '../src/tabs'
import TabsHead from '../src/tabs-head'
import TabsBody from '../src/tabs-body'
import TabsItem from '../src/tabs-item'
import TabsPane from '../src/tabs-pane'
Vue.component('f-tabs', Tabs)
Vue.component('f-tabs-head', TabsHead)
Vue.compon... |
/**
* Implement Gatsby's Node APIs in this file.
*
* See: https://www.gatsbyjs.org/docs/node-apis/
*/
exports.onCreateWebpackConfig = ({ actions }) => {
actions.setWebpackConfig({
module: {
rules: [
{
test: /\.(graphql|gql)$/,
exclude: /node_modules/,
loader: "grap... |
import React, { PureComponent, Suspense } from 'react';
import { Layout } from 'antd';
import classNames from 'classnames';
import Link from 'umi/link';
import styles from './index.less';
import PageLoading from '../PageLoading';
import { getDefaultCollapsedSubMenus } from './SiderMenuUtils';
const BaseMenu = React.la... |
const express = require('express');
const path = require('path');
const logger = require('morgan');
const bodyParser = require('body-parser');
const threadsRouter = require('./routes/threads');
const app = express();
app.use(logger('dev'));
app.use(bodyParser.json());
app.use('/threads', threadsRouter);
// ca... |
/*******************************
Build Docs
*******************************/
var
gulp = require('gulp'),
// node dependencies
console = require('better-console'),
fs = require('fs'),
// gulp dependencies
autoprefixer = require('gulp-autoprefixer'),
chmod = requi... |
import React from "react"
import styled, { css } from "styled-components";
import { graphql, useStaticQuery, Link } from "gatsby"
import { Container, Section } from "../global"
import imgsplash from "../../../src/images/product/splash.png";
import imgweb from "../../../src/images/product/web.png";
import imgwebfull fro... |
async function solution() {
const main = document.getElementById('main');
const url = `http://localhost:3030/jsonstore/advanced/articles/list`;
const response = await fetch(url);
const data = await response.json();
data.forEach(a => {
const divAccordion = createElement('div', '', ['class', 'accordion']... |
export default () => ({
MuiFormHelperText: {
root: {
lineHeight: 1.3,
},
},
}); |
var id = "at";
var reason = document.getElementById("reason");
var body = document.body;
var verdict = document.getElementById("verdict");
function hook(id, result, message){};
function pass(message)
{
hook(id, "pass", reason);
document.title = "PASS";
body.style.background = "green";
verdict... |
class Pointer {
constructor() {
this.app = app
this.sketch = new createjs.Shape()
this.app.stage.addChild(this.sketch)
window.pointer = this
}
init() {
}
update(pos) {
if (pos.x && pos.y) {
this.sketch.graphics.beginFill('#0f0')
this.sketch.graphics.drawCircle(0, 0, 5)
... |
const BdbData = require("../models/bdb");
let moment = require('moment-timezone');
async function getName() {
let currentDay = moment().tz("Asia/Kolkata").format('L').split("/"), tempArray = []
try {
const bData = await BdbData.find().sort({ "month": -1, "baseTime": -1 });
bData.forEach(element => {
... |
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
ReactDOM.render(<App />, document.getElementById('root')); |
/*
* Copyright (C) 2008 Apple Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... |
import React from 'react'
import { Icon } from '@welcome-ui/icon'
import content from './content.json'
export const JpgIcon = props => <Icon alt="Jpg" content={content} {...props} /> |
require('../src/config');
import { Q, Utils } from 'azk-core';
var chai = require('chai');
var tmp = require('tmp');
var qfs = require('q-io/fs');
var touch = require('touch');
// Chai extensions
chai.use(require('chai-as-promised'));
chai.use(require('chai-things'));
chai.config.includeStack = true;
var Helpers... |
"use strict";
var exec = require("child_process").exec;
var sys = require("sys");
var JS_FILES = ["Gruntfile.js", "app/assets/js/**", "config/config.js", "app/data/**/*.js",
"app/routes/**/*.js", "server.js", "test/**/*.js"
];
module.exports = function(grunt) {
// Project Configuration
grunt.initConfig(... |
const jwt = require("jsonwebtoken");
const authToken = (req, res, next) => {
const header = req.headers["authorization"];
if (typeof header !== "undefined") {
const bearer = header.split(" ");
const token = bearer[1];
return jwt.verify(token, "secret", (err, token) => {
if (err) {
res.st... |
importPackage(java.io);
importPackage(java.net);
importPackage(android.os);
importPackage(android.text);
const sdcard = Environment.getExternalStorageDirectory().getAbsolutePath();
const cho = ["ㄱ", "ㄲ", "ㄴ", "ㄷ", "ㄸ", "ㄹ", "ㅁ", "ㅂ", "ㅃ", "ㅅ", "ㅆ", "ㅇ", "ㅈ", "ㅉ", "ㅊ", "ㅋ", "ㅌ", "ㅍ", "ㅎ" ];
const jung = ["ㅏ", "ㅐ", "ㅑ... |
"use strict"
const witch_doctor = {
"name":"witch_doctor",
"primary": [
{
"name":"Poison Dart",
"level":1,
"runes":[
{
"name":"Splinters",
"level":6
},
{
"name... |
import { svg } from 'lit';
export const file = svg`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M21 4v14.721a.5.5 0 0 1-.298.458L12 23.03 3.298 19.18A.5.5 0 0 1 3 18.72V4H1V2h22v2h-2zM8 12v2h8v-2H8zm0-4v2h8V8H8z"/>
</g>
</svg>
`;... |
const Discord = require("discord.js");
exports.run = async (client, message, args) => {
const voiceChannels = message.guild.channels.cache.filter(
c => c.type === "voice"
);
let count = 0;
let botlar = message.guild.members.cache.filter(m => m.user.bot).size;
let textChannels = message.guild.channels.cac... |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[17],{"597a":function(n,t,a){"use strict";a.r(t);var e=function(){var n=this,t=n.$createElement,a=n._self._c||t;return a("div",{staticStyle:{"max-width":"800px",width:"100%"}},[a("q-icon-picker",{staticStyle:{height:"220px"},attrs:{"icon-set":"material-icons",to... |
/**
* luckyslider
*
* Copyright 2016, sDofeen
* Free to use and abuse under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*/ |
const path = require('path');
const webpack = require('webpack');
const PACKAGE = require('./package.json');
const version = PACKAGE.version;
const date_now = new Date().toISOString().replace(/T.*/, '');
const BANNER = `
midicube ${version} built on ${date_now}.
`;
module.exports = {
entry: './js/index.js',
o... |
const Factory = require('../../../database/factory');
const { BadRequest } = require('../../common/errors');
const jwt = require('../../common/utils/jwt');
module.exports.validate = async (user) => {
const { repositories: { userRepository } } = await Factory.database();
const { email } = user;
const exist = awa... |
import React from 'react'
import Icon from 'react-icon-base'
const MdAirlineSeatReclineExtra = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m27 25l9.6 7.5-2.5 2.5-6.3-5h-11.4q-1.8 0-3.2-1.1t-1.7-3l-2.3-9.8q-0.2-1.6 0.7-2.8t2.4-1.6h0q1.8-0.2 2.9 0.7l2.8 2.1q3.7 2.9 7.8 2.1v3.6q-3.8 0.7-8.6-2... |
/*global define*/
define(['underscore', 'backbone', 'oroui/js/widget/abstract'
], function (_, Backbone, AbstractWidget) {
'use strict';
var $ = Backbone.$;
/**
* @export oro/block-widget
* @class oro.BlockWidget
* @extends oro.AbstractWidget
*/
return AbstractWidget.extend(... |
//# sourceMappingURL=27.635badf7.chunk.js.map |
/* Copyright Pernosco 2020. See LICENSE. */
const DOMREC_ADD = "a";
const DOMREC_CANVAS_DATA = "c";
const DOMREC_DELAY = "d";
const DOMREC_FRAME = "e";
const DOMREC_FORCE_STYLE_FLUSH = "f";
const DOMREC_INPUT = "i";
const DOMREC_LABEL = "l";
const DOMREC_MOUSE_MOVE = "m";
const DOMREC_MOUSE_DOWN = "n";
const DOMREC_AT... |
angular.module( 'App.Views' ).config( function( $stateProvider )
{
$stateProvider.state( 'discover.channels.channel.overview', {
url: '',
controller: 'Discover.Channels.Channel.OverviewCtrl',
controllerAs: 'overviewCtrl',
templateUrl: '/app/views/discover/channels/channel/overview/overview.html',
resolve: {
... |
"use strict";
exports.__esModule = true;
exports.normalizeEventKey = normalizeEventKey;
exports.getActiveElement = getActiveElement;
exports.contains = contains;
exports.cx = exports.getDocument = exports.ariaAttr = exports.dataAttr = exports.isBrowser = exports.getWindow = void 0;
var win;
/**
* Note: Accessing "win... |
class Request {
constructor(method, uri, version, message) {
this.method = method;
this.uri = uri;
this.version = version;
this.message = message;
this.response = undefined;
this.fulfilled = false;
}
}
let myData = new Request('GET', 'http://google.com', 'HTTP/1.... |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path d="M22 8.54V6c0-1.1-.9-2-2-2H4c-1.1 0-1.99.89-1.99 2v2.54c0 .69.33 1.37.94 1.69A2.02 2.02 0 0 1 4 12c0 .76-.43 1.43-1.06 1.76-.6.33-.94 1.01-.94 1.7V18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-2.... |
module.exports = {
"root": true,
"plugins": ["node", "header"],
"extends": ["eslint:recommended", "plugin:node/recommended"],
"env": {
"node": true,
"es6": true,
},
"parserOptions": { "ecmaVersion": 2017 },
"rules": {
"quotes": ["error", "single"],
"no-undef":... |
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const react_1 = __importDefault(require("react"));
const side_effect_1 = __importDefault(require("./side... |
/**
* 后台管理左边导航VIEW
*/
define(function(require, exports, module) {
tpl.adminLeftView = require('tplurl-website/admin/AdminLeftView.tpl');
window.AdminLeftView = Backbone.View.extend({
tagName: 'div',
id: 'adminLeftView',
initialize: function() {
tplpre.adminLeftView = Handlebars.compile... |
d3.select("body").append("div").html("hi"); |
import React from 'react';
import PropTypes from 'prop-types';
import EditEvent from '../components/EditEvent';
import ErrorPage from '../components/ErrorPage';
import { addEventCollectiveData } from '../graphql/queries';
import withData from '../lib/withData';
import withIntl from '../lib/withIntl';
import withLogg... |
(function() {
'use strict';
angular
.module('app.utils')
.directive('triggerResize', triggerResize);
triggerResize.$inject = ['$window', '$timeout'];
function triggerResize($window, $timeout) {
var directive = {
link: link,
restrict: 'A'
};
... |
import React from 'react';
import { connect } from 'react-redux';
import _ from 'lodash';
import { connectStyle } from '@shoutem/theme';
import {
Caption,
Divider,
ScrollView,
Title,
View,
} from '@shoutem/ui';
import {
getCollection,
find,
} from '@shoutem/redux-io';
import { components as aboutComp... |
var modalErro = document.getElementById("bg-modal");
var valido = document.getElementById("valido");
var EstaAberto = false;
if (valido.innerHTML == "NAO")
{
modalErro.style.visibility = "initial";
EstaAberto = true;
}
document.getElementById("btn-ok").onclick = function() {
if (EstaAberto)
mod... |
var searchData=
[
['line',['Line',['../classHumDrum_1_1Operations_1_1Files_1_1Line.html',1,'HumDrum::Operations::Files']]],
['logger',['Logger',['../classHumDrum_1_1Operations_1_1Logger.html',1,'HumDrum::Operations']]]
]; |
// @flow
export function toCapitalCase(string: string) {
return string.charAt(0).toUpperCase() + string.slice(1);
}
export function toCompactNotation(number: string | number, lang: ?string, minThresholdToApply?: number) {
const locale = lang || 'en';
const useCompactNotation = !minThresholdToApply || Number(num... |
//# sourceMappingURL=main.fece870af48b381a14c7.bundle.js.map |
/**
* @license
* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be f... |
import React, { Component } from 'react';
import { OverlayTrigger, Tooltip } from 'react-bootstrap';
class Pollen extends Component {
render() {
return (
<OverlayTrigger placement={this.props.placement} overlay={this.props.tooltip}>
<svg id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlnsXlink='http://w... |
import React from "react";
import {
RichUtils,
KeyBindingUtil,
EditorState,
// CompositeDecorator
} from "draft-js";
export const linkStrategy = (contentBlock, callback, contentState) => {
contentBlock.findEntityRanges(character => {
const entityKey = character.getEntity();
return (
entityKey !== null &&
... |
import React from 'react';
import ReactDOM from 'react-dom';
export default class About extends React.Component {
render(){
return <div>Hello From About Component </div>
}
} |
import 'phoenix';
//# sourceMappingURL=types.js.map |
/*
YUI 3.7.3 (build 5687)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add("align-plugin",function(e,t){function s(e){e.host&&(this._host=e.host)}var n="offsetWidth",r="offsetHeight",i=i;s.prototype={to:function(t,o,u,a){this._syncArgs=e.Array(arg... |
document.addEventListener('DOMContentLoaded', () => {
updatePosts();
})
function updatePosts() {
fetch('http://localhost:3000/api/all').then(res => {
return res.json();
}).then(json => {
console.log(json);
let postElements = '';
let posts = JSON.parse(json);
post... |
import Clone from 'rexPlugins/utils/object/Clone.js';
import IsEmpty from 'rexPlugins/utils/object/IsEmpty.js';
import Clear from 'rexPlugins/utils/object/Clear.js';
const GetValue = Phaser.Utils.Objects.GetValue;
const Shuffle = Phaser.Utils.Array.Shuffle;
class Gashapon {
constructor(config) {
this.rese... |
(function () {
'use strict'
const elasticsearch = require('elasticsearch')
const esClient = new elasticsearch.Client({
host: '0.0.0.0:9200',
log: 'error'
})
const indices = function indices () {
return esClient.cat.indices({v: true})
.then(console.log)
.catch(err => console.error(`Er... |
import React from 'react';
import { StaticQuery, graphql } from 'gatsby';
import { CodeStylesMap, AosEffects } from '../../utils/constants';
import PageContent from '../../common/page/PageContent';
import ImageCardGroup from '../../common/card/ImageCardGroup';
const Code = () => {
const getAosEffect = ({ index }) =>... |
var miControlador = miModulo.controller(
"login",
function ($scope, $location, promesasService, auth) {
$scope.fallo = false;
$scope.hecho = false;
$scope.falloMensaje = "";
$scope.controller = "login";
if (auth.data.status != 200) {
$location.path('/login');
... |
/******/ (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... |
//>>built |
/**
* html2Json 改造来自: https://github.com/Jxck/html2json
*
*
* author: Di (微信小程序开发工程师)
* organization: WeAppDev(微信小程序开发论坛)(http://weappdev.com)
* 垂直微信小程序开发交流社区
*
* github地址: https://github.com/icindy/wxParse
*
* for: 微信小程序富文本解析
* detail : http://weappdev.com/t/wxparse-alpha0-1-html-markdown/184
... |
require('should');
const Promise = require('bluebird');
const co = Promise.coroutine;
const _ = require('lodash');
const bitcoin = require('bitgo-utxo-lib');
const prova = require('prova-lib');
const TestV2BitGo = require('../../../lib/test_bitgo');
const Wallet = require('../../../../src/v2/wallet');
const AbstractUt... |
initSidebarItems({"enum":[["Params",""]],"struct":[["AddTags",""],["Album",""],["Artist",""],["Artist1",""],["Artist2",""],["Bio",""],["Correction",""],["GetCorrections",""],["GetInfo",""],["GetSimilar",""],["GetTopAlbums",""],["GetTopTags",""],["GetTopTracks",""],["Link",""],["Links",""],["RemoveTag",""],["Search",""]... |
import hy from "highlight.js/lib/languages/hy";
export default hy; |
import moxios from 'moxios';
import reduxPromise from 'redux-promise';
import configureMockStore from 'redux-mock-store';
import APPCONSTANT from '../../constant';
import { addRecipe, getAllRecipes, searchRecipes, getLatestRecipes,
getPopularRecipes, getSingleRecipe, getUserRecipes,
deleteRecipe, editRecipe, upvot... |
const Event = require('../Structures/Event');
module.exports = class DebugEvent extends Event {
constructor(...args) {
super(...args, 'debug');
}
run(data) {
this.client.logger.debug(`[Client]: ${data}`);
}
}; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.