text
stringlengths
2
1.04M
var legato__image_8h = [ [ "leImageMap", "structleImageMap.html", "structleImageMap" ], [ "leImage", "structleImage.html", "structleImage" ], [ "leImageDecoder", "structleImageDecoder.html", "structleImageDecoder" ], [ "LE_IMAGE_FORMAT_COUNT", "legato__image_8h.html#a7f4fe6ab0aedd99bb5930fc0e8c5642f", n...
export class DisplayInline { constructor() { this.dateValue = '5/18/2016'; } }
import api from './api/index' export default { '/user': { fetchData: api.auth.getUserPage, handleAdd: api.auth.addUser, handleEdit: api.auth.updateUser, handleDelete: api.auth.deleteUser, handleBatchDelete: api.auth.batchDeleteUser, }, '/schedule': { fetchData: api.schedule.getJobPage, ...
import React from "react" import SEO from "../components/seo" import { Link } from "gatsby" import Img from "gatsby-image" import { motion } from 'framer-motion' import Scroll from "../components/locomotiveScroll" import Moment from "react-moment" import Collapsible from "../components/collapsible" const fade = { ini...
"use strict"; var RecaptchaV3Google = RecaptchaV3Google || {}; RecaptchaV3Google.form_submit; RecaptchaV3Google.items = new Array(); RecaptchaV3Google.runSubmit = false; (function() { var elemId = 'recaptchV3Script'; if (document.getElementById(elemId)) { return; } var recaptchV3Script = docu...
var gulp = require('gulp'); var path = require('path'); var sass = require('gulp-sass'); var autoprefixer = require('gulp-autoprefixer'); var sourcemaps = require('gulp-sourcemaps'); var open = require('gulp-open'); var Paths = { HERE: './', DIST: 'dist/', CSS: './assets/css/', SCSS_TOOLKIT_SOURCES: './assets/...
g_db.quests[20443]={id:20443,name:"Missing Captain",type:0,trigger_policy:3,on_give_up_parent_fail:1,on_success_parent_success:0,can_give_up:1,can_retake:0,can_retake_after_failure:1,on_fail_parent_fail:0,fail_on_death:0,simultaneous_player_limit:0,ai_trigger:0,ai_trigger_enable:0,auto_trigger:0,trigger_on_death:0,remo...
/*! * ${copyright} */ // Provides the Design Time Metadata for the sap.ui.core.CustomData control sap.ui.define([], function() { "use strict"; return { aggregations: { customData: { ignored: true } } }; });
goog.provide('ol.geom.MultiPolygon'); goog.require('goog.array'); goog.require('goog.asserts'); goog.require('ol.extent'); goog.require('ol.geom.GeometryLayout'); goog.require('ol.geom.GeometryType'); goog.require('ol.geom.MultiPoint'); goog.require('ol.geom.Polygon'); goog.require('ol.geom.SimpleGeometry'); goog.requ...
/* Copyright 2020 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at https://github.com/digitalocean/nginxconfig.io/blob/master/LICENSE or https://mit-license.org/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associate...
angular.module('synergyCity') .directive('face', function(){ return { restrict: 'E', scope: { happinessLevel: '=' }, template: '<div style="background-size:contain;background-repeat:no-repeat;" ng-style="{\'background-image\':\'url(\\\'content/smiley-\' + happinessName + \'.svg\\\')\'}"></div>',...
module('Graphic'); test('testGraphic_constructorDefault',function(){ expect(2); var graphic = new SuperMap.Graphic(); equals(graphic.geometry,null,"Property.geometry"); equals(graphic.style,null,"Property.style"); graphic.destroy(); }); test('testGraphic_constructor',function(){ expect(3); ...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: String.prototype.substring (start, end) es5id: 15.5.4.15_A1_T13 description: > Arguments are objects, and instance is string. First object have overrided valueOf and ...
const path = require('path') const fs = require('fs') const fse = require('fs-extra') const rollup = require('rollup') const uglify = require('uglify-es') const buble = require('@rollup/plugin-buble') const json = require('@rollup/plugin-json') const cjs = require('@rollup/plugin-commonjs') const nodeResolve = require(...
/* * Copyright (c) André Bargull * Alle Rechte vorbehalten / All Rights Reserved. Use is subject to license terms. * * <https://github.com/anba/es6draft> */ const { assertSame, assertThrows } = Assert; // 7.3.19 SpeciesConstructor, 9.4.2.3 ArraySpeciesCreate: inconsistency in the handling of originalObj.constr...
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _objectSpread2 = _interopRequireD...
// @ts-check export const colors = ['red', 'blue', 'black', 'pink', 'green', 'yellow'] export const width = 16 export const height = 16 export const myMatrix = [] for (let x = 0; x <= width; x++) { const row = [] for (let y = 0; y <= height; y++) { row.push({ posName: `pos-${x}-${y}` }) } myMatrix.push...
var assert, fuzzer, genTests, nativetype, transformX; assert = require("assert"); nativetype = require("../lib/json0"); fuzzer = require("ot-fuzzer"); nativetype.registerSubtype({ name: "mock", transform: function (a, b, side) { return { mock: true, }; }, }); transformX = function (type, left, ...
'use strict'; /* Constraints */ var Constraints = { /* Styles constraints */ SRC_STYLES: "./app/styles/*.scss", BUILD_CSS: "./app/build/css", /* Scripts constraints */ SRC_SCRIPTS: "./app/scripts/*.js", BUILD_SCRIPTS: "./app/build/js", MAIN_SCRIPT: "main.js", MAIN_SCRIPT_PATH: "./app/build/js/main.js...
(window.webpackJsonp=window.webpackJsonp||[]).push([[866],{1308:function(e,t,a){"use strict";a.r(t);var s=a(51),i=Object(s.a)({},(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[a("h1",{attrs:{id:"devil-s-mark"}},[a("a",{staticClass:"he...
import axios from "axios"; export const getData = async (url) => { const response = await axios.get(url); console.log(response.status); console.log(response.data); }; export const checkOnlineStatus = async (url,serviceName) => { return new Promise((resolve,reject)=>{ axios.get(url) .then((re...
// Copyright (c) 2016, Compiler Explorer Authors // 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, // thi...
'use strict'; angular.module('agenda') .service('$CurrentSession', function ($log) { var serv = this; serv.cache = {}; serv.set = function (session, scenario, type, track, speakers) { serv.cache.data = { session: session, scenario: scenario || null, type: type || null, track: trac...
const htmlToRtf = require('html-to-rtf') const unirest = require('unirest') const nlp = require('compromise') const Sentencer = require('sentencer') const randy = require('randy') const path = require('path') const wordsAPIBaseUrl = 'https://wordsapiv1.p.rapidapi.com' /** * Generates an rtf text file and saves to th...
/*! * @license * chartjs-plugin-zoom * http://chartjs.org/ * Version: 0.7.0 * * Copyright 2019 Chart.js Contributors * Released under the MIT license * https://github.com/chartjs/chartjs-plugin-zoom/blob/master/LICENSE.md */
const t1 = [1, 3, 2, 5]; const t2 = [2, 1, 3, null, 4, null, 7]; // [3,4,5,5,4,null,7] // empty array // root + root // 2n + 1 + 2n + 1 // test what happens when adding null // return array var mergeTrees = function(t1, t2) { const treeArr = []; const longerLen = t1.length >= t2.length ? t1.length : t2.length; ...
var spawn = require('child_process').spawn var net = require('net') var child = spawn('node', [ '../../prolific.tcp/prolific.tcp.bin.js', '--ipc', '--log', '127.0.0.1:8088', 'node', 'worker.js' ], { stdio: [ 0, 1, 2, 'ipc' ] }) child.on('exit', function () { server.close() }) var server = net...
// @flow import * as React from 'react' import Row from './row.desktop' import {some} from 'lodash-es' import {Box, Text, Icon, List, type IconType} from '../common-adapters' import {globalStyles, globalColors, desktopStyles, platformStyles} from '../styles' import * as Types from '../constants/types/folders' export t...
import { render, cleanup } from '@redwoodjs/testing' import LogOutPage from './LogOutPage' describe('LogOutPage', () => { afterEach(() => { cleanup() }) it('renders successfully', () => { expect(() => { render(<LogOutPage />) }).not.toThrow() }) })
const { loginFacebook } = require('../controllers/users') const express = require('express') const router = express.Router() router.get('/login-fb', loginFacebook) module.exports = router
/* * @description: 会员账单流水js * @author: billy * @update: billy (2018-03-16 17:30) * @version: v1.0 */ var app = angular.module('myApp', ['tm.pagination']); app.controller('listController', function ($scope, $http) { //post请求的地址 var url = window.location.href, //将参数传递的方式改成form postCfg = { headers: { 'Content-Type':...
const helpers = require('@commons/util/helpers'); const Crowi = require('@server/crowi'); let _instance = null; async function createInstance() { const crowi = new Crowi(helpers.root()); await crowi.initForTest(); // init DB const appService = crowi.appService; await appService.initDB(); return crowi; ...
import styled from 'styled-components'; const TagsWrapper = styled.div` display: flex; flex-wrap: wrap; `; export default TagsWrapper;
import controller from './metrics-token.controller'; import template from './metrics-token.html'; export default /* @ngInject */ ($stateProvider) => { $stateProvider.state('metrics.detail.token', { url: '/token', views: { metricsContent: { template, controller, controllerAs: 'Me...
import controller from './home.controller'; import template from './home.html'; export default { template, controller, bindings: { title: '<', }, };
/** * Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community * Edition) available. * Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the MIT License (the "License"); you may not use this file except in compliance wit...
var classdev_1_1jorel_1_1commandapi_1_1arguments_1_1_adventure_chat_component_argument = [ [ "AdventureChatComponentArgument", "classdev_1_1jorel_1_1commandapi_1_1arguments_1_1_adventure_chat_component_argument.html#a32d385c26397e7dea6939bd3e1ca7206", null ], [ "getArgumentPermission", "classdev_1_1jorel_1_1com...
//# sourceMappingURL=component---src-owasp-top-10-a-6-security-misconfiguration-mdx-2933a10f681867cf9aed.js.map
/** * Copyright (c) 2021, Leon Sorokin * All rights reserved. (MIT Licensed) * * uPlot.js (μPlot) * A small, fast chart for time series, lines, areas, ohlc & bars * https://github.com/leeoniya/uPlot (v1.6.7) */ 'use strict'; const FEAT_TIME = true; // binary search for index of closest value function closes...
/*! * Melodic v1.0.0-beta (https://melodic.helloinspire.com) * Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Portions Copyright 2018 Inspire Energy Holdings, LLC * Licensed under MIT (https://github.com/DWPHoldings/melodic-web/blob/master/LICENSE) */ (func...
const path = require('path'); const CopyWebpackPlugin = require('copy-webpack-plugin'); module.exports = { entry: { Cirsim: path.resolve(__dirname, 'index.js') }, plugins: [ new CopyWebpackPlugin( { patterns: [ { from: path.resolve( path.dirname(require.resolve(`cirsim/package.json`)), ...
import React from 'react'; import '../pages/Home/Home.css' const total = ({ subscriptions }) => { const totalAmount = subscriptions.map(subscription => subscription.amount).reduce((prev, curr) => prev + curr, 0 ).toFixed(2);; if (!subscriptions.length) { return <p>0</p>; } return ( <div classNam...
(function () { var tab_xie = document.getElementById("tab_xie"); var tab_ci = document.getElementById("tab_ci"); var tab_zi = document.getElementById("tab_zi"); var char_input = document.getElementById("char_input"); var div_canvas_input = document.getElementById("div_canvas_input"); var div_output = document.get...
var mongoose = require('mongoose'); var Schema = mongoose.Schema; var baseModel = require('./baseModel').Base; var retentionPricingSchema = baseModel.discriminator('retentionPricingDetails', new Schema({ _id: { type: Schema.ObjectId, auto: true }, price: {type: Number} })); module.exports = retentionPricingSc...
import * as types from '../actions/actionTypes'; import initialState from './initialState'; export default function authenticationReducer(state = initialState.authentication, action) { switch (action.type) { case types.AUTHENTICATE_REQUEST: return {isAuthenticated:false, token:'', error:''}; case type...
var XD = function(){ var interval_id, last_hash, cache_bust = 1, attached_callback, window = this; return { postMessage : function(message, target_url, target) { if (!target_url) { return; } target = target |...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 13-4-4h8l-4 4z" }), 'ArrowDropDownCircleSharp');
import React from 'react' function SearchBox (props) { return ( <div className="form-row"> <div className="form-group col-md-4 offset-md-4"> <label for="inputEmail4">Search Employee by Name, Cellphone #, or date of birth</label> <input type="email" className="form-control" id="inputEmail4" onCha...
'use strict'; angular.module('paysharesClient').controller('SettingsRecoveryCtrl', function($scope, $state, $http, $q, session, paysharesApi, UserPrivateInfo, FlashMessages) { var wallet = session.get('wallet'); var params = { username: session.get('username'), updateToken: wallet.keychainData.updateToken ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _bootstrap = require("./lib/bootstrap"); // @flow var _default = _bootstrap.startVerdaccio; exports.default = _default; //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3Vy...
//# sourceMappingURL=main.13de647526d0a582493b.js.map
'use strict'; var Base = require('../base'); var util = require('util'); module.exports = Dependencies; function Dependencies () { Base.apply(this, arguments); } util.inherits(Dependencies, Base); require('../../extend-with-factories')(Dependencies, 'instance/dependency'); Dependencies.prototype.urlPath = 'depen...
const readline = require("readline"); const reader = readline.createInterface({ input: process.stdin, output: process.stdout }); /** * @param {number} sum * @param {number} numLeft * @param {function(number):void} completionCallback */ function addNumbers(sum, numLeft, completionCallback) { if (numLeft > ...
import React, { Component } from 'react'; import * as PropTypes from 'prop-types'; import { Link, withRouter } from 'react-router-dom'; import * as R from 'ramda'; import { withStyles } from '@material-ui/core/styles'; import graphql from 'babel-plugin-relay/macro'; import { createFragmentContainer } from 'react-relay'...
import { expect } from 'chai'; import { describe, context, it, beforeEach } from 'mocha'; import { setupComponentTest } from 'ember-mocha'; import hbs from 'htmlbars-inline-precompile'; import RemoveHarvesterFromSpaceAction from 'onezone-gui/utils/space-actions/remove-harvester-from-space-action'; import { get, getProp...
import React, { PureComponent, Fragment } from 'react'; import moment from 'moment'; import { Table, Alert, Badge, Divider } from 'antd'; import styles from './index.less'; const statusMap = [ 'error','success']; class StandardTable extends PureComponent { state = { selectedRowKeys: [], }; componentWillRece...
'use strict'; var build = require('bitcore-build'); build('explorers');
import { Color, LinearFilter, MathUtils, Matrix4, Mesh, PerspectiveCamera, RGBFormat, ShaderMaterial, UniformsUtils, Vector2, Vector3, WebGLRenderTarget, DepthTexture, UnsignedShortType, NearestFilter, Plane } from '../../../build/three.module.js'; class ReflectorForSSRPass extends Mesh { constructor...
import React from 'react'; // Material UI import { withStyles } from 'material-ui/styles'; import Card, { CardHeader, CardContent } from 'material-ui/Card'; // Custom import { TodoInput, TodoList } from 'components'; const styles = { root: { display: 'flex', justifyContent: 'center', }, card: { flex:...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); exports.__esModule = true; exports.default = void 0; var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h...
var searchData= [ ['inited_60',['inited',['../structdht11__handle__s.html#a19bedf28d2b9748f6a62d9ae93f4e68f',1,'dht11_handle_s']]], ['interface_61',['interface',['../structdht11__info__s.html#aebaa6c28dd4f2c3dc27566fcb910fd28',1,'dht11_info_s']]] ];
import logger from "../logger.js"; import utils from "../utils.js"; import { parseMonsters } from "../muncher/monster/monster.js"; import { copySupportedItemFlags, srdFiddling } from "../muncher/import.js"; import { buildNPC, generateIconMap, copyExistingMonsterImages } from "../muncher/importMonster.js"; import { DDB_...
import React from 'react'; import * as API from '../api'; import {markdown} from 'markdown'; export default class Section extends React.Component { /** * [super constructor as this component extends other class React.Component] * @param {[type]} props [props when the Section component is rendered] * @pa...
module.exports.run = function (client, message, args) { let input1 = args.join(" "); let icon = message.guild.iconURL(); if (!input1) return message.reply(client.translate.commands.status.empty); if (!["online", "offline", "idle", "dnd"].includes(input1)) { return message.reply(client.translate...
const express = require('express') const path = require('path') const app = express() const env = process.env.NODE_ENV || 'development' app.use(express.static(path.join(__dirname, "..", "public"))); require('../server/startup/db')() if(env === 'production') { require('../server/startup/redis') } require('../serve...
import Vue from 'vue'; import Vuex from 'vuex'; Vue.use(Vuex); let store= new Vuex.Store({ state:{ name:'luozheao' }, mutations: { changeName(state,newName){ state.name=newName; } }, }); export default store;
/** * Copyright (c) 2014 Guyon Roche * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publi...
define( //begin v1.x content { "days-standAlone-short": [ "الأحد", "الاثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت" ], "months-format-narrow": [ "١", "٢", "٣", "٤", "٥", "٦", "٧", "٨", "٩", "١٠", "١١", "١٢" ], "field-second-relative+0": "الآن", "quarters-standAl...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _Utils = _interopRequireDefault(require("./Utils")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } class App { /** * Provides access to the `application...
import React, {useState} from 'react'; import PropTypes from 'prop-types'; import {connect} from 'react-redux'; import {addComment} from '../../actions/post'; const CommentForm = ({addComment, postId}) => { const [text, setText] = useState(''); const onChangeHandler = (e) => { setText(e.target.value); }; ...
/* * Lightcase - jQuery Plugin * The smart and flexible Lightbox Plugin. * * @author Cornel Boppart <cornel@bopp-art.com> * @copyright Author * * @version 2.4.2 (24/11/2017) */ ;(function ($) { 'use strict'; var _self = { cache: {}, support: {}, objects: {}, /** * Initializes the plugin ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.passiveFileSystem = void 0; const mem_file_system_1 = require("./mem-file-system"); const real_file_system_1 = require("./real-file-system"); /** * It's an implementation of FileSystem interface which reads from the real file system, ...
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'indent', 'sr', { indent: 'Увећај леву маргину', outdent: 'Смањи леву маргину' } );
/** * @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'a11yhelp', 'el', { title: 'Οδηγίες Προσβασιμότητας', contents: 'Περιεχόμενα Βοήθειας. Πατήστε ESC για κλείσιμ...
import React, { Component } from 'react'; import styles from './Content.css'; class Content extends Component { render() { return ( <div className={styles.main}> {this.props.children} </div> ); } } export default Content;
/** * COMMON WEBPACK CONFIGURATION */ const path = require('path'); const webpack = require('webpack'); module.exports = options => ({ mode: options.mode, entry: options.entry, node: { fs: 'empty' }, output: Object.assign( { // Compile into js/build.js path: path.resolve(process.cwd(),...
module.exports = [ 'src/js/_header.js', 'src/js/_utils.js', 'src/js/_footer.js' ]
'use strict'; module.exports = { up: async (queryInterface, Sequelize) => { await queryInterface.bulkInsert('murat_lectures', [{ id: 1, uuid: '3df5e6b5-206d-4b21-8748-14e31c568b5f', name: 'Mathematics', createdAt: 20171010162834, updatedAt: Sequelize.fn('NOW') }, ...
//# sourceMappingURL=component---src-pages-index-js-7201d4418dba10b74080.js.map
/** * Copyright 2016 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...
var uuid = require("uuid"); var db = require("../app").bucket; var config = require("../config"); var N1qlQuery = require('couchbase').N1qlQuery; var ViewQuery = require('couchbase').ViewQuery; function TweetsModel() { }; module.exports = TweetsModel; TweetsModel.getById = function(id, callback) { var statement...
import { writable } from 'svelte/store' export const ShowPromoteModal = writable(false)
import React from "react"; export default ({ data }) => { const post = data.markdownRemark; return ( <div> <h1>{post.frontmatter.title}</h1> <div dangerouslySetInnerHTML={{ __html: post.html }} /> </div> ); }; export const query = graphql` query BlogPostQuery($slug: String!) { markdown...
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import SettingsPanel from 'ringcentral-widgets/components/SettingsPanel'; import withPhone from 'ringcentral-widgets/lib/withPhone'; import AuthorizeSettingsSection from '../../components/AuthorizeSettingsSection'; im...
export function SettingsViewModel(data) { this.LogoURL = data.LogoURL; this.BlackListedLabels = data.BlackListedLabels; this.AuthenticationMethod = data.AuthenticationMethod; this.LDAPSettings = data.LDAPSettings; this.OAuthSettings = new OAuthSettingsViewModel(data.OAuthSettings); this.AllowBindMountsForRe...
const router = require('express').Router(); const loginRoutes = require("./login"); const bloggingRoutes = require("./blog"); const commentingRoutes = require("./comment"); router.use('/login', loginRoutes); router.use('/blogs', bloggingRoutes); router.use('/comment', commentingRoutes); module.exports = router;
/** * watch.js * Configuration for watch task(s) */ 'use strict'; module.exports = function(grunt) { grunt.config.set('watch', { options: { spawn: true, livereload: false },<% if (htmlOption === 'Jade') { %> jade: { files: [ '<%%= yeog...
function f(x,y) { return x.g(y) + -x.w; } var a = { g: function(x) { return x; }, w: 42, e: null } var h = f; var result = h(a, "hello"); //assert(result == "hello-42"); var __result1 = result; // for SAFE var __expect1 = "hello-42"; // for SAFE
import styled from "styled-components"; import Box from "./Box"; // a button styled thing which is actually just a label? const ButtonAsLabel = styled(Box).attrs({ centered: true, styledMinHeight: "32px" }) ` border-radius: 0 16px 16px 0; ${props => props.light && ` background: ${props.theme.textL...
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. chrome.app.runtime.onLaunched.addListener(function() { chrome.app.window.create('main.html', {}, function () {}); });
const React = require("react"); const Layout = require("./src/components/layout").default exports.wrapPageElement = ({element, props}) => { return <Layout {...props} >{element}</Layout> }
/* * Copyright 2015 The Closure Compiler 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...
$(document).ready(function() { $('#1').on("click", function(event){ console.log("clicked"); localStorage.setItem("id", 1) localStorage.setItem("url", "https://www.youtube.com/embed/KSBLmWUVQo0") location.href = "/video"; }) $('#2').on("click", function(event){ console...
import React from 'react'; import { storiesOf } from '@storybook/react'; import withClippy from '../.storybook/src/clippy-addon/clippy-addon'; import Tooltip from '../components/Tooltip'; function formatDate(date) { const monthNames = [ 'January', 'February', 'March', 'April', 'May', 'June',...
export default function (part) { let { sa, Point, points, Path, paths, options, complete, paperless, macro, measurements, } = part.shorthand() let height = points.bicepsRight.x * options.sleeveLength let width = measurements.biceps * (1 + options.bicepsEase) * (1 + optio...
import FactoryGuy from 'ember-data-factory-guy'; FactoryGuy.define('repository', { default: { id: FactoryGuy.generate((num)=> `ands.centre #${num}`), name: 'Australian Data Archive', systemEmail: 'ada@anu.edu.au', domains: 'ada.edu.au,nesstar.ada.edu.au', isActive: true, provider: FactoryGuy....
import React from "react"; import classNames from "classnames"; import { Link } from "react-router-dom"; import Image from "../../Elements/Image"; const Logo = ({ className, ...props }) => { const classes = classNames("brand", className); return ( <div {...props} className={classes}> <h1 className="m-0"...
const assert = require('assert'); const MockServer = require('../../../lib/mockserver.js'); const CommandGlobals = require('../../../lib/globals/commands.js'); describe('getTagName', function() { before(function(done) { CommandGlobals.beforeEach.call(this, done); }); after(function(done) { CommandGloba...
// const PROP1_UPDATED = (state, payload) => { // state.someObj.prop1 = payload; // }; // const PROP2_UPDATED = (state, payload) => { // state.someObj.prop2 = payload; // }; // export default { // PROP1_UPDATED, // PROP2_UPDATED, // };
/* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved. * * This software is licensed under the Apache License, Version 2.0 (the * "License") as published by the Apache Software Foundation. * * You may not use this file except in compliance with the License. You may * obtain a copy of the Li...