text
stringlengths
2
1.04M
import Accordion from "./accordion" import Description from "./description" export default { Accordion, Description }
(function(hourglass) { /** * The API class is used to access the Hourglass REST API. Usage: * * var api = hourglass.API(); * api.get("uri", function(error, data) { * if (error) return console.log("error:", error.statusText); * }); * * // e.g. for paginated responses * api.get({ * ur...
const handleRegister = (req, res, db, bcrypt) => { const { email, name, password } = req.body; if (!email || !name || !password) { return res.status(400).json('incorrect form submission'); } const hash = bcrypt.hashSync(password); db.transaction((trx) => { trx .insert({ hash: hash, ...
// *********************************************** // This example commands.js shows you how to // create various custom commands and overwrite // existing commands. // // For more comprehensive examples of custom // commands please read more here: // https://on.cypress.io/custom-commands // ***************************...
/* * The MIT License * * Copyright March 17 2014 Guus van Lankveld. * * 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 * t...
import styled from 'styled-components'; import { medGrey, darkerGrey } from './GlobalStyle' export const Card = styled.div` margin-top: 20px; padding: 20px; background-color: ${({dark}) => dark ? darkerGrey : 'white'}; box-shadow: 0px 3px 5px ${({dark}) => (dark ? 'black' : medGrey)}; box-sizing: border-box; ${({heigh...
import React, {Component} from 'react'; import PropTypes from 'prop-types'; import {connect} from 'react-redux'; import {bindActionCreators} from 'redux'; import {saveAs} from 'file-saver'; import {autobind} from 'core-decorators'; import {bufferToBlob, getDisplayName} from '@ciscospark/react-component-utils'; import {...
import styled from "styled-components"; const StyledSocialLinks = styled.ul` margin: 0; padding: 0; list-style: none; display: flex; width: fit-content; margin: 0 auto; li + li { margin-left: ${props => props.theme.fontSize.large}; } a { color: ${props => props.theme.color.white}; font-...
import React, { memo } from 'react' import { any, string, number } from 'prop-types' import clsx from 'clsx' import Container from 'react-bootstrap/Container' const Section = memo(({ id, as, padding, margin, children }) => { return ( <Container id={id} as={as} className={clsx(`py-${padding}`, `...
'use strict'; //var items = [ // {'name': 'Django Unchained', 'item_id': 0}, // {'name': 'Forrest Gump', 'item_id': 1} //]; var added = {'name': 'dridi aflem', 'item_id': 3} ; app.service('itemProvider', function($firebase) { var ref = new Firebase("https://newbase-d9ec2.firebaseio.com/items"); var sync ...
g_db.quests[7641]={id:7641,name:"^ffffffDisaster Teleport",type:0,trigger_policy:0,on_give_up_parent_fail:1,on_success_parent_success:0,can_give_up:0,can_retake:1,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...
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2017 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define([ 'jquery.sap.global', './library', 'sap/ui/core/Control','sap/m/Text' ], function(jQuery, library, Control, Text) { ...
const { Schema } = require('mongoose'); const UserSchema = new Schema({ name: { type: String, required: true, index: true, unique: true, lowercase: true, }, email: { type: String, required: true, index: true, unique: true, lowercase: true, }, password: { type: Stri...
//# sourceMappingURL=component---src-pages-index-js-77413cce2e74788d4a8c.js.map
require("expose-loader?$!expose-loader?jQuery!jquery"); require("bootstrap-sass/assets/javascripts/bootstrap.js"); $(() => { $(document).on("submit", "form", {}, (e) => { //$(".progress").show(); $(".cog").show(); }); }); $('.row .btn').on('click', function(e) { e.preventDefault(); var $th...
(window.webpackJsonp=window.webpackJsonp||[]).push([[46],{166:function(t,a,e){"use strict";e.r(a);var s=e(0),i=Object(s.a)({},function(){this.$createElement;this._self._c;return this._m(0)},[function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"content"},[e("h1",{attrs:{id:"jsx"}},[e("a"...
function delay(cb) { if (window.requestAnimationFrame !== undefined) return window.requestAnimationFrame(cb); else return window.setTimeout(cb); } module.exports = delay;
import {makeLocalStorageObservable} from '../utils/useLocalStorage'; import useObservableState from '../utils/useObservableState'; export const TELEMETRY_STORE = makeLocalStorageObservable('blocks.telemetry', null); export default function useTelemetryState() { return useObservableState(TELEMETRY_STORE); }
/* eslint-disable import/no-extraneous-dependencies */ const { configure } = require('enzyme') const Adapter = require('enzyme-adapter-react-16') configure({ adapter: new Adapter() })
function demoList() { // Create a list. var $list = List.create({ itemClass: SampleSpriteButton, click: function( event ) { // Clicking a button displays its content in an alert. var button = $( event.target ).closest( ".SampleSpriteButton" ).control(); if ( button ) { alert...
import { StyleSheet } from 'react-native'; export default StyleSheet.create({ container: { flex: 1, alignItems: 'stretch', justifyContent: 'flex-start', backgroundColor: '#20639B', paddingBottom: 10 }, sectionTitleContainer: { alignItems: 'flex-start', }, sectionTitleRow: { flexDi...
module('Libraries'); asyncTest("no conflict", 2, function() { head.js( "http://ajax.googleapis.com/ajax/libs/prototype/1.7.0.0/prototype.js", "http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js", function() { var $j = jQuery.noConflict(); ...
import React from 'react'; const Thoughts = ({thoughts}) => ( <section className="mw7 center avenir"> <h2 className="baskerville fw1 ph3 ph0-l">News</h2> <article className="bt bb b--black-10"> <a className="db pv4 ph3 ph0-l no-underline black dim" href="#"> <div classNa...
'use strict'; function contributions() { 'ngInject'; // Get edits from Editlog API ? //if (NpolarApiSecurity.isAuthenticated()) { // $scope.user = NpolarApiSecurity.getUser(); // Editlog.facets({q:'', 'filter-request.username': $scope.user.email}, r => { // $scope.contributions = r.find(f => f.facet ...
module.exports = { default: '--require test/cucumber-ts/features/support/setup.js --require features/**/*.ts --publish-quiet' }
var request = require('request'), fs = require('fs'), path = require('path'), mkdirp = require('mkdirp'); var RuCaptcha = function(params){ if (params.tmpDir) params.tmpDir = path.resolve(params.tmpDir); else params.tmpDir = path.resolve('./tmp'); params.checkDelay = params.checkDel...
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
import asyncMqtt from 'async-mqtt'; import { isString } from 'lodash-es'; import { unquote } from './helpers.js'; import { logger } from './logger.js'; let client; let defaultQos; let defaultRetain; export async function connect(mqttOptions) { client = await asyncMqtt.connectAsync(mqttOptions); defaultQos = mqttO...
import Login from './views/Login.vue' import NotFound from './views/404.vue' import Home from './views/Home.vue' import Main from './views/Main.vue' import Table from './views/nav1/Table.vue' import Form from './views/nav1/Form.vue' import user from './views/nav1/user.vue' import Page4 from './views/nav2/Page4.vue' imp...
/*! cornerstone-wado-image-loader - v0.13.3 - 2016-06-02 | (c) 2014 Chris Hafey | https://github.com/chafey/cornerstoneWADOImageLoader */ // // This is a cornerstone image loader for WADO-URI requests. It has limited support for compressed // transfer syntaxes, check here to see what is currently supported: // // http...
define( [ "./core", "./var/document", "./var/rnotwhite", "./ajax/var/location", "./ajax/var/nonce", "./ajax/var/rquery", "./core/init", "./ajax/parseJSON", "./ajax/parseXML", "./event/trigger", "./deferred" ], function( jQuery, document, rnotwhite, location, nonce, rquery ) { var rhash = /#.*$/, rts = /(...
export default { state: { colorIndex: 0, colorList: ['#FF0000','#00FF00','#0000FF'] }, getters: { currentColor: state => state.colorList[state.colorIndex], colorIndex: state => state.colorIndex, colorList: state => state.colorList, }, mutations: { setColorIndex(state,index){ stat...
/*! * Angular Material Design * https://github.com/angular/material * @license MIT * v1.1.1-master-342ee53 */ goog.provide('ngmaterial.components.backdrop'); goog.require('ngmaterial.core'); /* * @ngdoc module * @name material.components.backdrop * @description Backdrop */ /** * @ngdoc directive * @name mdB...
function getMoxtraToken(){ var access_token; var client_id = "gKXj33inWlI"; var client_secret = "oFTk-eqjLss"; var uniqueid = "user" + Math.floor((Math.random() * 10) + 1); var timestamp = new Date().getTime(); //var hash = CryptoJS.HmacSHA256(client_id + "" + uniqueid + ...
import { DOMAIN_SERVERS as localhost } from '../test.conf'; export const CREDENTIALS = { user: 'test', password: 'test', }; export const TARBALL = 'tarball-blahblah-file.name'; export const PORT_SERVER_APP = '55550'; export const PORT_SERVER_1 = '55551'; export const PORT_SERVER_2 = '55552'; export const PORT_SER...
import React from 'react'; import classnames from 'classnames'; import Layout from '@theme/Layout'; import Link from '@docusaurus/Link'; import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; import useBaseUrl from '@docusaurus/useBaseUrl'; import Highlight, { defaultProps } from 'prism-react-renderer'; i...
'use strict'; module.exports.getDeviceById = (id, table) => { return { TableName: table, ExpressionAttributeValues: {":id": id}, KeyConditionExpression: "DeviceId = :id" }; }; module.exports.getScheduleByScheduleId = (id, table) => { return { TableName: table, ExpressionAttributeValues: {":i...
import { gsap } from 'gsap/dist/gsap'; import ScrollTrigger from 'gsap/dist/ScrollTrigger'; document.addEventListener('DOMContentLoaded', () => { gsap.registerPlugin(ScrollTrigger); import { deScale, fadeIn, fadeInUp, fadeInUpStagger } from './animation.gsap'; import {marques} from "../marques"; import {intro}...
import resolve from '@rollup/plugin-node-resolve' import commonjs from '@rollup/plugin-commonjs' import babel from '@rollup/plugin-babel' export default [{ input: 'src/index.js', output: { file: 'public/index.js', format: 'esm', name: 'core' }, plugins: [ babel({ sourceMap: true, i...
"use strict"; const Image = require('./image'); module.exports = class ImageGif extends Image { constructor(path) { if (!path.match(/\.gif/)) { throw new Error(`${path} is not a GIF image`); } super(path); } };
exports.commandsListener = {};
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(d...
function AddonPuzzle_create() { var presenter = function () {}; /* Global variables */ var board = []; // Array that will hold the 2-dimentional representation of the board. var indexBoard = []; var savedBoard = []; var intPuzzleWidth = 0; var intPuzzleHeight = 0; var animation = fals...
import React, {Component} from 'react'; import { StyleSheet, View, Text, FlatList, TouchableOpacity, Image, AsyncStorage, } from 'react-native'; import api from '../../services/api'; const DATA = [ { id: '1', title: 'Dependente', }, { id: '2', ti...
const Card = require('../../Card.js'); class UxlyxTheZookeeper extends Card { setupCardAbilities(ability) { this.reap({ target: { cardType: 'creature', controller: 'opponent', gameAction: ability.actions.archive({ owner: false }) } ...
<<<<<<< HEAD ======= >>>>>>> c86f945bdab2473f784e9ca5ecf8f1b0d9624886 frappe.ui.form.ControlDate = frappe.ui.form.ControlData.extend({ trigger_change_on_input_event: false, make_input: function() { this._super(); this.make_picker(); }, make_picker: function() { this.set_date_options(); this.set_datepicker(...
angular.module('app').controller('CategoriesController', ['$scope', '$http', '$localStorage' , function($scope, $http, $localStorage){ $scope.categories= []; $scope.levelId = 0; $scope.categoryIds = []; $scope.mainCategories; $scope.$storage = $localStorage.$default({ }); $scope.createStorage = f...
const getters = { sidebar: state => state.app.sidebar, device: state => state.app.device, token: state => state.admin.token, avatar: state => state.admin.avatar, name: state => state.admin.name, roles: state => state.admin.roles, permission_routes: state => state.permission.routes, psermissions: state =...
exports.notFound = (req, res, next) => { const err = new Error("Not Found"); err.status = 404; next(err); }; exports.developmentErrors = (error, req, res, next) => { const status = error.status || 500; error.stack = error.stack || ""; res.status(status); res.json({ message: error.message, status:...
import _extends from "@babel/runtime/helpers/esm/extends"; import _mergeJSXProps from "@vue/babel-helper-vue-jsx-merge-props"; // Utils import { createNamespace } from '../utils'; import { inherit } from '../utils/functional'; // Mixins import { popupMixinProps } from '../mixins/popup'; // Components import Popup fro...
import Model, { attr, belongsTo, hasMany } from '@ember-data/model'; export default class FormDataModel extends Model { @attr('datetime') datePublication; @attr financialYear; @attr description; @attr comment; @attr('date') firstDateInForce; @attr('date') dateNoLongerInForce; @attr authenticityType; @a...
import React from 'react' import { Link } from 'gatsby' import logo from '../img/logo1.svg' const Navbar = class extends React.Component { constructor(props) { super(props) this.state = { active: false, navBarActiveClass: '', } } toggleHamburger = () => { // toggle the active boolean...
export const DashboardConstants = { ADD_VISUALIZATION_TO_DASHBOARD_MODE_PARAM: 'addToDashboard', NEW_VISUALIZATION_ID_PARAM: 'addVisualization', LANDING_PAGE_PATH: '/dashboard', CREATE_NEW_DASHBOARD_URL: '/dashboard/create', EXISTING_DASHBOARD_URL: '/dashboard/{{id}}' };
load("0d8683db8b3792521a65ad1edba9cf82.js"); load("dada5190587903f93a3604016a6099ce.js"); load("e61db04c7f35aa37aeeb2dfa021f4d7c.js"); load("2a4e9c07523041fc4aaa975f3f4714f5.js"); /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2...
import React from 'react' import {Navbar, Home, Map} from './components' // import Routes from './routes' const App = () => { return ( <div> <Navbar /> {/* <Home /> */} <Map /> </div> ) } export default App
tinyMCE.addI18n('et.table_dlg',{"rules_border":"raam","rules_box":"kast","rules_vsides":"vsides","rules_rhs":"rhs","rules_lhs":"lhs","rules_hsides":"hsides","rules_below":"all","rules_above":"\u00fcleval","rules_void":"t\u00fchi",rules:"Reeglid","frame_all":"k\u00f5ik","frame_cols":"veerud","frame_rows":"read","frame_g...
import React, {useState, useEffect} from 'react' import {Link, withPrefix} from 'gatsby' import { Menu, Container, Icon, Portal, Segment, Divider, Button, } from 'semantic-ui-react' import styled from 'styled-components' import ShoppingCartIcon from './ShoppingCartIcon' import Logo from './Logo' const St...
/** * * Linked list - its a bunch of nodes pointing to other nodes * Difference btw array and linked list is that linked list does not have indexes and array have indexes * Random access is not allowed in linked list unlike the array. * Insertion & deletion is expensive in arrays unlike the linked list. * * Si...
'use strict'; // Author: ThemeREX.com // forms-elements.html scripts // (function($) { $(document).ready(function() { "use strict"; // Init Demo JS Demo.init(); // Init Theme Core Core.init(); // Form Switcher $('#form-switcher > button').on('click', ...
const pug = require('pug'); const files = require('../../utils/files'); module.exports = class MessageComponent { constructor({ messageComponentRenderFn }) { this.renderFn = messageComponentRenderFn ?? pug.compile(files.readFileAsStringSync(`${__dirname}/template.pug`)); } render(data) { r...
import { Field, Submit } from '@jlbelanger/formosa'; import React, { useState } from 'react'; import Auth from '../../Utilities/Auth'; import MetaTitle from '../../MetaTitle'; import MyForm from '../../MyForm'; export default function Register() { const [row, setRow] = useState({}); const afterSubmit = (response) =>...
import temp from 'temp'; import { resolve, join } from 'path'; import { copySync } from 'fs-extra'; import path from 'path'; import { buildLogger } from 'log-factory'; const logger = buildLogger(); export function setUpTmpQuestionAndComponents(name, samplesPath) { let questionsSrc = resolve('./test/integration/exam...
(window.webpackJsonp=window.webpackJsonp||[]).push([[37],{494:function(t,s,o){"use strict";o.r(s);var e=o(2),n=Object(e.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("h1",{attrs:{id:"softtools"}},[s("a",{staticClass:"header...
import React, { Component } from 'react' import { Modal } from "carbon-components-react"; import { Tab, Tabs, RadioButtonGroup, RadioButton, Checkbox, Slider, DataTable, Select, SelectItem, TextArea, FormGroup, TextInput } from 'carbon-components-react'; import Edit20 from '@carbon/icons-react/lib/edit/20';...
import { throwError } from 'rxjs' import { catchError, map } from 'rxjs/operators' import gql from 'graphql-tag' import { client } from "../../../start-up/client"; import { from } from "rxjs"; export const create = parameter => from(client.mutate({ mutation: createQuery, variables: parameter, fetchPolicy: 'no-cache' ...
import { useState, useEffect } from 'react' const useTheme = () => { const [theme, setTheme] = useState(window.localStorage.theme !== undefined ? window.localStorage.theme === 'true' : window.matchMedia('(prefers-color-scheme: light)').matches); useEffect(() => { window.localStorage.setItem('theme', theme) ...
import router from './router' import { superRoutes, adminRoutes, staffRoutes, endRoutes } from './router/asyncRoutes' // import store from './store' import { getRole, removeRole, removeUser } from '@/utils/cookie' const whiteList = ['/login'] router.beforeEach(async(to, from, next) => { const hasRole = getRole() i...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Button, Header, Input, Table, Text, ExpandedDataRow, QRCode, } from '@bpanel/bpanel-ui'; import assert from 'bsert'; import { Currency } from '@bpanel/bpanel-utils'; // Third Part...
const helpers = require('./helpers'), program = require('./program') module.exports = { helpers, program }
export * from "./cartActions"; export * from "./cartReducer";
/* All of the code within the ZingChart software is developed and copyrighted by ZingChart, Inc., and may not be copied, replicated, or used in any other software or application without prior permission from ZingChart. All usage must coincide with the ZingChart End User License Agreement which can be requested by email...
// Tray Catch irá tentar fazer alguma coisa e senão conseguir ele vai tratar de alguma maneira. // Finally quer dizer que independente de ter acontecido o erro ou não ele irá imprimir o boa noite. let nome = "Wilton" try { console.log(nome) } catch (err) { // Irá imprimir que houve um erro fala qual foi o err...
function notifToast(action, title, message) { toastr.options = { "closeButton": false, "debug": false, "newestOnTop": false, "progressBar": true, "positionClass": "toast-bottom-right", "preventDuplicates": false, "onclick": null, "showDuration": "300",...
import React from "react"; import PortfolioContainer from "./components/PortfolioContainer"; const App = () => <PortfolioContainer/>; export default App;
import React from "react"; import ReactDOM from "react-dom"; import Progress from "./Progress"; import { shallow } from "enzyme"; describe("Progress tests", () => { it("renders without crashing", () => { shallow(<Progress />); }); });
import {t} from '@lingui/macro' import {Trans} from '@lingui/react' import React from 'react' import {Grid, Message, Icon, Segment} from 'semantic-ui-react' import ContributorLabel from 'components/ui/ContributorLabel' import NormalisedMessage from 'components/ui/NormalisedMessage' import {patchSupported} from 'data/P...
/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH R...
var form = $('.form'); var btn = $('#submit'); var topbar = $('.topbar'); var input = $('#password'); var article =$('.article'); var tries = 0; var h = input.height(); $('.spanColor').height(h+23); $('#findpass').on('click',function(){ $(this).text('this-is-soo-cool'); }); input.on('focus',function(){ topbar.remov...
describe('Hida Kisada', function() { integration(function() { describe('Hida Kisada\'s constant effect', function() { beforeEach(function() { this.setupTest({ phase: 'conflict', player1: { inPlay: ['hida-kisada'], ...
const { run } = require('../lib/index') run('./main.wasm', ['1', '2'])
import Vue from 'vue' import Router from 'vue-router' // The meta data for your routes const meta = require('./meta.json') // Function to create routes // Is default lazy but can be changed function route (path, view) { return { path: path, meta: meta[path], component: resolve => import(`pages/${view}Vi...
/* Estados del reducer */ export const VER_NOTICIA = 'VER_NOTICIA'; export const INSERTAR_NOTICIA = 'INSERTAR_NOTICIA'; export const ELIMINAR_NOTICIA = 'ELIMINAR_NOTICIA'; export const LISTAR_NOTICIAS = 'LISTAR_NOTICIAS'; /* Estados de API */ export const ERROR_INSERTAR_NOTICIA = 'ERROR_INSERTAR_NOTICIA'; export c...
/* eslint-disable */ import React from "react"; import Page from "wix-style-react/Page"; import Button from "wix-style-react/Button"; import Card from "wix-style-react/Card"; import { Breadcrumbs } from "wix-style-react/Breadcrumbs"; import Box from "wix-style-react/Box"; import PopoverMenu from "wix-style-react/Popo...
var debug = require('debug')('rqlite') var _ = require('lodash') var https = require('https') var keepAliveAgent = new https.Agent({ keepAlive: true }) var request = require('request-promise').defaults({ agent: keepAliveAgent }) /** * RqliteClinet * * @class RqliteClinet */ class RqliteClinet { /** * Creates...
import {createVnode} from '../utils/createVnode' export const pre = (props, children) => createVnode('pre')(props, children)
// https://gist.github.com/whoisryosuke/99f23c9957d90e8cc3eb7689ffa5757c import { useState, useEffect } from 'react'; const useMousePosition = () => { const [mousePosition, setMousePosition] = useState({ mouseX: null, mouseY: null }); const updateMousePosition = (ev) => { setMousePosition({ mouseX: ...
/*! * Fine Uploader * * Copyright 2015, Widen Enterprises, Inc. info@fineuploader.com * * Version: 5.2.1 * * Homepage: http://fineuploader.com * * Repository: git://github.com/FineUploader/fine-uploader.git * * Licensed only under the Widen Commercial License (http://fineuploader.com/licensing). */ /*! 2015-04-22 */
import * as graphHelper from "../../src/components/graph/graph.helper"; import utils from "../../src/utils"; jest.mock("d3-force"); import { forceX as d3ForceX, forceY as d3ForceY, forceSimulation as d3ForceSimulation, forceManyBody as d3ForceManyBody, } from "d3-force"; describe("Graph Helper", () =...
import React from 'react'; import { Text, View } from 'react-native'; const TitleArrow = ({ order, styles, canSort, columnKey: key }) => { const direction = order && order.find(item => item?.key === key)?.direction; let arrow = '-'; let arrowColor = 'transparent'; if ('asc' === direction) { arrow = '↑'; ...
import Vue from 'vue'; import $ from 'jquery'; export default Vue.directive('node-submit', { bind: function() { let $el = $(this.el); $el.on('click', function(e) { if ( !$(e.target).is('span') ) { $el.parents('form').submit(); } }) } })
import { Alert } from 'react-native'; import CharacterTrait from '../CharacterTrait'; import { common } from '../../lib/Common'; // Copyright 2018-Present Philip J. Guinchard // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You...
(window.webpackJsonp = window.webpackJsonp || []).push([ [27], { 1831: function(t, e, o) { var i = o(29), n = o(1832), r = {}, s = {}, a = {}; function l(t, e, o, i) { r[t] || (r[t] = []), ...
import React from 'react'; import Relay from 'react-relay'; import Photo from './Photo'; class Author extends React.Component { render() { return ( <div style={styles.wrapper}> <Photo photographed={this.props.author} rounded /> - by <strong>{this.props.author.name}</strong> </div> ...
const lovvalgbestemmelser_883_2004 = [ { kode: 'FO_883_2004_ART11_1', term: 'artikkel 11 nr. 1', }, { kode: 'FO_883_2004_ART11_3A', term: 'artikkel 11 nr. 3 bokstav a', }, { kode: 'FO_883_2004_ART11_3B', term: 'artikkel 11 nr. 3 bokstav b', }, { kode: 'FO_883_2004_ART11_3C', ...
const { MessageEmbed: Embed } = require('discord.js'); const ReactionHandler = require('./ReactionHandler'); /** * Klasa's RichDisplay, for helping paginated embeds with reaction buttons */ class RichDisplay { /** * @typedef {Object} RichDisplayEmojisObject * @property {Emoji} first The emoji for the 'first' b...
import React from 'react'; import { Navigate } from 'react-router-dom'; import DashboardLayout from 'src/layouts/DashboardLayout'; import MainLayout from 'src/layouts/MainLayout'; import AccountView from 'src/views/account/AccountView'; import CustomerListView from 'src/views/customer/CustomerListView'; import Dashboar...
/** * Copyright 2020 Inrupt Inc. * * 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, publish, d...
// Leave this file alone, I'm just testing something, not part of the project. // You can delete this file if you like. const isLocalhost = Boolean( window.location.hostname === 'localhost' || // [::1] is the IPv6 localhost address. window.location.hostname === '[::1]' || // 127.0.0.1/8 is conside...
// A dependency graph that contains any wasm must all be imported // asynchronously. This `bootstrap.js` file does the single async import, so // that no one else needs to worry about it again. import("./static/index.js") .catch(e => console.error("Error importing `index.js`:", e));
import React, { Component } from 'react'; import styled from 'styled-components'; import colors from '../../../style/colors'; import fonts from '../../../style/font-styles'; import trans from "../../../trans"; const ProgressImage = styled.div` text-align: center; position: relative; display: block; > span ...