text
stringlengths
3
1.05M
import { expect } from 'chai'; import { shallow } from 'enzyme'; import React from 'react'; import sinon from 'sinon'; import { MAX_UPLOAD_SIZE_MB } from '~/constants'; import { CreateOrEditApplication } from '~/profile/components'; import { changeInput, expectDispatchOrStoreErrors, expectRequest, } from '@/com...
// Global config var GRAPHIC_DEFAULT_WIDTH = 600; var MOBILE_THRESHOLD = 500; // Global vars var pymChild = null; var isMobile = false; var graphicData = null; var medicalData = []; var ageGroups = []; /* * Initialize the graphic. */ var onWindowLoaded = function() { if (Modernizr.svg) { loadLocalData(G...
import beanstalkc import os import subprocess from mock import patch, Mock, MagicMock from datetime import datetime, timedelta from .. import worker from ..contextutil import MaxWhileTries class TestWorker(object): def setup(self): self.ctx = Mock() self.ctx.verbose = True self.ctx.arch...
const puppeteer = require('puppeteer'); const cas = require('../../cas.js'); (async () => { const browser = await puppeteer.launch(cas.browserOptions()); const page = await cas.newPage(browser); await cas.goto(page, "https://localhost:8443/cas/login"); await cas.loginWith(page, "mustchangepswd", "passw...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
const store = new Vuex.store({ state:{ todos:[ {id:1,text:'',done:true}, {id:2,text:'',done:false} ] }, getters: { doneTodos:state => { return state.store.filter(todo => todo.done) } } })
module.exports = [ { type: 'input', name: 'name', message: 'Name:', validate(value) { if (!value.length) { return 'Layout components must have a name.' } return true } } ]
const app = require("../index"); const { capitaliseFirst } = require("../helpers"); const chai = require("chai"); const chaiHttp = require("chai-http"); const options = ["followers", "following", "likes", "tweets"]; // Configure chai chai.use(chaiHttp); chai.should(); describe("Twitter", () => { options.forEach(fu...
praisedApp.SettingCommand = function(_facade) { var settingFacade = _facade; var self = this; praisedApp.SettingCommand.prototype.getSettingData = function() { settingFacade.retrieveProxy().getSettingData(self.handleGetSettingData); }; praisedApp.SettingCommand.prototype.handleGetSettingData = functi...
# this file generated by tool/generate_ast.py from abc import ABC class Visitor(ABC): def visit_expression_stmt(self, expr): raise NotImplementedError() def visit_function_stmt(self, expr): raise NotImplementedError() def visit_if_stmt(self, expr): raise NotImplementedError() ...
import Mock from 'mockjs' import { doCustomTimes } from '@/libs/util' const Random = Mock.Random; export const getMessageInit = () => { let unreadList = []; doCustomTimes(3, () => { unreadList.push(Mock.mock({ title: Random.cword(10, 15), create_time: '@date', msg_id: Random.increment(100) ...
# Copyright (C) 2007 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
// @flow import React from 'react'; import Button from '@material-ui/core/Button'; export default function MultilineButton() { return ( <Button variant="raised" style={{ width: 400 }}> {[ 'Raised buttons are rectangular-shaped buttons.', 'They may be used inline.', 'They lift and d...
'use strict'; var _ = require('underscore'); /*global _: false*/ module.exports = function(AV) { /** * Routers map faux-URLs to actions, and fire events when routes are * matched. Creating a new one sets its `routes` hash, if not set statically. * @class * * <p>A fork of Backbone.Router, provided for...
"use strict"; var numIsNaN = require("../number/is-nan"); module.exports = function (val1, val2) { return val1 === val2 || (numIsNaN(val1) && numIsNaN(val2)); };
/** * map system functions */ define([ 'jquery', 'app/init', 'app/util', 'bootbox', 'app/map/util', 'app/map/layout' ], ($, Init, Util, bootbox, MapUtil, Layout) => { 'use strict'; let config = { newSystemOffset: { x: 130, y: 0 }, ma...
import { userConstants } from '../_constants'; import { userService } from '../_services'; import { alertActions } from './'; import { history } from '../_helpers'; export const userActions = { login, logout, register, update, getAll, delete: _delete }; function login(username, password, from)...
var BlankonOnePageRSWebProductLight = function () { return { // ========================================================================= // CONSTRUCTOR APP // ========================================================================= init: function () { BlankonO...
"""Test file for common helpers""" from copy import deepcopy import pytest from concrete.common import check_op_graph_is_integer_program, is_a_power_of_2 from concrete.common.data_types.floats import Float64 from concrete.common.data_types.integers import Integer from concrete.common.values import EncryptedScalar fr...
import {isFormData, isBlob, isObject, isArray} from '../utils.js' import queryString from 'query-string' export default function (ctx, next) { let body = ctx.request.body if (isFormData(body) || isBlob(body)) { return next() } else if (isObject(body) || isArray(body)) { if (/^(GET|HEAD)$/i.test(ctx.reque...
class WRTCPeerConnection { constructor(config=null){ if (config){ this.peerconnection = new RTCPeerConnection(config); }else{ this.peerconnection = new RTCPeerConnection(); } this.iceState=null; this.sessionState=null; } setRTCPeerConnection(p){ this.peerconnection=p; } getRTCPeerConnection...
/** * sync data to github gist related */ /** * central state store powered by subx - https://github.com/tylerlong/subx */ import _ from 'lodash' import copy from 'json-deep-copy' import { settingMap, packInfo } from '../common/constants' import { remove, dbNames, insert, update } from '../common/db' import fet...
# -*- coding: utf-8 -*- # # This file is part of Invenio. # Copyright (C) 2020 CERN. # # Invenio is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. """Community memebers module.""" from __future__ import absolute_import, print_function
from os import environ SESSION_KEY = environ.get('SESSION_KEY', 'lollipop') OVERRIDE_AUTH_HEADER = environ.get('OVERRIDE_AUTH_HEADER', 'lollipop')
/** * This file handles Web-App Builds * If you want to adapt the iOS and Android Entryfile open: index.js */ import { registerRootComponent } from 'expo'; import App from './src/KitchenHelper/App' // registerRootComponent calls AppRegistry.registerComponent('main', () => App); // It also ensures that whether you ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.folderFormatter = exports.summaryFormatter = exports.previewUrlFormatter = exports.slugFormatter = exports.prepareSlug = exports.commitMessageFormatter = void 0; var _trimStart2 = _interopRequireDefault(require("lodash/trimStart"))...
from setuptools import find_packages, setup setup( name='src', packages=find_packages(), version='0.1.0', description='Project for predicting premier league football scores', author='Jacob Hicks', license='MIT', )
var React = require('react'); var NavBar = module.exports = React.createClass({ logout: function() { window.location = '/auth/logout'; }, render: function() { return ( <div className="slds-page-header" role="banner"> <nav className="slds-p-bottom_none" role="navigation"> ...
export const appReducer = (state, action) => { switch (action.type) { case "LOG_IN": return { ...state, signedIn: true, userName: action.payload, }; case "LOG_OUT": return { ...state, signedIn: false, userName: null, coverPhoto: null }; case "CHANGE_COVER_PHOTO": ...
module.exports = { name: "unban", description: "Revokes a ban of a user in the guild.", examples: ["unban @This_User", "unban @ThatUser"], guildOnly: true, permissionLevel: 1, parameters: { user: { requirement: true, description: "The ID or a mention of the user." } }, execute(message, otherArguments)...
'use strict'; const amqp = require('amqp-connection-manager'); const threads = require('threads'); const logger = require('screwdriver-logger'); const helper = require('./lib/helper'); const config = require('./lib/config'); const retryQueueLib = require('./lib/retry-queue'); const { amqpURI, host, connect...
//ENV Configuration require("dotenv").config(); // Update with your config settings. //ENVIRONMENT=development module.exports = { development: { client: "postgresql", connection: { database: "HiveStack", user: "postgres", password: process.env.DB_Password }, migrations: { ta...
/*global defineSuite*/ defineSuite([ 'DataSources/RectangleGeometryUpdater', 'Core/Cartesian3', 'Core/Color', 'Core/ColorGeometryInstanceAttribute', 'Core/JulianDate', 'Core/Rectangle', 'Core/ShowGeometryInstanceAttribute', 'Core/TimeInterval', ...
# -*- coding: utf-8 -*- # @Author : jjxu # @time: 2019/1/17 10:52 from flask import request from flask_wtf import FlaskForm from app.libs.error_code import ParameterError class BaseForm(FlaskForm): def __init__(self): super(BaseForm, self).__init__(data=request.json) def validate_for_api(self): ...
import _mergeJSXProps from "babel-helper-vue-jsx-merge-props"; export default { name: 'ToggleRightIcon', functional: true, render: function render(h, ctx) { return h("svg", _mergeJSXProps([{ attrs: { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox:...
import React from 'react' import TwitterOutline from 'react-icons/lib/io/social-twitter-outline' import TwitterFull from 'react-icons/lib/io/social-twitter' import GithubOutline from 'react-icons/lib/io/social-github-outline' import GithubFull from 'react-icons/lib/io/social-github' import s from './Social.scss' const...
"use strict"; //# sourceMappingURL=ScopedTestStructure.js.map
'use strict' /* ------------------------------------------------------------------------------------------------ CHALLENGE 1 Write a function named howMuchPencil that takes in a string, as written on the side of a pencil. As you sharpen the pencil, the string will become shorter and shorter, starting by removing the...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const models_1 = require("../../../models"); const components_1 = require("../../components"); class PredicateTypeSerializer extends components_1.TypeSerializerComponent { supports(t) { return t instanceof models_1.PredicateType; ...
/* * Copyright 2020 Google LLC * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
export default class DimGrid { constructor(dCtx) { this.w = dCtx.w this.dCtx = dCtx } gridPadForColumnsInNumericAxis(gridWidth) { const w = this.w if (w.globals.noData) { return 0 } const type = w.config.chart.type let barWidth = 0 let seriesLen = type === 'bar' || ...
# -*- coding: utf-8 -*- """ Created on Thu Feb 6 11:19:30 2014 @author: jmmauricio-s """
// Configuration for your app // https://quasar.dev/quasar-cli/quasar-conf-js const path = require('path') const webpack = require('webpack') module.exports = function (ctx) { return { // app boot file (/src/boot) // --> boot files are part of "main.js" boot: [ 'register.js' ], css: [ ...
/* === compara 2 dados levando em conta seu tipo, ignorando qualquer desigualdade como tal (igualdade estrita) compara dois valores para a igualdade , não passando por nenhuma conversão, como por exemplo comparação entre null e undefined, ao utilizar == eles são a mesma coisa, mas não utilizando ===, ou seja, tipo dif...
import unittest from orderedattrdict import AttrDict from gramex.handlers.basehandler import check_membership def check(auth, **kwargs): return class TestMembership(unittest.TestCase): '''Test check_membership''' def check(self, condition, **kwargs): user = AttrDict(current_user=AttrDict(kwargs...
/* Created by Andrey Savelev on 09.02.2015. */ function TodoCtrl($scope) { // Переменная, которая будет принимать // ключ для чтения LocalStrage и выводить в списке var key = ''; // Маска для записи в localStrage var idMask = "key_"; // Определяем переменную,...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } }...
'use strict'; // Deploy to Firebase // Firebase requires Firebase Command Line Tools to be installed and configured. // For info on tool: https://www.firebase.com/docs/hosting/command-line-tool.html module.exports = function ($, config, gulp, environment) { var remoteDir = null, remoteSymbolicLink = null, ...
var myBundle = (function (exports) { 'use strict'; const foo = 1; const bar = 2; var namespace = /*#__PURE__*/Object.freeze({ __proto__: null, foo: foo, bar: bar }); console.log( Object.keys( namespace ) ); const a = 1; const b = 2; exports.a = a; exports.b = b; return exports; }({}));
from .linode import Linode from .kernel import Kernel from .disk import Disk from .stackscript import StackScript from .config import Config from .backup import Backup from .linode_type import Type
from enum import Enum class AutoName(str, Enum): def _generate_next_value_(name, start, count, last_values): return name
/*! * Modal for the Viewer Layer * For both annotations and code/info * * Copyright (c) 2016 Dave Olsen, http://dmolsen.com * Licensed under the MIT license * * @requires url-handler.js * @requires data-saver.js * */ var modalViewer = { // set up some defaults active: false, switchText: tr...
# AUTOGENERATED! DO NOT EDIT! File to edit: notebooks/05_nlp.ipynb (unless otherwise specified). __all__ = ['tokenizer', 'tokenize', 'tokenize_many', 'Vocabulary', 'domain', 'domains_from_google_search', 'Embeddings', 'back_translate', 'postprocess_embeddings', 'compress_embeddings', 'ParaphraseTransform', ...
# Marianne Lawless # Project Iris Data Set # This is a single csvfile representing the Sepal Width of the Iris data set import numpy as numpy ded comments mean = numpy.mean(mydata) # 3.05 min = numpy.min(mydata) # 2 max = numpy.max(mydata) # 4.4 sum = numpy.sum(mydata) # 454.7
'use strict'; var ConfigDpRunAPI$Wonderjs = require("../../../../../construct/external_layer/api/dependency/ConfigDpRunAPI.bs.js"); var set = ConfigDpRunAPI$Wonderjs.set; exports.set = set; /* No side effect */
# # All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or # its licensors. # # For complete copyright and license terms please see the LICENSE at the root of this # distribution (the "License"). All use of this software is governed by the License, # or, if provided, by the license below or th...
// @flow import * as React from 'react'; import { Link } from 'react-router-dom'; import Icon from 'src/components/icon'; import { Button, OutlineButton } from 'src/components/button'; import { Title, MiniTitle, Subtitle, MiniSubtitle, Actions, NullCol, LargeEmoji, HeadingIconWrapper, } from './style'; ...
import React from "react"; import ReactDOM from "react-dom"; import './index.scss'; import { BrowserRouter, Route, Switch } from "react-router-dom"; import Navbar from "./components/Navbar"; import Footer from "./components/Footer"; import MobileMenu from "./components/MobileMenu"; import Home from "./components...
# Merge # https://github.com/zacanger/profane-words # and # https://github.com/thisandagain/washyourmouthoutwithsoap/blob/develop/data/build.json # and # https://github.com/LDNOOBW/List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words english_flagged_words = [ "anal", "bareback", "bbw", "bdsm", "b...
let data = { "body": "<path d=\"M26.58 32h-18a1 1 0 1 0 0 2h18a1 1 0 0 0 0-2z\" class=\"clr-i-solid--alerted clr-i-solid-path-1--alerted\" fill=\"currentColor\"/><path d=\"M31.73 15.4h-6.17a18.87 18.87 0 0 1-1.62 2.52a2.33 2.33 0 0 1 .33 1.19a22 22 0 0 0 5 .45a11.88 11.88 0 0 1-.61 1.53h-.56a17.41 17.41 0 0 1-4.32-.56...
import {Validator,Scroll} from "./components/form"; const init = () => { Validator(); Scroll(); } init();
from django.contrib import admin from .models import Car, Make admin.site.site_header = 'Коли' admin.site.site_title = 'Админ част' admin.site.index_title = 'Добре дошли в админ частта' class CarInline(admin.TabularInline): model = Car extra = 3 class CarAdmin(admin.ModelAdmin): fieldse...
const webpack = require('webpack') const HtmlWebpackPlugin = require('html-webpack-plugin') const miniCssExtractPlugin = require('mini-css-extract-plugin') const { VueLoaderPlugin } = require('vue-loader') const ESLintPlugin = require('eslint-webpack-plugin') const path = require('path') const { dev, prod } = r...
class Solution: def maxAreaOfIsland(self, grid: List[List[int]]) -> int: LAND = 1 WATER = 0 maxArea = 0 numberOfRows = len(grid) if numberOfRows == 0: return maxArea numberOfColumns = len(grid[0]) def dfs(grid, row, column): if...
/** * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @license * Copyright Alibaba.com All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICEN...
import React from "react"; import { Container, Row, Col } from "react-bootstrap"; import Particle from "../Particle"; // import Github from "./Github"; import Techstack from "./Techstack"; import Aboutcard from "./AboutCard"; import laptopImg from "../../Assets/about.png"; import Toolstack from "./Toolstack"; function...
var setHandler = (function (context, $, jsu, undefined) { //elemento DOM al cual se le agregará el //handler del evento click var _button; //crea el elemento <script> para cargar //el archivo, lo inserta antes de main.js //y ejecuta el callback "onload" cuando //el script ha sido cargado y...
import copy from typing import List from .action_postprocessor import ActionPostprocessor from ..actions import Action, Purify class RemovePurifyPostprocessor(ActionPostprocessor): """ Postprocessor that removes "Purify" from a list of actions. """ def postprocess(self, actions: List[Action]) -> Lis...
var searchData= [ ['camera',['Camera',['../class_camera.html#a01f94c3543f56ede7af49dc778f19331',1,'Camera::Camera()'],['../class_camera.html#ae105913661d2f33f91bdfb5a6ab1db8b',1,'Camera::Camera(const std::string &amp;file)'],['../class_camera.html#a06c600e443fd9222c1fd4c13b9bdfd09',1,'Camera::Camera(const int &amp;de...
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{119:function(t,o,s){"use strict";var n=s(69);s.n(n).a},120:function(t,o,s){"use strict";var n,e=s(206),i=(s(51),{name:"EzToast",props:{autoClose:{type:[Boolean,Number],default:2,validator:function(t){return!1===t||"number"==typeof t}},closeButton:{type:Object,de...
"""Command line option parsing.""" import abc import os from argparse import ArgumentParser, Namespace from typing import Type from .error import ArgsParseError from .util import ByteSize CAT_PROVISION = "general" CAT_START = "start" class ArgumentGroup(abc.ABC): """A class representing a group of related com...
/** * @ngdoc directive * @name patternfly.filters.directive:pfFilterFields * @restrict E * * @description * Directive for the filter bar's filter entry components * <br><br> * * @param {object} config configuration settings for the filters:<br/> * <ul style='list-style-type: none'> * <li>.fields ...
import React from 'react'; import { Col, Card, Label, Input, Row } from 'reactstrap'; const ApplicationOption = ({ name, desc, img }) => { return ( <Col xs="6"> <Label check> <Input type="checkbox" />{' '} </Label> <Card> <Row> ...
import React from 'react'; import request from 'request' class FacebookButton extends React.Component { render() { return ( <a className="btn btn--primary" href="/#/events/new"><span className="btn__icon icon--facebook"></span>Connect with Facebook</a> ); } } export default FacebookButton;
import React from "react"; import ReactDOM from "react-dom"; import { shallow } from "enzyme"; import App from "./App"; it("renders without crashing", () => { const div = document.createElement("div"); ReactDOM.render(<App />, div); ReactDOM.unmountComponentAtNode(div); }); it("expect to render App component", ...
import os import requests from typing import Generator HOST = "https://www.bungie.net" ENDPOINT = "https://www.bungie.net/platform/Content/Site/News/all/en-us" FPB = "FrontPageBanner" AB = "ArticleBanner" class Api: def _write_image( self, news_id: int, is_fpb: bool, url: str) -> None: ...
import React from 'react'; import { EmailNotificationHistory } from 'app/hearings/components/details/EmailNotificationHistory'; import { TranscriptionFormSection } from 'app/hearings/components/details/TranscriptionFormSection'; import { detailsStore, hearingDetailsWrapper } from 'test/data/stores/hearingsStore'; impo...
import numpy as np import os import sys import time import copy import scipy import random import logging import pandas as pd import qinfer as qi import matplotlib.pyplot as plt from matplotlib.gridspec import GridSpec import seaborn as sns import redis import pickle try: from lfig import LatexF...
import DICTIONARY from '@/views/common/dictionary' // 审核列表 const QUALITYCONTROL = [ { type: 'text', title: 'SID/问卷ID', name: 'surverId' }, { type: 'text', title: '姓名', name: 'name' }, { t...
// flow-typed signature: 6c9b7801ec93dcbc58c3fd1fd6be707a // flow-typed version: <<STUB>>/style-loader_v^0.13.0/flow_v0.38.0 /** * This is an autogenerated libdef stub for: * * 'style-loader' * * Fill this stub out by replacing all the `any` types. * * Once filled out, we encourage you to share your work with...
var chug = require('gulp-chug'); var prompt = require('gulp-prompt'); var bump = require('gulp-bump'); var git = require('gulp-git'); var del = require('del'); var runSequence = require('run-sequence'); var spawn = require('child_process').spawn; var mkdirp = require('mkdirp'); var gulpUtils = require('./gulpfile-util...
import React, {Component, Fragment} from 'react'; import PropTypes from 'prop-types'; import {View} from 'react-native'; import {Textarea} from 'native-base'; import {scale, verticalScale} from 'react-native-size-matters'; import Heading from '../Heading/Heading'; import styles from '../../Styles'; // Copyright 2018-P...
var MainView = require('./views/MainView'); // Creates a new Marionette application var App = Marionette.Application(); // Set up basic paths App.root = 'assets/javascripts/'; // Adds any methods to be run after the app was initialized. App.addInitializer(function () { App.show(new MainView()); }); App.start()...
function noop() {} const identity = x => x; function assign(tar, src) { // @ts-ignore for (const k in src) tar[k] = src[k]; return tar; } function add_location(element, file, line, column, char) { element.__svelte_meta = { loc: { file, line, column, char } }; } function ru...
export const toggleDiv = () => { return { type: 'TOGGLE_DIV', } }
# -*- coding: utf-8 -*- """ N-Queens Solution with Genetic Algorithms in Python Victhor S. Sartório """ import numpy as np from numba import jit def gen_pop(pop_size, chrom_size): """ Returns a matrix with shape (pop_size, chrom_size) filled with values sampled from a discrete uniform distribution with s...
import {Table} from 'nylas-component-kit' export const testData = { columns: ['col1', 'col2', 'col3'], rows: [ [1, 2, 3], [4, 5, 6], [7, 8, 9], ], } export const testDataUneven = { columns: ['col1', 'col2', 'col3'], rows: [ [1, 2], [4, 5, 6], [7, 8], ], } export const testDataEmpt...
var Checker = require('../../../lib/checker'); var expect = require('chai').expect; var operators = require('../../../lib/utils').incrementAndDecrementOperators; describe('rules/disallow-space-before-postfix-unary-operators', function() { var checker; beforeEach(function() { checker = new Checker(); ...
from __future__ import print_function from PIL import Image # from grpc.beta import implementations import grpc import tensorflow as tf import matplotlib.pyplot as plt from tensorflow_serving.apis import predict_pb2 # from tensorflow_serving.apis import prediction_service_pb2 from tensorflow_serving.apis import predict...
while True: print('---' * 10) num = int(input('Quer ver a tabuada de qual valor? ')) print('---' * 10) if num < 0: break for c in range(1, 11): mult = num * c print(f'{num} * {c} = {mult}') print('FIM')
// @flow import * as React from 'react'; import styled, { css } from 'styled-components'; import PropTypes from 'prop-types'; import P from '../P'; type Props = { src?: string, canDrop: boolean, height: number, }; const Container: React.ComponentType<Props> = styled.div` position: relative; display: flex; ...
/* YUI 3.17.0 (build ce55cc9) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('button', function (Y, NAME) { /** * A Button Widget * * @module button * @since 3.5.0 */ var ButtonCore = Y.ButtonCore, CLASS_NAMES = ButtonCore.CLASS_NAME...
import re def pep_resource_resolve_hierarchy_pre(rule_args, callback, rei): if rule_args[3] == 'CREATE': ret = callback.findRescType(rule_args[0], '') resc_type = ret['arguments'][1] if (resc_type == 'passthru'): ret = callback.findInstId(rule_args[0], '') inst_id = ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.v20180614 = void 0; const Models = require("./iotcloud_models"); const iotcloud_client_1 = require("./iotcloud_client"); exports.v20180614 = { Client: iotcloud_client_1.Client, Models: Models };
import React from 'react'; // import React, { lazy, Suspense } from 'react'; import { graphql, Link } from 'gatsby'; import styled from 'styled-components'; import Img from 'gatsby-image'; import Layout from '../components/Layout'; // let PostTemplate = lazy(() => import('./post')); const BlogWrapper = styled.div` ...
var cooking = require('cooking'); var webpack = require('webpack'); var config = require('./config'); cooking.set({ entry: './src/index.js', dist: './lib', clean: false, format: 'cjs', extends: ['vue2'], minimize: false, alias: config.alias, externals: config.externals }); cooking.add('output.filename...
!function i(a,u,c){function s(t,e){if(!u[t]){if(!a[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(l)return l(t,!0);var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}var o=u[t]={exports:{}};a[t][0].call(o.exports,function(e){return s(a[t][1][e]||e)},o,o.exports,i,a...
"use strict"; var gulp = require("gulp"), concat = require("gulp-concat"), cssmin = require("gulp-cssmin"), htmlmin = require("gulp-htmlmin"), uglify = require("gulp-uglify"), merge = require("merge-stream"), del = require("del"), bundleconfig = require("./bundleconfig.json"); var reg...
import { describe, PropTypes } from 'react-desc' import { genericProps } from '../../utils/propTypes' export const doc = Image => { const DocumentedImage = describe(Image) .description('An image.') .usage( `import { Image } from 'grommet'; <Image/>`, ) .intrinsicElement('img') DocumentedIma...
"""The Philips TV constants.""" DOMAIN = "philips_js" CONF_SYSTEM = "system" CONST_APP_ID = "homeassistant.io" CONST_APP_NAME = "Home Assistant"