text stringlengths 2 1.05M |
|---|
import ViewerConfigurator from './Viewer.Configurator'
export default ViewerConfigurator
|
/**
* Description:
* Created by Xiaocheng Zuo on 2017-03-05 15:14:08
* @flow
*/
import React from 'react';
import {
View,
Text,
StyleSheet
} from 'react-native';
import Icon from 'react-native-vector-icons/Ionicons';
export default class TabIcon extends React.Component {
render() {
return (
... |
import React from "react"
import { Link, graphql, StaticQuery } from "gatsby"
import IMG from 'gatsby-image'
const ProduktsItem = ({ data }) => (
<StaticQuery
query={ graphql`
query IndexQuery {
allStrapiProdukts {
edges {
node {
id
title
cost
sl... |
!function(y){"function"==typeof define&&define.amd?define(["kendo.core"],y):y()}(function(){kendo.cultures.bg={name:"bg",numberFormat:{pattern:["-n"],decimals:2,",":" ",".":",",groupSize:[3],percent:{pattern:["-n%","n%"],decimals:2,",":" ",".":",",groupSize:[3],symbol:"%"},currency:{name:"",abbr:"",pattern:["-n $","n $... |
import session from '@/api/session'
import {
ACCOUNT,
CHANGE_PASSWORD,
LOGIN,
LOGOUT,
RESET_PASSWORD,
SEND_RESET_PASSWORD_EMAIL
} from './endpoints'
export default {
login(username, password) {
return session.post(LOGIN, { username, password })
},
logout() {
return session.post(LOGOUT, {})
... |
/**
* <p>Project: MIT Liberal Project</p>
* <p>Description: config</p>
* <p>Copyright: Copyright (c) 2016</p>
* <p>Company: MIT Liberal Co., Ltd.</p>
*
* @author <cendey@126.com>
* @since 12/28/2016
* @version 1.0
*/
"use strict";
function metaForOracle() {
let dbMeta = Object.create(null);
//Oracle d... |
'use strict';
(function(module) {
try {
module = angular.module('tink.popover');
} catch (e) {
module = angular.module('tink.popover', []);
}
module.directive( 'tinkPopover', ['$q','$templateCache','$http','$compile','$timeout','$window','$rootScope',function ($q,$templateCache,$http,$compile,$timeout,$... |
const {contextUid, uid, callbacks} = context.params;
const doc = callbacks.getDocument().current.contentDocument;
const win = callbacks.getDocument().current.contentWindow;
if (!doc || !win) return;
function isInViewport(element) {
const rect = element.getBoundingClientRect();
return (
rect.top >= 0 &&... |
const mix = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel appli... |
var searchData=
[
['ijk',['ijk',['../structedda_1_1Cell.html#a751450b94f6ae7d56f1df6e8320269a2',1,'edda::Cell']]],
['incell',['inCell',['../structedda_1_1PointInfo.html#a13dba4966a4b7d7e4e552e9010e7963f',1,'edda::PointInfo']]],
['indent',['indent',['../classeddaRandomProbeFilter.html#ac38d146802cd315d7581a237b2de... |
function llenarEspacioNav() {
const divEspacioNav = document.getElementById("espacio-nav");
let alturaNav = document.querySelector("nav").offsetHeight;
console.log(alturaNav);
divEspacioNav.style.height = alturaNav + "px";
}
window.onload = llenarEspacioNav;
window.addEventListener('resize', llenarEspacioNav);... |
/* eslint-disable no-console */
/* eslint-disable no-unused-vars */
import {
beforeCall,
afterCall,
aroundCall,
afterFulfillment,
afterRejection,
whilePending,
beforeGet,
afterGet,
aroundGet,
beforeSet,
afterSet,
aroundSet,
onCatch,
meta,
targetClass,
onFinally
} from "aopla";
import {
... |
// @flow
import { chunk, pipe } from 'capture-core-utils';
import { getContext } from '../context';
import { queryProgramsOutline } from './queries';
import {
storePrograms,
storeOrganisationUnitsByProgram,
} from './quickStoreOperations';
import { loadRulesCentricMetadata } from './loadRulesCentricMetadata';
... |
import EditFormRoute from 'ember-flexberry/routes/edit-form';
import EditFormRouteOperationsIndicationMixin from 'ember-flexberry/mixins/edit-form-route-operations-indication';
export default EditFormRoute.extend(EditFormRouteOperationsIndicationMixin, {
/**
Name of model projection to be used as record's proper... |
import $ from 'jquery';
import Immutable from 'immutable';
import immutablediff from 'immutablediff';
import '../utils/jquery-utils';
let FormLoadState = {};
const DOMBehaviors = {
attach() {
this.preventUnload();
this.preventClickAway();
},
preventUnload() {
if ($._data(window, '... |
'use strict'
function corruptionChecksum (inputMatrix) {
let sum = 0
const rows = inputMatrix.split('\n')
rows.map(row => {
const cols = row.trim().replace(/\t/g, ' ').split(' ').map(cell => +cell)
const diff = Math.max(...cols) - Math.min(...cols)
sum += diff
})
return sum
}
function corruption... |
// Copyright (c) 2017 Intel Corporation. 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 appli... |
import React, { Component } from 'react';
import { Link, Redirect } from 'react-router-dom';
import { connect } from 'react-redux';
import PropTypes from 'prop-types';
import { register } from '../../actions/auth';
import { createMessage } from '../../actions/messages';
export class Register extends Component {
st... |
/**
* @license Copyright (c) 2014-2021, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import DecoupledDocumentEditor from '@ckeditor/ckeditor5-editor-decoupled/src/decouplededitor.js';
import Alignment from '@ckeditor/ckeditor... |
var fs = require('fs');
var path = require('path');
function Module (id) {
// Class
this.id = id;
this.exports = {};
}
var _cached = {};
function _getAbsolutePath(pathname) {
if (path.isAbsolute(pathname)) {
return pathname;
} else if (pathname[0] === '.') {
return path.resolve(__dirname, pathname)... |
/**
* Created by reube on 27/07/2017.
*/
export const FETCH_WEATHER = 'FETCH_WEATHER'; |
var React = require('react');
var PropTypes = require('prop-types');
import _ from 'lodash';
var ProgressBar = require('react-progressbar.js')
var Circle = ProgressBar.Circle;
const calcPercentage = (item) => {
// If the votes against are 0/falsey, it's 100% in favour.
var overallPercent = (item.votesAgainst) ? ((... |
/*
* gameish
* (c) 2020 dragonwocky <thedragonring.bod@gmail.com> (https://dragonwocky.me/)
* (c) 2020 u/LVL100ShrekCultist
* under the MIT license
*/
'use strict';
module.exports = {
id: 'ad923617-e76e-408e-9f23-490738a3223f',
tags: ['theme', 'dark'],
name: 'gameish',
desc: 'a purple, "gamer-styled" the... |
'use script'
const assert = require('assert')
const Request = require('reserve/mock/Request')
const Response = require('reserve/mock/Response')
const cors = require('../../src/cors')
const origin = 'npmjs.com'
describe('src/cors', () => {
it('handles CORS attributes', async () => {
const request = new Request(... |
module.exports = require('marko-widgets').defineComponent({
template: require.resolve('./template.marko'),
getInitialState: function(input) {
return {
buttonSize: input.buttonSize || 'normal'
};
},
getTemplateData: function(state, input) {
return {
buttonS... |
import Head from "next/head";
const ProfileDetails = () => {
return (
<>
<Head>
<title>User profile</title>
</Head>
<main>
</main>
</>
);
};
export default ProfileDetails;
|
(function () {
'use strict';
// Route Configuration
angular.module('app')
.config(function ($stateProvider, $urlRouterProvider) {
$stateProvider
.state('home', {
url: '/home',
templateUrl: 'home/home.html',
con... |
import React, { useState, useEffect } from 'react';
import MainPageLayout from '../components/MainPageLayout';
import { useShows } from '../misc/custom-hooks';
import { apiGet } from '../misc/config';
import ShowGrid from '../components/show/ShowGrid';
const Starred = () => {
const [starred] = useShows();
const [... |
/**
* @license
* Copyright The Closure Library Authors.
* SPDX-License-Identifier: Apache-2.0
*/
goog.module('goog.dateTest');
goog.setTestOnly();
const DateDate = goog.require('goog.date.Date');
const DateTime = goog.require('goog.date.DateTime');
const Interval = goog.require('goog.date.Interval');
const googRe... |
import axios from 'axios'
import { getAllNetworks } from 'util/masterConfig'
const nw = getAllNetworks()
export default function verifierWatcherAxiosInstance(masterSystemConfig){
let axiosInstance = null
if(masterSystemConfig === 'local') {
return null //does not make sense on local
}
else if (masterSyst... |
const request = require('supertest')
const app = require('../../app.js')
const cheerio = require('cheerio')
function countScriptTags(res) {
var $ = cheerio.load(res.text)
return $('script').length
}
const mockFn = jest
.fn((req, routePath, jsPath = null) => 'default')
.mockImplementationOnce(() => 'https://ca... |
export function serialize(
content, // text
meshStore, // meshStore
getMetrics // fn to get metrics of char
) {
const result = {
ascender: NaN,
descender: NaN,
chars: []
};
if (content.length) {
const { ascender, descender } = getMetrics(content[0]);
... |
/* eslint-disable no-console */
import mongoose, { Schema, model } from 'mongoose';
import userSchema from './user';
import storeSchema from './store';
import env from '../utils/env';
const models = {
User: model('User', userSchema(Schema, env)),
Store: model('Store', storeSchema(Schema, env)),
};
mongoose.connec... |
import React from "react"
import { Button } from "../components/style"
import styled, { css } from "styled-components"
import { mix } from "polished"
import slugify from "react-slugify"
import firebase from "gatsby-plugin-firebase"
import { useFormik } from "formik"
import LoadingOverlay from 'react-loading-overlay'
e... |
import { dew as _baseSortedUniqDewDew } from "./_baseSortedUniq.dew.js";
var exports = {},
_dewExec = false;
export function dew() {
if (_dewExec) return exports;
_dewExec = true;
var baseSortedUniq = _baseSortedUniqDewDew();
/**
* This method is like `_.uniq` except that it's designed and optimized
... |
import React, { Fragment } from 'react'
import { Box, Button, makeStyles } from '@material-ui/core'
import { Link } from 'react-router-dom'
import styles from '../../assets/jss/no-apps/NoAppsStyle'
import { ReactComponent as RoundedBoxs } from '../../assets/img/icons/roundedBoxs.svg'
import { userProfileDacTest } from ... |
import {
get, merge, pick, set,
} from 'lodash';
const META_KEYS = [
'info.browsertime.version',
'info.timestamp',
'info.url',
];
const METRICS_KEYS = [
'statistics.timings.firstPaint',
'statistics.timings.fullyLoaded',
'statistics.timings.pageTimings.backEndTime',
'statistics.timings.pageTimings.domC... |
import defaultValue from "../Core/defaultValue.js";
import defined from "../Core/defined.js";
import DeveloperError from "../Core/DeveloperError.js";
import Event from "../Core/Event.js";
import createMaterialPropertyDescriptor from "./createMaterialPropertyDescriptor.js";
import createPropertyDescriptor from "./create... |
import React from 'react'
export default () => (
<div>Say hi to the BioMediaLab Team!</div>
)
|
const tap = require('tap')
const Strings = require('./lib/index')
tap.test('normalizeLocale', t => {
t.strictEqual(Strings.normalizeLocale(), undefined)
t.strictEqual(Strings.normalizeLocale(null), undefined)
t.strictEqual(Strings.normalizeLocale(''), undefined)
t.strictEqual(Strings.normalizeLocale('en-US'), ... |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2018 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
/**
* Returns an object containing dimensions of the Text object.
*/
var GetTextSize = function (text, size, lines)... |
class ExtendedButton extends HTMLButtonElement
{
constructor()
{
super();
}
set caption(value)
{
/*use "this" because the shadow root was already defined
in HTMLButttonElement*/
this.innerText = value;
}
set tooltip(value)
{
this.title = value;
... |
/*!
* filename: ej.pivot.common.min.js
* version : 19.4.0.55
* Copyright Syncfusion Inc. 2001 - 2022. All rights reserved.
* Use of this code is subject to the terms of our license.
* A copy of the current license can be obtained at any time by e-mailing
* licensing@syncfusion.com. Any infringement will be prosec... |
/*! jQuery v3.2.1 | (c) JS Foundation and other contributors | jquery.org/license */
!function(a,b){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined... |
import { useReducer, useRef } from 'react'
import { actionTypes, actions } from './actions'
const initialState = {
selfControlled: false,
columns: [],
data: [],
totalItems: 0,
withRowActions: false,
filters: [],
selection: {
isActive: false,
selectBy: 'id',
items: [],
excludeMode: false,
... |
var path = require('path')
var utils = require('./utils')
var webpack = require('webpack')
var config = require('../config')
var vueLoaderConfig = require('./vue-loader.conf')
function resolve (dir) {
return path.join(__dirname, '..', dir)
}
module.exports = {
entry: {
app: ['babel-polyfill','./src/main.js']
... |
const fs = require('fs-extra');
const { Base64 } = require('js-base64');
const { CONSTANTS } = require('../Constants');
function setupContractPayload(name, file, additionalReplacements = null) {
let contractCode = fs.readFileSync(file);
contractCode = contractCode.toString();
contractCode = contractCode.replace(... |
/*!
* ${copyright}
*/
// Provides the XMPPJSONPatchSyncPatchSync model implementation of a list binding
sap.ui.define(['jquery.sap.global', 'sap/ui/model/ChangeReason', 'sap/ui/model/ClientListBinding'],
function(jQuery, ChangeReason, ClientListBinding) {
"use strict";
/**
*
* ... |
//contact
if(!!document.getElementById('email')) {
var user = 'hello', domain = 'zettamachine.com';
document.getElementById('email').innerHTML = '<i class="fa fa-envelope"></i> <a href="mailto:' + user + '@' + domain + '">' + user + '@' + domain + '</a>';
}
//nav background
window.onscroll= function(e) {
... |
const path = require('path');
module.exports = {
ignore: ['**/Nav*/*.js'],
components: 'app/components/**/index.js',
defaultExample: true,
moduleAliases: {
components: path.resolve(__dirname, 'app/components'),
images: path.resolve(__dirname, 'app/images'),
},
webpackConfig: {
module: {
r... |
"use strict";
const { MAP_SIZE_X, MAP_SIZE_Z, INIT_SHADOW_COUNT, INIT_GRASS_COUNT } = require("../config");
const Grass = require("../behaviors/Grass");
const Orb = require("../behaviors/Orb");
const Shadow = require("../behaviors/Shadow");
const { randomPosition } = require("../utils/random");
class GameState {
co... |
// This file has been autogenerated.
var profile = require('../../../lib/util/profile');
exports.getMockedProfile = function () {
var newProfile = new profile.Profile();
newProfile.addSubscription(new profile.Subscription({
id: 'e33f361b-53c2-4cc7-b829-78906708387b',
name: 'Microsoft Azure Internal Consu... |
//> This is the litterate configuration file for litterate itself.
module.exports = {
name: 'Animated Value',
description: '`animated-value` is an **imperative animation API for declarative UI renderers**, like React, Preact, and Torus. It allows us to build rich, fully interactive animations with the full bene... |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.dialog.add( 'paste', function( editor ) {
var lang = editor.lang.clipboard;
var isCustomDomain = CKEDITOR.env.isCustomDomain();
function onPast... |
import { get, set, computed, setProperties } from '@ember/object';
import { resolve } from 'rsvp';
import { scheduleOnce } from '@ember/runloop';
import { alias, notEmpty } from '@ember/object/computed';
import { inject as service } from '@ember/service';
import Component from '@ember/component';
import NewOrEdit from ... |
var searchData=
[
['_7ereliancehid',['~RelianceHID',['../class_reliance_h_i_d.html#a8e6edf78100a4236222edf98dc4d2ece',1,'RelianceHID']]],
['_7ereliancestatus',['~RelianceStatus',['../struct_reliance_h_i_d_1_1_reliance_status.html#adacd3d3bd5491811a1256bafdc1c5675',1,'RelianceHID::RelianceStatus']]]
];
|
var $M = require("@effectful/debugger"),
$forInIterator = $M.forInIterator,
$iterator = $M.iterator,
$yld = $M.yld,
$iterErr = $M.iterErr,
$iterFin = $M.iterFin,
$iterNext = $M.iterNext,
$x = $M.context,
$ret = $M.ret,
$retG = $M.retG,
$unhandled = $M.unhandled,
$unhandledG =... |
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("fs"),require("txml")):"function"==typeof define&&define.amd?define(["fs","txml"],t):"object"==typeof exports?exports.GeoRaster=t(require("fs"),require("txml")):e.GeoRaster=t(e.fs,e.txml)}("undefined"!=typeof self?self:this,(funct... |
'use strict';
const MongooseMap = require('../../types/map');
const SkipPopulateValue = require('./SkipPopulateValue');
const assignRawDocsToIdStructure = require('./assignRawDocsToIdStructure');
const get = require('../get');
const getVirtual = require('./getVirtual');
const leanPopulateMap = require('./leanPopulateM... |
module.exports = {
title: 'Documentation',
tagline: 'All the good stuff Curt created',
url: 'https://your-docusaurus-test-site.com',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'cpoff', // Usually your GitHub org/user name.
project... |
;(function(global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
? (module.exports = factory())
: typeof define === 'function' && define.amd
? define(factory)
: (global.doc = factory())
})(this, function() {
'use strict'
function concat(parts) {
... |
'use strict';
const Config = require('@render/config.js');
const { bindKet2actualOs, getKeyFromConfig, equal } = require('@aux/aux_global.js');
const sharedData = require('@render/shared_data.js');
const themeManager = require('@render/theme_manager.js');
const defaultTheme = {
name: 'default',
packagejson: {
... |
'use strict';
/**
* Load support assets
*/
const classes = require('./classes');
const helpers = require('./helpers');
/**
* Export
*/
module.exports = {classes, helpers};
|
import vertexShaderSource from '../../shaders/alpha.vert';
import fragmentShaderSource from '../../shaders/alpha.frag';
import Shader from '../Shader';
const LIGHT_CONE_SEGMENTS = 256;
const LIGHT_CONE_RADIUS = 196;
export default class LightCone {
constructor(gl) {
this.shader = new Shader(gl, vertexShaderSour... |
const mongoose = require('mongoose');
const UserSchema = new mongoose.Schema({
userName: {
type: String,
required: true,
minLength: 1,
trim: true
},
userEmail: {
type: String,
required: true,
minLength: 1,
trim: true,
unique: true
},
category: {
type: String,
req... |
import parse from '../../../../types/date/parse.js'
export default function type () {
return async value => parse(value)
}
|
#!/usr/bin/env node
const readfile = require('./readfile');
const fileName = process.argv[2];
const path = require('path');
const fs = require('fs');
readfile(fileName)
.then(srcFileContent => {
const chars = [];
const lines = srcFileContent.split('\n');
const asciis = lines.map(line => {
const cha... |
import { isObject } from 'reakit-utils/isObject';
function unstable_setAllIn(object, value) {
var typedObject = object;
var result = {};
var keys = Object.keys(object);
for (var _i = 0, _keys = keys; _i < _keys.length; _i++) {
var key = _keys[_i];
var val = typedObject[key];
if (Array.isArray(val... |
// Esperanto Localization (Sample)
(function() {
//////////////////////////////////////////////////
// Page
// For RTL languages:
// document.body.dir = 'rtl';
// Override examples link e.g.:
// examples = "l10n/examples.txt"
// UI Text
(function(translation) {
var ids = new Set();
Object.ke... |
import { combineReducers } from "redux";
import { ADD_BATCH_TO_STATES } from "../actions/states";
export const states = combineReducers({
task: objectStates("task"),
room: objectStates("room"),
rack: objectStates("rack"),
machine: objectStates("machine")
});
function objectStates(type) {
return (state = {},... |
"use strict";
function SiglosSelectUnit(keys) {
GameUI.SelectUnit(keys.iEntIndex, false)
}
GameEvents.Subscribe( "siglos_select_unit", SiglosSelectUnit); |
/*Sets Themed Colors Based on Themes*/
var themeprimary = getThemeColorFromCss('themeprimary');
var themesecondary = getThemeColorFromCss('themesecondary');
var themethirdcolor = getThemeColorFromCss('themethirdcolor');
var themefourthcolor = getThemeColorFromCss('themefourthcolor');
var themefifthcolor = getThe... |
"use strict";
exports.__esModule = true;
exports.c_menu__item_toggle_icon_PaddingRight = {
"name": "--pf-c-menu__item-toggle-icon--PaddingRight",
"value": "0.5rem",
"var": "var(--pf-c-menu__item-toggle-icon--PaddingRight)"
};
exports["default"] = exports.c_menu__item_toggle_icon_PaddingRight; |
Ext.data.JsonP.dev_package_managers({"guide":"<!--\nCopyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.\nFor licensing, see LICENSE.md.\n-->\n\n\n<h1 id='dev_package_managers-section-installing-ckeditor-with-package-managers'>Installing CKEditor with Package Managers</h1>\n<div class='toc'>\n<p>... |
/* eslint-env jest */
import calculateValueDistance from '../calculateValueDistance';
describe('calculateValueDistance', () => {
it('should return a value and distance', () => {
const { value, distance } = calculateValueDistance(0, 100, 0, 100, 1, 0, 100, true);
expect(value).toBe(0);
expect(distance).to... |
/*
* ============LICENSE_START=======================================================
* org.onap.aai
* ================================================================================
* Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
* Copyright © 2017-2018 Amdocs
* ========================... |
var searchData=
[
['name_14',['name',['../classopenrdv_1_1AttestPlugin.html#a7e803ba057c51d4ef622556228fec481',1,'openrdv::AttestPlugin::name()'],['../classSamplePlugin.html#a832684226ee4bbb33db47553f8bbed05',1,'SamplePlugin::name()']]]
];
|
'use strict';
/**
* Depedencies
*/
const uuid = require('uuid');
/**
* Effects
*/
const {
call,
delay,
render,
callProc,
parallel,
put,
take,
takeStream,
putStream,
actionChannel,
takeChannel,
spawn,
select,
} = require('../lib/effects');
/**
* TODO: Add request-response semantics for ... |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0def14"],{8897:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"traffic-routes"},[a("FrameSkeleton",[a("DataOverview",{attrs:{"page-size":6,"has-error":t.hasError,"is-loadin... |
let slideIndex = 1;
showSlides(slideIndex);
function moveSlides(n) {
showSlides(slideIndex += n);
}
function currentSlide(n) {
showSlides(slideIndex = n);
}
function showSlides(n) {
const slides = document.getElementsByClassName("mySlides");
if (n > slides.length) {slideIndex = 1}
if (n < 1) {slideIndex... |
var connect = require('connect');
var serveStatic = require('serve-static');
connect()
.use(serveStatic(__dirname))
.listen(3000, () => console.log('Server running on 3000...')); |
// Copyright 2004-present Facebook. All Rights Reserved.
import React from 'react';
export default class Button extends React.Component {
constructor(props) {
super(props);
this.state = {label: props.label};
// bind manually because React class components don't auto-bind
// http://facebook.github.... |
// ==========================================================================
// Project: Ember - JavaScript Application Framework
// Copyright: ©2011-2012 Tilde Inc. and contributors
// Portions ©2006-2011 Strobe Inc.
// Portions ©2008-2011 Apple Inc. All rights reserved.
// License: Licensed... |
import { Effect } from "../../Materials/effect";
var name = 'bonesDeclaration';
var shader = "#if NUM_BONE_INFLUENCERS>0\n#ifdef BONETEXTURE\nuniform sampler2D boneSampler;\nuniform float boneTextureWidth;\n#else\nuniform mat4 mBones[BonesPerMesh];\n#ifdef BONES_VELOCITY_ENABLED\nuniform mat4 mPreviousBones[BonesPerMes... |
import React, { Component } from 'react';
import { ExperimentsWithRouter } from './experiments/Experiments';
import { BenchmarksWithRouter } from './benchmarks/Benchmarks';
import { Route, Switch } from 'react-router-dom';
class App extends Component {
constructor(props) {
super(props);
// Store selected exp... |
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP
import React, { Component, PropTypes } from 'react';
import classnames from 'classnames';
import CSSClassnames from '../../../utils/CSSClassnames';
import Intl from '../../../utils/Intl';
import Props from '../../../utils/Props';
const CLASS_ROOT = ... |
const mongoose = require('mongoose')
const shortId = require('shortid')
const shortUrlSchema = new mongoose.Schema({
full: {
type: String,
required: true
},
short: {
type: String,
required: true,
default: shortId.generate
},
clicks: {
type: Number,
required: true,
default: 0
... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[44],{193:function(a,e,o){"use strict";o.r(e);var t=o(0),r=Object(t.a)({},function(){var a=this,e=a.$createElement,o=a._self._c||e;return o("ContentSlotsDistributor",{attrs:{"slot-key":a.$parent.slotKey}},[o("h1",{attrs:{id:"diferenca-entre-colunas"}},[a._v("Diferença... |
import React, { useState } from 'react';
import { useQuery, gql } from '@apollo/client';
import LaunchItem from './LaunchItem/LaunchItem';
const LAUNCHES_QUERY = gql`
query LaunchesQuery {
launches {
flight_number
mission_name
launch_date_local
launch_success
}
}
`;
const Launches ... |
export const INITIATE_FETCH = 'INITIATE_FETCH'
export const FETCH_SUCCESS = 'FETCH_SUCCESS'
export const FETCH_FAILED = 'FETCH_FAILED' |
/**
* skylark-chartjs - A version of chartjs that ported to running on skylarkjs
* @author Hudaokeji, Inc.
* @version v0.9.2
* @link https://github.com/skylark-integration/skylark-chartjs/
* @license MIT
*/
define(["../core/core.defaults","./helpers.core"],function(t,e){"use strict";var exports={},module={exports... |
/* Use this script if you need to support IE 7 and IE 6. */
window.onload = function() {
function addIcon(el, entity) {
var html = el.innerHTML;
el.innerHTML = '<span style="font-family: \'Grands\'">' + entity + '</span>' + html;
}
var icons = {
'icon-YouTube' : '',
'icon-Yandex' : '',
... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[68],{2899:function(e,t,n){"use strict";n.r(t),n.d(t,"icon",(function(){return c}));n(10),n(2),n(6),n(8),n(5),n(9);var r=n(0),l=n.n(r);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototy... |
'use strict';
module.exports = {
db: 'mongodb://localhost/map-dev',
app: {
title: 'Map - Development Environment'
},
facebook: {
clientID: process.env.FACEBOOK_ID || 'APP_ID',
clientSecret: process.env.FACEBOOK_SECRET || 'APP_SECRET',
callbackURL: '/auth/facebook/callback'
},
twitter: {
clientID: proce... |
import React from "react"
import Layout from "../../components/layout/layout"
import SEO from "../../components/layout/seo"
import ProjectIntro from "../../components/sections/ProjectIntro"
import Caption from "../../components/sections/Caption"
import FullImage from "../../components/sections/FullImage"
function Recr... |
const createPostHandler = async (event) => {
event.preventDefault();
const title = document.querySelector('#post-title').value.trim();
const content = document.querySelector('#post-content').value.trim();
const post_id = window.location.toString().split('/')[
window.location.toString().split('/').length - 1... |
import { db } from "../../server.js";
function renderAdminLogin(req, res) {
if (!req.session.admin) {
res.render("adminLogin.ejs");
} else {
res.redirect("/dashboard");
}
}
async function renderAdminDashboard(req, res) {
if (!req.session.admin) {
res.redirect("/admin")
} else {
const matches = await db.c... |
/**
* Created by Danish Ch on 9/9/2017.
*/
'use strict';
$(document).ready(function() {
$('#clear').on('click', function() {
$('#admission_form').bootstrapValidator("resetForm");
});
$('#admission_form').bootstrapValidator({
fields: {
std_f_name: {
validators: ... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("@styled-icons/fa-brands/Alipay"), exports);
|
/* This file is automatically rebuilt by the Cesium build process. */
define(['exports', './Transforms-d2b6be42', './Cartesian2-29c15ffd', './Check-ed9ffed2', './ComponentDatatype-2ec73936', './when-f31b6bd1', './GeometryAttribute-8c2091fc', './GeometryAttributes-e973821e', './Math-03750a0b', './Plane-01ea173f', './Ver... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.