text stringlengths 2 1.05M |
|---|
import React from 'react';
import PropTypes from 'prop-types';
import { withStyles } from '@material-ui/core/styles';
import LinearProgress from '@material-ui/core/LinearProgress';
const styles = {
root: {
flexGrow: 1,
},
};
class LinearBuffer extends React.Component {
state = {
completed: 0,
buffer... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends2 = require('babel-runtime/helpers/extends');
var _extends3 = _interopRequireDefault(_extends2);
var _defineProperty2 = require('babel-runtime/helpers/defineProperty');
var _defineProperty3 = _interopRequireDefault(_definePr... |
import React from 'react'
import Link from 'gatsby-link'
const SecondPage = () => (
<div>
<h1>Lear to design code</h1>
<p>Welcome to page 2</p>
<Link to="/">Go back to the homepage</Link>
</div>
)
export default SecondPage
|
export default {
'ADD_PREFIX': 'Add',
'ADD_PREFIX_2': 'Add another',
'ADD_SUFFIX': '',
'ADD_TO_PREFIX': 'Add to',
'ADD_TO_SUFFIX': '',
'less 10MB': '< 10MB',
'more 1GB': '> 1GB',
'SEARCH_PLACEHOLDER': 'Search',
'PHAIDRA_IS': 'Phaidra is the repository for the permanent secure storage of digital asset... |
import { Public } from '../public'
import { ForgotPasswordForm } from '../../forms/forgot-password-form'
import { SignInPage } from './sign-in-page'
export class ForgotPasswordPage extends Public {
pageUrl() {
return '/user/forgot_name'
}
constructor() {
super()
... |
import PropTypes from 'prop-types'
import Icon from './Icon'
const CelebrateIcon = ({ viewBox }) => (
<Icon fill>
<svg viewBox={viewBox} xmlns="http://www.w3.org/2000/svg">
<g>
<path
d="M72.1,51.9L48.3,32.8c-1.1-0.9-2.6-1.3-4-0.9c-1.4,0.4-2.6,1.5-3,2.8l-16.6,45l-0.1,0.2c-0.6,1.8,0.1,3.8,1... |
"use strict";
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj ... |
import Transform2D from 'components/Transform2D.js';
import MainLoop from 'system/MainLoop.js';
import Canvas from 'canvas/Canvas.js';
import GetContext from 'canvas/GetContext.js';
import AddToDOM from 'dom/AddToDOM.js';
import CLS from 'canvas/graphics/Clear.js';
import DrawImage from 'canvas/DrawImage.js';
import Se... |
require("babel-register");
require('./server.js');
|
import React from "react";
import { BrowserRouter } from "react-router-dom";
// hydrate is responsible for server rendering going forward
import { hydrate as render } from "react-dom";
import App from "./app";
import { Provider } from "react-redux";
import store from "./store";
import registerServiceWorker from "./regi... |
importScripts("lunr.min.js");
addEventListener('message', function (e) {
var index = lunr(function () {
this.field('title', {boost: 10})
this.field('body')
this.ref('id')
e.data.forEach(function (doc) {
this.add(doc)
}, this);
});
self.postMessage(JSON.... |
'use strict';
describe('applicationCreate', function() {
var scope, _utils, location, controller, _apiService, _window, q;
beforeEach(module('app'));
beforeEach(inject(function($controller, $location, $rootScope, $q, apiService, utils) {
controller = $controller;
scope = $rootScope.$new()... |
import WidgetSettings from "../templates/widget-settings.html";
export default {
name: "template-settings",
props: ["widget", "form", "config"],
template: WidgetSettings,
};
|
'use strict'
module.exports = {
gitRawCommitsOpts: {
// null => 所有 commit 上的 tag 计入 changelog
// true => 仅 merge commit 上的 tag 计入 changelog
// null => 仅非 merge commit 上的 tag 计入 changelog
merges: null
}
}
|
var should = require('should')
var mockFS = require('mock-fs')
var envRestorer = require( 'env-restorer' )
var authenticator = require('../lib/authenticator')
var testHelper = require('./_helper')
// Restore File system mocks, authentication state and environment variables
var restoreAll = function () {
mockFS.rest... |
import vhttp from './index'
// 是否是登录用户
export const get_whoami = params => vhttp('/whoami', params, 'GET')
//注册
export const register = params => vhttp('/v1/register/', params, 'POST')
//登陆
export const login = params => vhttp('/v1/login/', params, 'POST')
//发表文章
export const publishArticle = params => vhttp('/v1/artic... |
'use strict'
const co = require('co')
const prompt = require('co-prompt')
const config = require('../templates.json')
const chalk = require('chalk')
const fs = require('fs')
const path = require('path')
module.exports = () => {
co(function* () {
const tplName = yield prompt(chalk.green('Please input will delete... |
var searchData=
[
['walldirection_2509',['WallDirection',['../structdg_1_1geo_1_1_wall_direction.html#a19b7dd3e978f1cb73eabdfb7c113ccdb',1,'dg::geo::WallDirection']]],
['walldistance_2510',['WallDistance',['../../../dg/html/structdg_1_1_wall_distance.html#a4b28821101928d2250225b2e30546ef2',1,'dg::WallDistance']]],
... |
(function(e){const t=e["fa"]=e["fa"]||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"0% از 1%","Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"متن سلول را در سمت راست تراز کنید","Align ... |
import {fetch, post} from '../http';
/**
* @param params 对象参数
* @returns {*}
*/
// 查询列表
export function findVideoList (params) {
return fetch('video/findList', params);
}
export function delVideo (params) {
return fetch('video/del', params);
}
export function addVideo (params) {
return post('video/add... |
/*! Copyright (c) 2011, Lloyd Hilaiel, ISC License */
/*
* This is the JSONSelect reference implementation, in javascript.
*/
(function(exports) {
var // localize references
toString = Object.prototype.toString;
function jsonParse(str) {
try {
if(JSON && JSON.parse){
return... |
const Base = require('../base')
class Add extends Base {
/**
* 添加歌曲到歌单
* @param {number} playlistId 歌单 ID
* @param {string|number|Array<number>} songIds 音乐 ID
*/
async addSongs (playlistId, songIds) {
if (typeof songIds === 'string' || typeof songIds === 'number') {
// 如果是 string or Number
... |
'use strict'
class ParserInterface {
constructor () {
if (new.target === ParserInterface) {
throw new Error('ParserInterface cannot be directly constructed')
}
}
parse () {
throw new Error('Unimplemented method')
}
}
module.exports = ParserInterface
|
/* eslint-disable max-len */
import React, { Component, Fragment } from 'react';
import { Link } from 'react-router-dom';
import { connect } from 'react-redux';
import { withRouter } from 'react-router-dom';
import Preloader from '@components/shared/Preloader/Preloader';
import { authPropTypes } from '@helpers/proptype... |
/*
Copyright (c) 2004-2006, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/community/licensing.shtml
*/
dojo.provide("dojo.widget.FloatingPane");
dojo.provide... |
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
// create a schema for live data from Device
var deviceStatusSchema = new Schema({
sensor_name: String,
sensor_id: String,
IsActive: Boolean,
created_at: Date,
updated_at: Date
});
// on every save, add the date
deviceStatusSchema.pre('save'... |
jQuery.sap.registerPreloadedModules({
"version":"2.0",
"modules":{
"library/d/some.js":function(){/*!
* ${copyright}
*/
console.log("HelloWorld");
}
}});
|
// Bootstrap & Popper.js
try {
window.Popper = require('popper.js').default;
window.$ = window.jQuery = require('jquery');
require('bootstrap');
} catch (e) {}
// Lbc
import LazyLoad from "vanilla-lazyload";
import Prism from 'prismjs'
require('prismjs/components/prism-haxe')
let codes = document.querySelect... |
OC.L10N.register(
"core",
{
"Please select a file." : "請選擇檔案",
"File is too big" : "檔案太大",
"Invalid image" : "無效的圖檔",
"Preparing update" : "更新準備中",
"Sunday" : "星期日",
"Monday" : "星期一",
"Tuesday" : "星期二",
"Wednesday" : "星期三",
"Thursday" : "星期四",
"Friday" : "星期五",
"Satur... |
import React, { Component } from 'react';
import { withRouter } from 'react-router-dom';
import { COLORS } from '../../constants';
import Anchor from "../anchor/Anchor";
const Article = ({children}) =>
<div>{children}</div>;
const articleTitleStyle = {
display: 'flex',
alignItems: 'center',
color: COL... |
/**
* Copyright 2019 The AMPHTML Authors
*
* 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 ... |
/**
* Function to load the current version from json file
*/
function loadVersion() {
$.ajax({
datatype: "json",
url: 'version.json',
contentType: 'application/json',
beforeSend: function (xhr) {
if (xhr.overrideMimeType) {
xhr.overrideMimeType("applica... |
import React, {Component} from 'react';
import {render} from 'react-dom';
import {SortableContainer, SortableElement, arrayMove} from 'react-sortable-hoc';
import {List} from 'react-virtualized';
const SortableItem = SortableElement(({value}) => {
return (
<li>
{value}
</li>
);
});
class VirtualList... |
import PropTypes from 'prop-types'
import React, {Component} from 'react'
import NextSeo from 'next-seo'
import groq from 'groq'
import imageUrlBuilder from '@sanity/image-url'
import Layout from '../components/Layout'
import client from '../client'
import RenderSections from '../components/RenderSections'
const build... |
var rutassierraleona = [
{
"origen":"sierra leona",
"ip_origen":"197.157.232.1",
"destino":"www.google.com",
"ip_destino":"216.58.206.68",
"saltos":[
{
"salto":1,
"ip":"197.157.232.1",
"tipo":"publica",
"lat":8.5,
"lng":-11.5,
"time1":0.649 ,
"time2":0.790 ,
"time3":0.584
... |
import './styles.scss'
import { Link } from 'react-router-dom'
import { FaFacebook, FaLinkedin, FaTwitter } from 'react-icons/fa'
const Footer = (props) => {
return (
<footer className="footer">
<div className="wrap-footer1">
<h4 style={{ fontWeight: '400' }}>
© Acrotech {new Date().... |
'use strict';
import {Comment} from './comment';
import {Param} from './param';
export function PostData(opts = {}) {
// internal properties
Object.defineProperties(this, {
_params: {
enumerable: false,
configurable: false,
writable: true,
value: []
}
});
Comment.call(this, op... |
import { fromJS } from 'immutable';
import { ENTITIES_LOADED } from 'entities/constants';
import { CLUE_UPDATED } from 'entities/Clues/constants';
import { PUZZLE_DELETED } from 'containers/DeletePuzzleModal/constants';
import {
PUZZLE_TITLE_UPDATED,
PUZZLE_NOTES_EDITED,
PUZZLE_SYMMETRY_SET,
} from './constants';... |
import { createSelector } from '@reduxjs/toolkit';
import { rolesByName, twoFAStates } from '../constants/userConstants';
import { getDemoDeviceAddress as getDemoDeviceAddressHelper } from '../helpers';
const getAppDocsVersion = state => state.app.docsVersion;
const getFeatures = state => state.app.features;
const get... |
exports.$ = (id) => document.getElementById(id) |
import React, { Component } from "react";
import { Button, Icon } from "components";
import Label from "egov-ui-kit/utils/translationNode";
import { SuccessMessage } from "modules/common";
import CommonSuccessMessage from "../../modules/CommonSuccessMessage";
import { connect } from "react-redux";
class AssignToDriver... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const React = require("react");
const wrapIcon_1 = require("../utils/wrapIcon");
const rawSvg = (iconProps) => {
const { className, primaryFill } = iconProps;
return React.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 ... |
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-react-base"),require("react"),require("@syncfusion/ej2-progressbar")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-react-base","react","@syncfusion/ej2-progressbar"],t):t(e.ej={},e.ej2React... |
webpackJsonp([44],{"5wFO":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l={name:"complexTable",components:{listPage:n("68S3").default}},s={render:function(){var e=this.$createElement;return(this._self._c||e)("listPage")},staticRenderFns:[]},a=n("VU/8")(l,s,!1,null,null,null);t.defaul... |
import React, { Component } from 'react';
import momment from "moment";
export default class App extends Component {
render() {
return (
<div className='app'>
<h1>React thingy</h1>
<h2>Dope</h2>
<div>
{momment().format('MMMM Do YYYY, h:mm:ss a')}
</div>
</div... |
export function l10n(s) {
const language = l10n.locale.substring(0, 2);
let result = '';
// Attempt to find a match for the current locale
if (l10n.strings[l10n.locale]) result = l10n.strings[l10n.locale][s];
// If none is found, attempt to find a match for the language
if (!result && l10n... |
'use strict';
//we want some specific information from postData (our entire request)
//so we'll use querystring to get it.
var querystring = require("querystring");
var fs = require("fs");
var formidable = require("formidable");
function start(response, postData) {
console.log("requestHandler 'start' called");
... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[283],{732:function(module,exports,__webpack_require__){module.exports=__webpack_require__(1)("FnO0")}}]); |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-admin-custom_date-index"],{"0cae":function(n,e,t){"use strict";var a=t("e8ed"),r=t.n(a);r.a},"141e":function(n,e,t){"use strict";t.d(e,"b",(function(){return r})),t.d(e,"c",(function(){return c})),t.d(e,"a",(function(){return a}));var a={uniCalendar:t("a... |
var Future = Npm.require("fibers/future");
AppConfig = {};
AppConfig.findGalaxy = _.once(function () {
if (!('GALAXY' in process.env || 'ULTRAWORLD_DDP_ENDPOINT' in process.env)) {
return null;
}
return Follower.connect(process.env.ULTRAWORLD_DDP_ENDPOINT || process.env.GALAXY);
});
var ultra = AppConfig.... |
'use strict'
const fs = require('fs')
const { selectedRanges, shortListOfRanges } = require('./code-point-ranges')
const Measurer = require('./measurer')
const { format, formatRange } = require('./format')
const { compact } = require('./compact')
const { eachCharOfRanges } = require('./range')
async function computeW... |
const assert = require('assert')
const UnityAuthenticationClient = require('../').UnityAuthenticationClient
const constants = require('./constants')
describe('UnityAuthenticationClient', () => {
it('should construct', () => {
new UnityAuthenticationClient('')
new UnityAuthenticationClient('', '')
... |
var struct___t_o_p_s_e_n_s___j_o_i_n_t =
[
[ "Orientation", "struct___t_o_p_s_e_n_s___j_o_i_n_t.html#adc2d7dce255f281b0debb5823f8f69f1", null ],
[ "Position", "struct___t_o_p_s_e_n_s___j_o_i_n_t.html#a2903185f44307386081a2311648cc313", null ],
[ "Rotation", "struct___t_o_p_s_e_n_s___j_o_i_n_t.html#ab5e3d8ff... |
import React from 'react';
import bgImage from './img/hero-bg.jpg'
const Hero = () => {
return (
<section>
<div
className="p-24 bg-cover bg-center"
style={{
backgroundImage: `url(${bgImage})`
}}></div>
<div className="max-w-5xl mx-auto">
<div className="flex flex... |
$(document).ready(function () {
$('.dropdown-toggle').dropdown();
$(".collapse").collapse();
$('.date-ago').each(function (index, value) {
var el = $(value);
var date = moment(el.html());
el.html(date.fromNow());
});
$('.at-on-date').each(function (index, value)... |
const clonedeep = require('lodash.clonedeep');
const env = process.env.DEPLOYMENT_ENV || 'development';
const development = {
frameworks: {
minExitPeriod: process.env.MIN_EXIT_PERIOD || 60 * 10, // The minimum exit period for testing is 10 minutes.
initialImmuneVaults: 2, // Allow 2 vaults (ETH a... |
(function() {
function addListener(callback) {
if (wbinfo.proxy_magic) {
window.addEventListener("__wb_to_event", callback);
} else {
window.addEventListener("message", callback);
}
}
function getMessage(event) {
if (wbinfo.proxy_magic) {
... |
import React from "react";
import ReactDOM from "react-dom";
import { createMemoryHistory, createBrowserHistory } from "history";
import App from "./App";
const mount = (el, { onSignIn, onNavigate, defaultHistory, initialPath }) => {
const historyFn = defaultHistory || createMemoryHistory;
const history = historyF... |
// This file is part of React-Invenio-Deposit
// Copyright (C) 2020 CERN.
// Copyright (C) 2020 Northwestern University.
//
// React-Invenio-Deposit is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.
export { AccessRightField } from './A... |
'use strict';
let matrix = [
[1, 2, 3],
[4, 5, 6],
[7, 8, 9]
];
function spin ( matrix ) {
let temp_index = matrix[0].length - 1;
let matrix_index = 0;
let matrix_clone = matrix.slice();
while ( temp_index >= 0 ) {
let temp = [];
for ( let i=0; i<matrix_clone.length; i++) {
temp.push( m... |
// Your task is to create functionisDivideBy (or is_divide_by) to check if an integer number is divisible by each out of two arguments.
// A few cases:
// (-12, 2, -6) -> true
// (-12, 2, -5) -> false
// (45, 1, 6) -> false
// (45, 5, 15) -> true
// (4, 1, 4) -> true
// (15, -5, 3) -> true
funct... |
/*var json = {
"string": "foo",
"number": 5,
"array": [1, 2, 3],
"object": {
"property": "value",
"subobj": {
"arr": ["foo", "ha"],
"numero": 1
}
}
};*/
function printJSON() {
$('#json').val(JSON.stringify(json));
}
function updateJSON(data) {
... |
/**
* @license Highmaps JS v9.0.1 (2021-02-16)
* @module highcharts/modules/heatmap
* @requires highcharts
*
* (c) 2009-2021 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
import '../../Core/Axis/ColorAxis.js';
import '../../Mixins/ColorMapSeries.js';
import '../../Series/Heatmap/Heatma... |
// Copyright 2018 Google Inc. All Rights Reserved.
//
// 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 app... |
module.exports = require("npm:amdefine@1.0.1/amdefine.js"); |
import { GraphQLObjectType } from "graphql/type";
/**
* Creates a trivial implementation resource object type for given Interfaces and a singular
* interfaceFields.
*/
export default function implementInterface (ObjectName, objectDescription, Interfaces,
interfaceFields) {
return new GraphQLObjectType({
n... |
import { declareRuntimeEnv } from 'resolve-scripts'
const prodConfig = {
target: 'local',
port: declareRuntimeEnv('PORT', '3000'),
mode:
'production' /*,
readModelConnectors: {
default: {
module: 'resolve-readmodel-lite',
options: {
databaseFile: 'data/read-models.db'
}
}
... |
'use strict';
import * as types from '../constants/ActionTypes';
import {ToastShort} from '../utils/ToastUtils';
import {request} from '../utils/HttpServices';
import * as host from '../constants/Urls';
export function fetchReddit (isRefreshing, loading, typeId, isLoadMore, count, after) {
if (count == undefined) {... |
var PromiseProvider = require('../../lib/promise_provider');
var assert = require('power-assert');
var mongoose = require('../../');
describe('promises docs', function () {
var Band;
var db;
before(function (done) {
db = mongoose.createConnection('mongodb://localhost:27017/mongoose_test');
Band = db.mo... |
/**
* Welcome to your Workbox-powered service worker!
*
* You'll need to register this file in your web app and you should
* disable HTTP caching for this file too.
* See https://goo.gl/nhQhGp
*
* The rest of the code is auto-generated. Please don't update this file
* directly; instead, make changes to your Wor... |
"use strict";
exports.__esModule = true;
exports.c_button_m_secondary_m_danger_active_Color = {
"name": "--pf-c-button--m-secondary--m-danger--active--Color",
"value": "#a30000",
"var": "var(--pf-c-button--m-secondary--m-danger--active--Color)"
};
exports["default"] = exports.c_button_m_secondary_m_danger_active_... |
integration.meta = {
'sectionID' : '129372',
'siteName' : 'ISM_Gentside- (desktop only) - Header Bidding - (IT) (129372 )',
'platform' : 'header bidding'
};
integration.params = {
'mf_siteId' : '1074685',
// DO NOT REMOVE CONTENT WIDTH FROM HERE - REQUIRED FOR DESKTOP
'plr_ContentW': 980,
'... |
import { makeStyles } from '@material-ui/core/styles';
export const useStyles = makeStyles((theme) => ({
categoryItemAdd: {
display: 'flex',
flexDirection: 'column',
margin: '20px 0'
},
textField: {
margin: '10px 5px'
},
categoryAdd: {
display: 'flex',
flexDirection: 'row',
justif... |
// / <reference types="Cypress" />
import SettingsPageObject from '../../../../../support/pages/module/sw-settings.page-object';
describe('Product Search: Test crud operations of custom field', () => {
beforeEach(() => {
cy.loginViaApi()
.then(() => {
return cy.createDefaultFix... |
IntlPolyfill.__addLocaleData({locale:"tig-ER",date:{ca:["gregory","buddhist","chinese","coptic","ethioaa","ethiopic","generic","hebrew","indian","islamic","japanese","persian","roc"],hourNo0:true,hour12:true,formats:[{year:"numeric",month:"long",day:"numeric",weekday:"long",hour:"numeric",minute:"2-digit",second:"2-dig... |
'use strict';
const helmet = require('helmet');
module.exports = ({ app, conf }) =>
app.use(helmet(conf.get('helmet', {})));
|
/* jshint esversion: 6 */
var caffe2 = caffe2 || {};
var protobuf = protobuf || require('./protobuf');
caffe2.ModelFactory = class {
match(context) {
const identifier = context.identifier.toLowerCase();
const extension = identifier.split('.').pop().toLowerCase();
switch (extension) {
... |
"use strict";
exports.__esModule = true;
exports.c_nav__list_link_m_current_FontWeight = {
"name": "--pf-c-nav__list-link--m-current--FontWeight",
"value": "500",
"var": "var(--pf-c-nav__list-link--m-current--FontWeight)"
};
exports["default"] = exports.c_nav__list_link_m_current_FontWeight; |
/* global __dirname */
'use strict';
var assign = require('deep-assign'),
chalk = require('chalk'),
fs = require('fs'),
loaderUtils = require('loader-utils'),
stylelint = require('stylelint');
var defaultOptions = {
displayOutput: true,
ignoreCache: false
};
var lintedFiles = [];
/**
* Dete... |
import React from 'react'
import Isvg from 'react-inlinesvg'
import cloudboltItem from '../../icons/cloudbolt.svg'
import styles from './LoadingBolt.scss'
const LoadingBolt = () => (
<div className={styles.container}>
<div className={styles.content}>
<Isvg className={styles.bolt} src={cloudbol... |
import React from "react";
import Modal from "react-responsive-modal";
import { transitionStyles, customStyles } from "./reactModal.config";
import "./show.scss";
class MixableShow extends React.Component {
componentDidMount() {
if (this.props.mixableId) {
this.props.fetchMixable(this.props.mixableId);
... |
var DYDRA_TOKEN = "replace this with your Dydra API access token";
var DYDRA_ACCOUNT = "replace this with your Dydra account name";
var DYDRA_REPOSITORY = "replace this with your Dydra repository name";
|
// ================================================================================
// Color Toggling
var form_blue = "rgb(111, 217, 239)";
var form_red = "rgb(255, 0, 0)";
var color_change_interval = 500;
function toggle_background_color(ele, color1, color2) {
if ($(ele).css("background-color") === color1 ) {
$(e... |
import React from 'react';
import { Table } from 'antd';
import './index.less';
export default props => {
const { columns: dataSource } = props;
const columns = [
{
title: '列名',
dataIndex: 'Field',
key: 'Field'
},
{
title: '类型',
... |
const usersData = [
{No_Transaksi: 0, Jenis_Jurnal: 'Jurnal 001', Keterangan: 'Add React to a Website - Create a New React App - Hello World', Status: 'Aktif'},
{No_Transaksi: 1, Jenis_Jurnal: 'Jurnal 002', Keterangan: 'React is a declarative, efficient, and flexible JavaScript library', Status: 'Aktif'},
{No_T... |
/**
* Copyright 2021 The AMP HTML Authors. All Rights Reserved.
*
* 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 require... |
// $Id: uc_cart.js,v 1.7.2.6 2008/11/03 21:26:35 rszrama Exp $
var copy_box_checked = false;
/**
* Scan the DOM and display the cancel and continue buttons.
*/
$(document).ready(
function() {
$('.show-onload').show();
$('form#uc-cart-checkout-review-form input#edit-submit').click(function() {
$(thi... |
/*
* ! SAP UI development toolkit for HTML5 (SAPUI5) (c) Copyright 2009-2012 SAP AG. All rights reserved
*/
// Provides control sap.ui.vbm.Area.
sap.ui.define([
'./VoBase', './library'
], function(VoBase, library) {
"use strict";
/**
* Constructor for a new Area.
*
* @param {string} [sId] id for the new c... |
var $$;
HBFav.UI.styles = {
timeline: {
profileImage: {
backgroundColor: "#fff",
width: 48,
height: 48,
top: 10,
left: 10
},
profileImageContainer: {
backgroundColor: "#fff",
width: Ti.UI.SIZE,
height: 68,
top: 0,
left: 0
},
bodyContaine... |
/*
* Copyright (C) 2013 Google 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... |
const { JSDOM } = require("jsdom");
const { promisify } = require("util");
const sizeOf = promisify(require("image-size"));
const blurryPlaceholder = require("./blurry-placeholder");
const srcset = require("./srcset");
const path = require("path");
const ACTIVATE_AVIF = false;
const processImage = async (img, outpu... |
define([
"esri/layers/GraphicsLayer",
"esri/layers/FeatureLayer",
"esri/symbols/TextSymbol",
"esri/layers/support/LabelClass",
"esri/tasks/support/Query",
"esri/Graphic",
"esri/geometry/support/webMercatorUtils",
"esri/kernel",
"dojo/_base/declare",
"dojo/_base/lang",
"dojo/_base/array",
"dojo/o... |
import React from 'react';
import ReactDOM from 'react-dom';
import App from './examples/App';
ReactDOM.render(<App />, document.getElementById('root'));
// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more abou... |
var gulp = require('gulp');
var browserify = require('browserify');
var through2 = require('through2');
var rename = require('gulp-rename');
var config = require('../config').app;
gulp.task('browserify', function () {
return gulp.src([config.init])
.pipe(through2.obj(function (file, enc, nex... |
/*
* Copyright (C) 2011 Google 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... |
"use strict";
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj ... |
"use strict";
var gulp = require( "gulp" );
var watch = require( "gulp-watch" );
var server = require( "gulp-develop-server" );
var cukes = require( "gulp-cukes" );
var http = require( "http" );
var config = require( "./config" );
var browserify = require( "gulp-browserify" );
var literalify = require( "literalify" );
... |
"use strict";
function _openPreview() {
const data = _interopRequireDefault(require("../openPreview"));
_openPreview = function () {
return data;
};
return data;
}
function _fsPromise() {
const data = _interopRequireDefault(require("../../nuclide-commons/fsPromise"));
_fsPromise = function () {
... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
'use strict';
const { BaseGenerator } = require('@microsoft/generator-bot-adaptive');
module.exports = class extends BaseGenerator {
initializing() {
this.composeWith(
require.resolve('@microsoft/generator-bot-adaptive/generators/... |
import React, { useState,useEffect } from "react";
import JobtypeList from "./JobtypeList";
import SubjobList from "./SubjobList";
import TasktypeList from "./TasktypeList";
import SubtaskList from "./SubtaskList";
const EditRecordModal = ({apiUrl, apiKey, getTimesheets}) => {
// state vars
const [jobTypes, setJobty... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.