text stringlengths 2 1.05M |
|---|
import styled from 'styled-components'
import {breakpoints, columns} from '../../constants'
import {above} from '../../utils/responsive'
const mapPropsBreakpoints = fn => props =>
Object.keys(props)
.filter(prop => Object.keys(breakpoints).includes(prop))
.map(label => above[label]`${fn(props[label])}`)
export c... |
/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/el",[],(function(){return{errorLoading:function(){return"Τα αποτελέσματα δεν μπόρεσαν να φορτώσουν."},inputTooLo... |
(function($){
$.fn.shareIt = function( options ) {
// This is the easiest way to have default options.
var HTMLtoHide = false;
var rand = Math.floor((Math.random() * 1000) + 1);
var settings = $.extend({
// These are the defaults.
title: futurewave.tit... |
import React from 'react';
import LoginLink from '../components/LoginLink'
const Login = () => {
return(
<div className="text-center">
<h1>YOU MUST LOGIN OR SIGNUP</h1>
<LoginLink />
</div>
)
};
export default Login; |
import dropdownLayoutDriver from '../ButtonWithOptions/ButtonWithOptions.driver';
import headerDriverFactory from '../Card/Header/Header.driver';
import {findByHook} from '../../test/utils';
const statsWidgetDriverFactory = ({element}) => {
const getStatistic = index => findByHook(element, 'stats-widget-content-wrap... |
/*
* Kuzzle, a backend software, self-hostable and ready to use
* to power modern apps
*
* Copyright 2015-2020 Kuzzle
* mailto: support AT kuzzle.io
* website: http://kuzzle.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{513:function(t,e,s){"use strict";s.r(e);var a=s(45),n=Object(a.a)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[s("h1",{attrs:{id:"configuring-the-repl"}},[s("a",{staticCla... |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/// Ecma International makes this code available under the terms and conditions set
/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
/// "Use Terms"). Any redistribution of this code must retain the above
/// copyrigh... |
steal('steal-qunit',
'jquerypp/model',
'jquerypp/controller',
'jquerypp/view/ejs',
'can/util/fixture')
.then(function(){
module('integration',{
setup : function(){
$("#qunit-fixture").html("")
}
});
test("controller can listen to model instances and model classes", function(){
$("#qunit-fixture").html(... |
const assert = require('power-assert');
require('../src/style/default.js');
require('../src/js/utils.js');
require('../src/js/legend.js');
require('../src/js/downloader.js');
require('../src/js/bar.js');
require('../src/js/bundle.js');
require('../src/js/checker.js');
require('../src/js/pmsignature.js');
require('../... |
(function(root, factory) {
if(typeof exports === 'object') {
module.exports = factory();
}
else if(typeof define === 'function' && define.amd) {
define(['jquery', 'googlemaps!'], factory);
}
else {
root.GMaps = factory();
}
}(this, function() {
/*!
* GMaps.js... |
// THIS FILE IS AUTO GENERATED
import { GenIcon } from '../lib';
export function FaUserAltSlash (props) {
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 640 512"},"child":[{"tag":"path","attr":{"d":"M633.8 458.1L389.6 269.3C433.8 244.7 464 198.1 464 144 464 64.5 399.5 0 320 0c-67.1 0-123 46.1-139 108.2L45.5 3.4C3... |
exports.check = async function (context) {
const resources = context.getResources()
let problems = []
const _ = require('lodash')
for (const key of Object.keys(resources)) {
for (const resource of resources[key]) {
if (resource.type === 'aws::s3::bucket') {
let isPu... |
var xtmrctr__intr__example_8c =
[
[ "main", "xtmrctr__intr__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe", null ],
[ "TimerCounterHandler", "xtmrctr__intr__example_8c.html#abbe44987ea37b6cd0166ecc6780cff4e", null ],
[ "TmrCtrDisableIntr", "xtmrctr__intr__example_8c.html#a9f4f6202dac0f93ef6d5daf44a19d2d... |
/*
* 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... |
import nextConnect from 'next-connect'
import Payments from '@/controllers/reports/payments'
import auth from '@/helpers/auth/server'
import db from '@/helpers/db'
const handler = nextConnect()
handler
.use(db.connect)
.use(auth)
.get(Payments.list)
export default handler
|
var searchData=
[
['eglimage_2eh',['EGLImage.h',['../EGLImage_8h.html',1,'']]],
['eglstream_2eh',['EGLStream.h',['../EGLStream_8h.html',1,'']]],
['eglsync_2eh',['EGLSync.h',['../EGLSync_8h.html',1,'']]],
['event_2eh',['Event.h',['../Event_8h.html',1,'']]],
['eventprovider_2eh',['EventProvider.h',['../EventPro... |
/*! For license information please see 2.2a6986f1.chunk.js.LICENSE.txt */
(this.webpackJsonpmern=this.webpackJsonpmern||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(29)},function(e,t,n){"use strict";n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return m})),n.d(t,"c",(function(){return S})),n.d(t,"d... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
const path = require('path');
const restify = require('restify');
// Import required bot services.
// See https://aka.ms/bot-services to learn more about the different parts of a bot.
const { BotFrameworkAdapter } = requir... |
const express = require('express');
const cors = require('cors');
const bodyParser = require('body-parser');
const helmet = require('helmet');
const app = express();
app.use(cors());
app.use(
helmet({
dnsPrefetchControl: false,
frameguard: false,
ieNoOpen: false,
}),
);
app.use(bodyParser.urlencoded... |
macDetailCallback("188219000000/24",[{"d":"2014-05-31","t":"add","a":"Yuhang District of Hangzhou Wenyi Road, Building 1, No. 969 Xixi Park, Zhejiang Province\nHangzhou Zhejiang 310000\n\n","c":"CHINA","o":"Alibaba Cloud Computing Ltd."},{"d":"2015-08-27","t":"change","a":"Yuhang District of Hangzhou Wenyi Road, Buildi... |
/*
Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'horizontalrule', 'th', {
toolbar: 'แทรกเส้นคั่นบรรทัด'
} );
|
import Service from '@ember/service';
import { computed } from '@ember/object';
import { inject as service } from '@ember/service';
import { A } from '@ember/array';
import config from '../config/environment';
const DEBUG = config.dev;
const VERBOSE = false;
export default Service.extend({
apiHost: config.apiHost... |
import { mount } from '@vue/test-utils';
import TypeBody from '.';
describe('TypeBody', () => {
test('renders correctly', () => {
const wrapper = mount(TypeBody, {
slots: {
default: 'Hello world!',
},
});
expect(wrapper.element).toMatchSnapshot();
});
});
|
let toggle = document.getElementById('toggle');
let sidebar = document.getElementById('sidebar');
document.onclick = function (h) {
if (h.target !== toggle && h.target !== sidebar) {
toggle.classList.remove('active');
sidebar.classList.remove('active');
}
}
toggle.onclick =... |
const jsRules = {
test: /\.js$/,
exclude: /node_modules/,
use: {
loader: "babel-loader",
options: {
presets: ["env"]
}
}
};
module.exports = jsRules;
|
module.exports = {
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
rules: {
'@typescript-eslint/array-type': 'warn',
'@typescript-eslint/no-unused-vars': 'warn'
}
};
|
// This file was automatically generated from common.soy.
// Please don't edit this file by hand.
if (typeof apps == 'undefined') { var apps = {}; }
apps.messages = function(opt_data, opt_ignored, opt_ijData) {
return '<div style="display: none"><span id="subtitle">een visuele programmeeromgeving</span><span id="b... |
define({
"name": "Receptional API",
"version": "3.4.1",
"description": "API component of receptional.xyz",
"title": "Receptional API",
"url": "https://receptional.xyz",
"header": {
"title": "My own header title",
"content": "<h1>Introduction</h1>\n<p>This is the API component of Jackson 5's <a href=... |
"use strict";
define(["d", "Tile", "TileEffect", "monsters", "Monster"], function(d, Tile, TileEffect, monsters, Monster) {
/**
* Новый уровень
* @param {object} options опции уровня
* @constructor
*/
function Level(options) {
if (!options) options = {};
/**
* тип уровня
* @type {string}
* во... |
// @flow
/* eslint-env mocha */
import assert from 'power-assert'
import locale from '.'
import format from '../../format'
import formatDistance from '../../formatDistance'
import formatDistanceStrict from '../../formatDistanceStrict'
import formatRelative from '../../formatRelative'
import parse from '../../parse'
... |
(function(proto) {
if ((proto.matches || proto.matchesSelector || proto.webkitMatchesSelector || proto.mozMatchesSelector || proto.msMatchesSelector || proto.oMatchesSelector) === false) {
proto.matches = function(selector) {
var nodeList = document.querySelectorAll(selector);
for (var i = 0; i < nod... |
import {
SubscriptionsCollection,
SubscriptionItemsCollection,
customerDiscountsCollection,
SubscriptionCustomersCollection,
} from 'meteor/moreplease:common';
export const createSubscriptionItem = ({
storeId,
subscriptionId,
subscriptionItems,
replace,
}) => {
let subscriptionData;
if (storeId && ... |
/* eslint-disable react-native/no-inline-styles */
import 'react-native-get-random-values';
import React, { useEffect, useState } from 'react';
import {
View,
StyleSheet,
SafeAreaView,
ToastAndroid,
Text,
TouchableOpacity,
Dimensions,
ScrollView,
Alert,
} from 'react-native';
import MaterialCommunityI... |
const got = require('@/utils/got');
const cheerio = require('cheerio');
module.exports = async (ctx) => {
const response = await got({
method: 'get',
url: 'http://sdcs.sysu.edu.cn/',
headers: {
Referer: `http://sdcs.sysu.edu.cn/`,
},
});
const $ = cheerio.load(re... |
import React from 'react';
import { makeStyles } from '@material-ui/core/styles';
import Accordion from '@material-ui/core/Accordion';
import AccordionDetails from '@material-ui/core/AccordionDetails';
import AccordionSummary from '@material-ui/core/AccordionSummary';
import Typography from '@material-ui/core/Typograph... |
import Mixin from 'ember-metal/mixin'
/**
* Pagination controller mixin
*
* @class PaginationControllerMixin
* @extends Ember.Mixin
* @public
*/
export default Mixin.create({
/**
* Query params used for a paged and sorted list
*
* @property {String[]} queryParams
* @public
*/
queryParams: [ 'p... |
(function() {
function chatterCookies($cookies, $uibModal) {
var currentUser = $cookies.get('chatterCurrentUser');
if (!currentUser || currentUser == '') {
var modalInstance = $uibModal.open({
animation: true,
backdrop: 'static',
size: 'sm'... |
import React, {Component} from 'react';
import {Card, CardBody, CardHeader, Col, Row,} from 'reactstrap';
import PropTypes from 'prop-types';
import {connect} from 'react-redux';
import Pagination from 'react-js-pagination';
import Select from 'react-select';
import FillMerchant from './FillMerchant';
import TableMerch... |
import React from 'react';
const Logout = ({ confirm, cancel }) => (
<div className="modal fade show" style={{ display: 'block' }} tabIndex="-1" role="dialog">
<div className="modal-dialog" role="document">
<div className="modal-content">
<div className="modal-header">
... |
'use strict';
var assert = require('assert'),
ItemListingsResponse = function(){};
var json = '{"sell-or-buy":"buy","count":1,"page":1,"last_page":1,"total":1,' + '' +
'"results":[{"listing_datetime":"2014-10-25 00:00:00 UTC","unit_price":0,"quantity":0,"listings":0}]}';
var batch = {
'ItemListResponse shoul... |
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class Fill {
constructor(url, method) {
this.metaData = {};
this.addParam = this.add;
this.metaData.method = method;
... |
'use strict';
let mongoose = require('mongoose');
let Schema = mongoose.Schema;
let schema = new Schema({
id: String,
season: String,
stem: String,
branch: String,
pinyin: String,
chinese: String,
description: String
},
{
collection: 'bazi_star_b... |
mycallback( {"CONTRIBUTOR OCCUPATION": "Retired", "CONTRIBUTION AMOUNT (F3L Bundled)": "25.00", "ELECTION CODE": "P2012", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "n/a", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "Post Office Box 1259", "CONTRIBUTOR MIDDLE NAME": "", "DONOR CANDIDATE FEC ID": "", "DONOR CANDI... |
const _ = require('lodash/fp')
const {
setFieldWith,
} = require('prairie')
const handleRequest = require('./handlers')
const { handleResponse } = require('./handlers/responses')
const { runSearch, sheetVals } = require('./handlers/sheets')
const {
totalDate,
} = require('./datasources/utils')
const {
cdcTests, p... |
import React, { useState, useEffect, Suspense, useMemo, useCallback, useRef, forwardRef, useLayoutEffect } from 'react'
import { Vector3, Color, Object3D } from 'three'
import { Canvas, useFrame, useLoader, useThree, extend } from '@react-three/fiber'
import { shaderMaterial } from '@react-three/drei'
const CoolOrbMat... |
require("source-map-support").install();
exports.ids = [3];
exports.modules = {
/***/ "./node_modules/css-loader/index.js?{\"importLoaders\":1,\"sourceMap\":true,\"modules\":true,\"localIdentName\":\"[name]-[local]-[hash:base64:5]\",\"minimize\":false,\"discardComments\":{\"removeAll\":true}}!./node_modules/postcss-lo... |
/// Copyright (c) 2009 Microsoft Corporation
///
/// 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 conditions and
/// ... |
"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 ... |
// data from http://country.io/names.json
/*
This web site only provides http connections which are very difficult to use now as web tooling
closes down on CORs risks. So, this file contains a static dump of the results from querying this site.
The country information is dynamically gathered at run time because it sup... |
var Crazyprotocol = module.exports = {};
Crazyprotocol.Ports =
{
CONSOLE : 0x00,
PARAM : 0x02,
COMMANDER : 0x03,
LOGGING : 0x05,
DEBUGDRIVER : 0x0E,
LINKCTRL : 0x0F,
ALL : 0xFF,
};
Crazyprotocol.Channels =
{
TOC: 0,
SETTINGS: 1,
LOGDATA: 2,
PARAM_TOC: 0,
PARAM_READ: 1,
PA... |
import { parse } from 'qs';
import { message } from 'antd';
import { fetchList } from '../../services/inventory/$2$';
export default {
namespace: '$2$Module',
state: {
loading: false, // 加载状态
listData: [], // 表格数据
inputValue: '', // 输入框数据
pagination: {
// 分页
showSizeChanger: true,
... |
(function () {
var current = location.pathname;
if (current === "") return;
if (current.includes('post')) {
var post = document.querySelectorAll('#post a');
post[0].classList.add('active');
} else if (current.includes('chat')) {
var chat = document.querySelectorAll('#chat a');
... |
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($) {
"use strict";
var subViews = $(".subviews"), show_functions = [], close_functions = [], hide_functions = [], subview_id = [], screenPosition, $this, subViewElement, subviewShowClass = ".show-sv", subviewHideClass = ".hide-sv", subviewBackClass = ".back-sv", subview_action = "", thisBody = document.bo... |
var express = require('express');
var router = express.Router();
var AmazonAPI = require('amz-products');
router.get('/az/:searchQuery', function(req, res, next) {
var amazon = new AmazonAPI({
accessKeyId : process.env.AMAZON_ACCESS,
secretAccessKey : process.env.AMAZON_SECRET,
associateId : pro... |
$('.flip')
.click(function(){
location.href="https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&es_th=1&ie=UTF-8#q=zerg%20rush&es_th=1"
})
.hover(function(){
// if(Math.round(Math.random())){
$(this).css("transform", 'translate('+Math.random()*200+'px,'+Math.random()*200+'px)')
//... |
define(function(require, exports, moudles) {
var $ = require('jquery');
var template = require('arttemplate');
var dialog = require('artDialog');
var fineUploader = require('fine-uploader');
window.dialog = dialog;
var $msg= require('/js/common/alerts.js');
var httpUtil = require('js/common/httpUtil.js');
va... |
/* Client search */
function findUser() {
const pattern = searchBar.value;
const searchResults = document.getElementById('searchResults');
const message = document.getElementById('message');
const xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.statu... |
/* eslint-disable no-undef */
import React, { Component } from 'react'
import PropTypes from 'prop-types'
export default class Explore extends Component {
static propTypes = {
value: PropTypes.string.isRequired,
onChange: PropTypes.func.isRequired,
githubRepo: PropTypes.string.isRequired
}
componen... |
import onElementVisibilityChange from '../onElementVisibilityChange';
import IntersectionObserver from '../helpers/IntersectionObserver';
jest.mock('../helpers/IntersectionObserver', () => {
const observe = jest.fn();
const disconnect = jest.fn();
let mockHandler = null;
class MockIntersectionObserver {
c... |
/*
Copyright (c) 2016 Joseph B. Hall [@groundh0g]
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,... |
import React, { useEffect, useState } from 'react';
import { View, Text, Image, FlatList, TouchableOpacity } from 'react-native';
import Styles from './style';
import Logo from '../../assets/logo.png';
import Api from '../../../services/Api'
/**
* Função que constrói a página principal onde contém as matérias
*
*... |
import { opacityErrorNotFound, logGeneralError } from './logging'
import { get, throwIf } from './utils'
const getAlphaValue = alpha =>
Number.isInteger(Number(alpha)) ? Number(alpha) / 100 : alpha
const getLastSlashIndex = className => {
const match = className.match(/\/(?![^[]*])/g)
if (!match) return -1
co... |
/**
* @fileoverview Rule to flag no-unneeded-ternary
* @author Gyandeep Singh
*/
'use strict'
const astUtils = require('../util/ast-utils')
// Operators that always result in a boolean value
const BOOLEAN_OPERATORS = new Set(['==', '===', '!=', '!==', '>', '>=', '<', '<=', 'in', 'instanceof'])
const OPERATOR_INVE... |
import React, { Component } from "react";
import { connect } from "react-redux";
import Helmet from "react-helmet";
import includes from "lodash/includes";
import filter from "lodash/filter";
import map from "lodash/map";
import property from "lodash/property";
import { Grid, Row, Col, Label, Glyphicon, Tabs, Tab } f... |
import * as RA from '../src/index';
import eq from './shared/eq';
describe('isNotNil', function() {
it('tests a value for complement of `null` or `undefined`', function() {
eq(RA.isNotNil(void 0), false);
eq(RA.isNotNil(null), false);
eq(RA.isNotNil([]), true);
eq(RA.isNotNil({}), true);
eq(RA.is... |
RCloud.UI.session_pane = {
error_dest_: null,
clear_session_: null,
allow_clear: true,
body: function() {
return RCloud.UI.panel_loader.load_snippet('session-info-snippet');
},
init: function() {
var that = this;
// detect where we will show errors
this.error_des... |
module.exports = {
env: {
browser: true,
commonjs: true,
es2021: true,
},
extends: "eslint:recommended",
parserOptions: {
ecmaVersion: 12,
},
rules: {
"no-var": "error",
"prefer-const": "error",
eqeqeq: ["error", "smart"],
"prefer-template": "error",
},
};
|
import { __decorate, __extends, __param } from "tslib";
//import EWCChip from '../dist/ext-chip.component.js';
//inputs: (new EWCChip()).properties,
//import EWCChip from '@sencha/ext-web-components-modern/dist/ext-chip.component.js';
import { EWCChip } from '@sencha/ext-web-components-modern';
import { Host, Optional,... |
import React, { useState } from 'react';
import { useRouter } from 'next/router';
import styled from 'styled-components';
import db from '../../db.json';
import Widget from '../components/Widget';
import Link from '../components/Link';
import QuizLogo from '../components/QuizLogo'
import QuizBackground from '../compone... |
/**
* File: LeftAndMain.EditForm.js
*/
(function($) {
// Can't bind this through jQuery
window.onbeforeunload = function(e) {
var form = $('.cms-edit-form');
form.trigger('beforesubmitform');
if(form.is('.changed')) return ss.i18n._t('LeftAndMain.CONFIRMUNSAVEDSHORT');
};
$.entwine('ss', function($){
... |
/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
* @license MIT */
; (function (root, factory) {
if (typeof define === 'function' && define.amd) {
define(factory);
} else if (typeof exports === 'object') {
module.exports = factory();
} else {
root.NP... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[124],{1196:function(e,t,r){"use strict";r.r(t),r.d(t,"icon",(function(){return l}));r(9),r(8),r(2);var n=r(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r... |
var resolve = require("path").resolve
var writeFileSync = require("graceful-fs").writeFileSync
var mkdirp = require("mkdirp")
var mr = require("npm-registry-mock")
var osenv = require("osenv")
var rimraf = require("rimraf")
var test = require("tap").test
var common = require("../common-tap.js")
var toNerfDart = requi... |
module.exports = {
siteMetadata: {
title: 'My Personal Website',
author: 'Raywon Kari',
twitter: 'https://twitter.com/raywonkari',
linkedin: 'https://linkedin.com/in/raywonkari',
github: 'https://github.com/raywonkari',
}
}
|
"use strict";
/*
Main.js - Ian Effendi
Entry point for this application.
*/
import * as Settings from './config.js';
import {
default as Replacer
} from './replacer.js';
import {
default as Entry
} from './entry.js';
/* MODULE SCOPE MEMBERS */
const el = {
textEntry: undefined,
textArea: undef... |
import postMessageSend from "./postMessageSend"
import attrib from "./helpers/attrib"
import listen from "./helpers/listen"
function postMessageIframe(postMessageCallback) {
listen("click", function (event) {
let element = event.target || event.srcElement || {}
let dlObj = {
"event": "g... |
// Copyright (C) 2017 André Bargull. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-identifiers-static-semantics-early-errors
description: >
`false` is a reserved word and cannot be used as an identifier reference.
info: |
Identifier : IdentifierName but... |
'use strict';
const gulp = require('gulp');
const build = require('@microsoft/sp-build-web');
build.addSuppression(`Warning - [sass] The local CSS class 'ms-Grid' is not camelCase and will not be type-safe.`);
require('./gulpfile.generatelocalkeys.js');
build.initialize(gulp);
|
const path = require('path');
const { merge } = require('webpack-merge');
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
const CopyPlugin = require('copy-webpack-plugin');
const common = require('./webpack.common.js');
module.exports = merge(common, {
mode: 'production',
devtool: false,
plugins:... |
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import './Block.css';
import Block from './Block';
class BlockExplorerDetailView extends Component {
render() {
return (
<div className="BlockExplorerDetailView">
{this.props.blocks.map(block => (
<Block bloc... |
System.register(["./p-226ad382.system.js","./p-7db317d0.system.js","./p-57436eba.system.js","./p-5ca8f7bd.system.js"],function(e){"use strict";var t,n,o,i,s;return{setters:[function(e){t=e.r;n=e.c;o=e.h},function(e){i=e.C},function(){},function(e){s=e.T}],execute:function(){var r=undefined&&undefined.__decorate||functi... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[40],{
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/UploadExcel/index.vue?vue&type=script&lang=js&":
/*!***********************************************************************************... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LineExtractor = void 0;
// Internal parser state
var State;
(function (State) {
// Initial state, looking for "/*"
State[State["BeginComment1"] = 0] = "BeginComment1";
// Looking for "*" or "* " after "/*"
State[State["... |
var TrimPath;
(function(){
var _1=eval;
if(TrimPath==null){
TrimPath=new Object();
}
if(TrimPath.evalEx==null){
TrimPath.evalEx=function(_2){
return _1(_2);
};
}
TrimPath.parseTemplate=function(_3,_4,_5){
if(_5==null){
_5=TrimPath.parseTemplate_etc;
}
var _6=parse(_3,_4,_5);
var _7=TrimPath.evalEx(_6,_4,1);
if(_7!=null... |
//////////////////////////////////////////////////////////////////////////
// Autor: Leandro Dornela Ribeiro
// Criado: 15/07/2017
//////////////////////////////////////////////////////////////////////////
/**
* @desc Classe para scripts.
*/
class Script
{
constructor()
{
this.Start();
}
St... |
export const MOCK_ITEMS = [
{ href: '#link-1', title: 'Link 1', label: 'Link 1' },
{
href: '#link-2', title: 'Link 2', label: 'Link 2', description: 'Lorem ipsum',
},
{ href: '#link-3', title: 'Link 3', label: 'Link 3' },
];
export const MOCK_ITEMS_ERROR = [
{
href: '#link-1', title: 'Link 1', label: 'Link 1'... |
const expect = require('chai').expect
const File = require('vinyl')
const transpiler = require('../../lib/transpilation/transpiler.js')
const transpilationTest = function (transpiler, originalString, expectedString, callback) {
let inputFile = new File({contents: new Buffer(originalString)})
transpiler.write(input... |
var connect = require('connect');
var path = require('path');
var serveStatic = require('serve-static');
var static_dir = path.normalize(
path.join(__dirname, '..')
);
var app = connect();
app.use(
serveStatic(static_dir)
);
app.listen(8000);
|
export function setCookie(cookieName, cookieValue, expireDays) {
let d = new Date();
d.setTime(d.getTime() + (expireDays * 24 * 60 * 60 * 1000));
let expires = "expires=" + d.toUTCString();
document.cookie = cookieName + "=" + cookieValue + ";" + expires + ";path=/";
}
export function getCookie(cookieN... |
/**
* Given a portal hash, construct the correct portal hostname
*/
export function getPortalHostname (portal) {
if (portal.isPortal) {
return portal.portalHostname;
} else {
return portal.urlKey ? `${portal.urlKey}.${portal.customBaseUrl}` : portal.portalHostname;
}
}
/**
* Given a portal hash, re... |
/*
Future Imperfect by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/
(function($) {
var $window = $(window),
$body = $('body'),
$menu = $('#menu'),
$sidebar = $('#sidebar'),
$main = $('#main');
// Breakpoints.
break... |
/*!
* Bootstrap-select v1.9.3 (http://silviomoreto.github.io/bootstrap-select)
*
* Copyright 2013-2015 bootstrap-select
* Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
*/
!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){retur... |
import React, { PureComponent } from "react";
import PlaygroundSection from "../PlaygroundSection";
import { Tabs, Tab, Dropdown } from "../../hig-react";
const wrapperStyles = {
width: "300px",
border: "1px solid rgba(0,0,0,0.2)",
padding: "0 12px 24px 24px"
};
class TabsSection extends PureComponent {
stat... |
//defined variables
var startButton = document.getElementById('start-btn')
var nextButton = document.getElementById('next-btn')
var questionContainerElement = document.getElementById('question-container')
var questionElement = document.getElementById('question')
var answerButtonsElement = document.getElementById('answe... |
'use strict';
/**
* Lightweight web framework for your serverless applications
* @author Jeremy Daly <jeremy@jeremydaly.com>
* @license MIT
*/
// Custom error types
class RouteError extends Error {
constructor(message, path) {
super(message);
this.name = this.constructor.name;
this.path = path;
}... |
/*
* Copyright (c) 2018, 2021, Oracle and/or its affiliates.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2.0, as
* published by the Free Software Foundation.
*
* This program is also distributed with certain software (in... |
Bridge.merge(new System.Globalization.CultureInfo("en-SZ", true), {
englishName: "English (Swaziland)",
nativeName: "English (Swaziland)",
numberFormat: Bridge.merge(new System.Globalization.NumberFormatInfo(), {
nanSymbol: "NaN",
negativeSign: "-",
positiveSign: "+",
negati... |
import { combineReducers } from 'redux'
import { routerReducer } from 'react-router-redux'
import store from '../store'
import loginReducer from '../../model/login'
// ================================
// 同步的 Reducers(即应用初始化所必需的)
// ================================
const syncReducers = {
router: routerReducer,
user... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.