text stringlengths 2 1.05M |
|---|
(function () {
'use strict';
angular.module('BlurAdmin.pages.transbox.history')
.controller('HistoryPageCtrl', HistoryPageCtrl)
.controller('HistoryModalCtrl', HistoryModalCtrl)
;
function HistoryPageCtrl($scope, $filter, editableOptions, editableThemes, Http, Config, $uibModal, $wind... |
/* -*- mode: js; indent-tabs-mode: nil -*- */
"use strict";
function inject() {
writeln("script %r", format("data:text/javascript,var injected=%r;",
[].slice.call(arguments)));
}
function showcommitShort() {
writeln("script %r", format("data:text/javascript,var showcommitShort=%r;",... |
'use strict'
const PDFDocument = require('pdfkit')
const blobStream = require('blob-stream')
const FileSaver = require('file-saver')
const path = require('path')
const fs = require('fs')
const qr = require('qr-image')
const request = require('request')
module.exports = (shares, tx, nRequired, filename = false) => {
... |
let error = true
let res = [
db.init.drop(),
db.init.insert({ hello: "world" }),
]
printjson(res)
|
(function(window,document,Laya){
var __un=Laya.un,__uns=Laya.uns,__static=Laya.static,__class=Laya.class,__getset=Laya.getset,__newvec=Laya.__newvec;
var BlendMode=laya.webgl.canvas.BlendMode,Event=laya.events.Event,HTMLCanvas=laya.resource.HTMLCanvas;
var Handler=laya.utils.Handler,IndexBuffer2D=laya.webgl.utils.... |
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @provides... |
/*
* Copyright 2016 The COMPEIT Consortium
*
* 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 a... |
'use strict';
const utils = require('../common/utils');
module.exports = function (routing, settings) {
let _self = this;
_self.routing = routing;
_self.service = _self.routing.service;
_self.settings = settings || {};
_self.security = _self.service.security;
_self.path = _self.settings.path ? _self.settings.pa... |
import { battleField } from '../entity/battleField';
export let isCheckedPositionsFree = ({ x, y }, checkedPositions) => checkedPositions.every(e =>
e.every(({offsetX, offsetY}) => battleField[x + offsetX][y + offsetY].isEmpty())
); |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=raw-transaction-status.js.map |
import _without from 'lodash-es/without';
import {
event as d3_event,
mouse as d3_mouse,
select as d3_select
} from 'd3-selection';
import { geoVecLength } from '../geo';
import {
modeBrowse,
modeSelect,
modeSelectData,
modeSelectNote,
modeSelectError
} from '../modes';
import {
... |
(function($) {
var win = $(window);
win.on("load", function() {
var blog = $("<div class=\"wrapper style3\">" +
"<div class=\"inner\">" +
"<div class=\"container\">" +
"<div class=\"row\">" +
"<div class=\"col-8 col-12-medium\">" +
"<!-- Art... |
var _c_o__driver__target_8h =
[
[ "CANrxMemoryBarrier", "group___c_o__driver.html#ga0cf4099f9e716769492013b92fdd5a50", null ],
[ "CLEAR_CANrxNew", "group___c_o__driver.html#gafe9d8f1d14567463a15d31924fc28876", null ],
[ "CO_LITTLE_ENDIAN", "_c_o__driver__target_8h.html#aed3e1bffaf912485092fc20193705f35", nu... |
import ServiceDlg from 'Dialogs/ServiceDlg'
import BaseSvc from './BaseSvc'
import React from 'react'
export default class DialogSvc extends BaseSvc {
/////////////////////////////////////////////////////////////////
//
//
/////////////////////////////////////////////////////////////////
constructor (opts) ... |
/**
* Copyright 2018 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... |
// 01.引入http模块
var http = require('http');
// 02.创建服务
// request获取url传过来的信息
// response给浏览器响应信息
http.createServer(function (request, response) {
// 03.添加响应头
response.writeHead(200, {'Content-Type': 'text/plain'});
response.end('Hello World');
}).listen(8081); // 监听网站端口
console.log('Server running at http://127.... |
import config from '@/app.config.js'
import Vue from 'vue'
/* 剪切板 */
import VueClipboard from 'vue-clipboard2';
Vue.use(VueClipboard);
/**
* 自定义公共函数
*/
var myfn = {};
/**
* 获取系统时间
*/
myfn.getSystemTime = function(data) {
return new Date()
}
/**
* 时间补位0
*/
myfn.fillZero = function(time, digits = 2) {
return Num... |
$(function(e){
'use strict';
new Morris.Area({
element: 'morrisBar1',
data: [
{x: '2013-03-30 22:00:00', y: 0, z: 6},
{x: '2013-03-31 00:00:00', y: 3, z: 0},
{x: '2013-03-31 02:00:00', y: 3, z: 6},
{x: '2013-03-31 04:00:00', y: 2, z: 4}
],
xkey: 'x',
ykeys: ['y', 'z'],
labels: ['Series A', 'Serie... |
/* @flow */
"use strict";
import { Graphics } from 'pixi.js';
import { Body } from 'matter-js';
export default class Entity {
graphic: ?Graphics;
body: ?Body;
destroyed: boolean = false;
constructor(body: ?Body, graphic: ?Graphics) {
this.body = body;
this.graphic = graphic;
if(this.body != null... |
import { NotImplementedError } from '../extensions/index.js';
/**
* Given a string, return its encoding version.
*
* @param {String} str
* @return {String}
*
* @example
* For aabbbc should return 2a3bc
*
*/
export default function encodeLine(str) {
let res = '';
let sum = 1;
for (let i = 0; i < str.len... |
console.log('main starting');
var a = require('a');
var b = require('b');
console.log('in main, a.done=' + a.done + ', b.done=' + b.done); |
import React from 'react'
import PropTypes from 'prop-types'
import { BLOCKS, INLINES } from '@contentful/rich-text-types'
import Image from './Image'
import Paragraph from './Paragraph'
import Carousel from './Carousel'
import Heading from './Heading'
import List from './List'
import Quote from './Quote'
import Hr fro... |
'use strict';
const isAngleBracketComponent = require('../helpers/is-angle-bracket-component');
const isInteractiveElement = require('../helpers/is-interactive-element');
const parseConfig = require('../helpers/parse-interactive-element-config');
const Rule = require('./_base');
const DISALLOWED_DOM_EVENTS = new Set(... |
import React, { useCallback } from "react"
import { StyleSheet, View, Text, TouchableOpacity } from "react-native"
import { i18n } from "inline-i18n"
import useRouterState from "../../hooks/useRouterState"
import { memo } from "../../utils/toolbox"
import useThemedStyleSets from "../../hooks/useThemedStyleSets"
const... |
import React, { Component } from 'react'
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom'
import { Container, CssBaseline, Typography } from '@material-ui/core'
import './App.scss'
import { LocaleContext, Languages } from './locales'
import { BusinessRouters, GeneralRouters, BackdoorRouters } f... |
import React, { Component } from 'react';
import { connect } from 'react-redux';
import {
Header,
Left,
Right,
Body,
Text,
Title,
Button,
Item,
Input
} from 'native-base';
import { translate } from 'react-i18next';
import { View, Keyboard } from 'react-native';
import * as commonSelectors from '../../... |
import style from 'styled-components';
export const Container = style.div`
display: flex;
flex-direction: column;
align-items: center;
@media ${props => props.theme.mediaQueries.above600} {
flex-direction: row;
justify-content: center;
}
@media ${props => props.theme.mediaQueries.above768}{
justify-cont... |
module.exports = () => 'VALUE RETURNING LAMBDA'
|
import React from 'react';
import { Form, FormGroup, Input, Row, Col} from 'reactstrap';
import PregnancyvitalsBloodsugar from './AddBloodsugar';
import PregnancyvitalsThroid from './AddThyroid'
import PregnancyvitalsBloodpressure from './AddBloodpresssure'
// const desease = ["thyroid", "bloodPressure", "bloodSugar... |
import React from 'react'
import { Link } from 'react-router-dom'
function Header() {
return (
<header style={headerStyle}>
<h1>Todo List App</h1>
<Link style={linkStyle} to="/">Home</Link> | <Link style={linkStyle} to="/about">About</Link>
</header>
)
}
const headerSty... |
/**
* Namespace for all classes, static methods and static properties.
*
* @class
* @singleton
*/
OO.ui = {};
OO.ui.bind = $.proxy;
/**
* @property {Object}
*/
OO.ui.Keys = {
UNDEFINED: 0,
BACKSPACE: 8,
DELETE: 46,
LEFT: 37,
RIGHT: 39,
UP: 38,
DOWN: 40,
ENTER: 13,
END: 35,
HOME: 36,
TAB: 9,
PAGEUP:... |
// @flow
import Config from "react-native-config";
import AsyncStorage from "@react-native-community/async-storage";
import { concatMap } from "rxjs/operators";
import {
setEnvUnsafe,
isEnvDefault,
changes,
} from "@ledgerhq/live-common/lib/env";
import type { EnvName } from "@ledgerhq/live-common/lib/env";
impo... |
/**
* Using Rails-like standard naming convention for endpoints.
* GET /api/feedbacks -> index
* POST /api/feedbacks -> create
* GET /api/feedbacks/:id -> show
* PUT /api/feedbacks/:id -> update
* DELETE /api/feedbacks/:id -> destroy
*/
'... |
import vcProgress from './src/vc-progress'
vcProgress.install = function (Vue) {
Vue.component(vcProgress.name, vcProgress)
}
export default vcProgress
|
const path = require("path");
const fs = require("fs-extra");
// Used to extract title text from Markdown title tags in note source files
const HASH_TITLE_REGEX = /\# (.*)/;
const DASH_TITLE_REGEX = /(.*)\n[=-]+\n/;
const extractName = (path, contents) => {
const hashTitle = HASH_TITLE_REGEX.exec(contents);
const... |
var Backbone = require('backbone')
var TestResults = Backbone.Model.extend({
initialize: function(){
this.reset()
}
, reset: function(){
this.set({
topLevelError: null
, failed: 0
, passed: 0
, pending: 0
, total: 0
, tests: new Backbone.Collection
... |
const fs = require("fs");
const path = require("path");
const _ = require("lodash");
const libraryPath = path.normalize(path.join(process.cwd(), "library"));
const allBooks = fs
.readdirSync("library")
.reduce((books, file) => {
const book = require(path.join(libraryPath, file));
return [...books, book];
... |
/******************************************************************************
*
* Copyright 2012 Tavendo GmbH. All rights reserved.
*
******************************************************************************/
var hubRestApi = get_appliance_url("hub-web", "http://localhost:8080");
var channelBaseUri = "http... |
// Loader
$(window).load(() => {
setTimeout(() => {
$("#loading").css({ opacity: 0 });
$("#loading").hide();
}, 500);
});
$(document).ready(() => {
// Mega Menu Icon
$(".nav_icon").click(function () {
$(this).toggleClass("open");
$(".nav_menu").toggleClass("open");
$(".header_footer").togg... |
import { useEffect, useState, useRef } from 'react';
import loadScript from './loadScript.js';
export default function useGoogleMapsApi({ key, libraries = '' }) {
let api = useRef(
window.google && window.google.maps ? window.google.maps : null
);
let [state, setState] = useState(api.current ? 'ready' : 'loa... |
import Bookshelf from '../../db';
/* eslint-disable object-shorthand */
/**
* @typedef Event
* @property {string} id - ID
* @property {string} type.required - Type
* @property {string} status.required - Status
* @property {string} ship_id - ID of the ship where the event is taking place
* @property {string} occ... |
define(['vue','vue-resource','underscore','moment',
'text!templates/staff/purchase/temp_table_purchase_staff.html'],
function(Vue, VueResource, _, moment, template) {
Vue.use(VueResource);
Vue.http.headers.common['X-CSRF-TOKEN'] = document.querySelector('#token').getAttribute('value');
var Component... |
var gulp=require('gulp'),
fs = require('fs-extra'),
concat=require('gulp-concat'),
uglify = require('gulp-uglify'),
BUILD_JSON=require('./build.json'),
BUILD_NAME='elliptical.soa.js',
MIN_NAME='elliptical.soa.min.js',
REPO_NAME='elliptical soa',
DIST='./dist';
gulp.task('default',funct... |
var replaceVars = {
"janvier":"January","février":"February","mars":"March","avril":"April","mai":"May","juin":"June","juillet":"July","août":"August","septembre":"September","octobre":"October","novembre":"November","décembre":"December",
"enero":"January","febrero":"February","marzo":"March","abril":"April",... |
import React from 'react';
import { Route, IndexRoute } from 'react-router';
import App from './containers/App';
import HomePage from './containers/HomePage';
import JSONToXMLPage from './containers/JSONToXMLPage';
export default (
<Route path="/" component={App}>
// Each react-router setup should have an index ... |
var b = 1;
var data;
$(function(){
r = $('#rorder').val();
if (r.length>0) {
var t = setInterval(function() {
$.getJsonp(apiBaseUrl+'/recharge/result',{o:r},function(json) {
if (typeof json.url!='undefined') {
clearInterval(t);
if (json.type==1) {
location.href = json.url;
return;
... |
import { lazy, Suspense, useEffect, createContext, useReducer, Fragment } from 'react';
import { BrowserRouter, Switch, Route, useLocation } from 'react-router-dom';
import { Transition, TransitionGroup } from 'react-transition-group';
import classNames from 'classnames';
import { Helmet } from 'react-helmet';
import N... |
import React from "react";
import { FacebookProvider, Comments } from 'react-facebook';
const ArticleCommentSection = ({}) => {
return (
<div className="facebookComments">
<FacebookProvider style={{'display': 'block'}} appId='510092146640696'>
<Comments href={`https://www.stuyspec.com${window.location.... |
/*
*
* Copyright 2015, 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 condi... |
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.d... |
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "4cd67a6ded9815bf2b9984e97c050d89",
"url": "/anylate/index.html"
},
{
"revision": "0b4b9100ed07e6516b78",
"url": "/anylate/static/css/2.ff4a97c2.chunk.css"
},
{
"revision": "06a9b2c202fdad24a9b0",
"url": "... |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.lang} object, for the
* Lithuanian language.
*/
/**#@+
@type String
@example
*/
/**
* Constains the dictionary of... |
import { to_headers } from '../../utils/http.js';
import { hash } from '../hash.js';
import { decode_params } from './utils.js';
/** @param {string} body */
function error(body) {
return new Response(body, {
status: 500
});
}
/** @param {unknown} s */
function is_string(s) {
return typeof s === 'string' || s ins... |
var fs = require('fs');
var filename = '06.txt';
var grid_size = 1000;
// pre-fill our grid system
var grid = setUpGrid(grid_size);
var directions_p1 = {
"turn on" : turnOn,
"turn off" : turnOff,
"toggle" : toggle
} ;
var directions_p2 = {
"turn on" : increaseByOne,
"turn off" : decrease,
"toggle" : in... |
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
const CommentSchema = new Schema({
postId: { type: String, required: true, default: null },
parentId: { type: String, default: null },
depth: { type: Number, default: 0 },
user: { type: String, required: true },
content: { type: String, defaul... |
// 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.
/**
* @template T
* @unrestricted
*/
Common.CharacterIdMap = class {
constructor() {
/** @type {!Map<T, string>} */
this._elementToCharacter =... |
module.exports = ({
os,
nameUni,
adress,
city,
cep,
uf,
userName,
userLocal,
fone,
email,
printModel,
ns,
pagCount,
ip,
mask,
gateway,
description,
dataAtend,
timeCheg,
timeStart,
timeFinish,
timeOut,
nameTec,
nameUserAssin... |
var r=function(r){return"string"==typeof r?r.length>0:"number"==typeof r},t=function(r,t,a){return void 0===t&&(t=0),void 0===a&&(a=Math.pow(10,t)),Math.round(a*r)/a+0},a=function(r,t,a){return void 0===t&&(t=0),void 0===a&&(a=1),r>a?a:r>t?r:t},n={grad:.9,turn:360,rad:360/(2*Math.PI)},u=function(r){var t=r/255;return t... |
"use strict";
var ShareObj = (function () {
function ShareObj() {
}
return ShareObj;
}());
exports.ShareObj = ShareObj;
|
load("8b38e12cab5de21ec5393724c0d9b7dd.js");
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//------------... |
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @provides... |
// "creatureSizes": [{
// "id": 2,
// "entityTypeId": 127108918,
// "name": "Tiny",
// "weightType": 1
// }, {
// "traits": {
// "size": "grg",
// "sizeId": 7,
const SIZES = [
{ name: "Tiny", value: "tiny", size: 0.5 },
{ name: "Small", value: "sm", size: 0.8 },
{ name: "Medium", value: "me... |
/*
Copyright 2019-2020 The Tekton 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 law or agreed to in writing, sof... |
"use strict";
//# sourceMappingURL=star-and-crescent-icon.d.js.map |
const router = require('express').Router();
const { Tag, Product, ProductTag } = require('../../models');
// The `/api/tags` endpoint
router.get('/', async (req, res) => {
// find all tags
// be sure to include its associated Product data
try {
const tagData = await Tag.findAll({
include: [ {model: Pr... |
mycallback( {"ELECTION CODE": "G2008", "EXPENDITURE PURPOSE DESCRIP": "Food and Beverage", "BENEFICIARY CANDIDATE OFFICE": "", "PAYEE ZIP": "802024003", "MEMO CODE": "", "PAYEE STATE": "CO", "PAYEE LAST NAME": "", "PAYEE CITY": "Denver", "PAYEE SUFFIX": "", "CONDUIT STREET 2": "", "CONDUIT STREET 1": "", "PAYEE FIRST N... |
import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
const Alert = ({ alerts }) => (
<div className='alert-wrapper'>
{alerts.map((alert) => (
<div key={alert.id} className={`alert alert-${alert.alertType}`}>
{alert.msg}
</div>
))}
</... |
import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
// components
import Spinner from 'components/ui/Spinner';
import WidgetCard from 'components/widgets/list/WidgetCard';
class WidgetList extends PureComponent {
static defaultProps = {
showActi... |
$(document).ready(function(){
/*Should work in the day time
Realtime kødata på Dokk1
https://www.odaa.dk/dataset/kodata/resource/38d6520a-b1b9-4224-a7ae-23d4b14f598f#
They have this structure
http://www.odaa.dk/api/3/action/datastore_search?resource_id=251528ca-8ec9-4b70-9960-83c4d0c4e7b6
*/
//Sun
/... |
import React from 'react'
import { connect } from 'react-redux'
import { Field, reduxForm } from 'redux-form'
import { createComment } from "../actions/comments";
import { addCommentModalClose } from "../actions/modal";
import { uuid } from "../utils/helpers";
let AddComment = ({ id, add, handleSubmit, closeAddComment... |
import Vue from 'vue'
import './assets/styles/reset.css'
import App from './App.vue'
import router from './router'
import store from './store'
Vue.config.productionTip = false
new Vue({
router,
store,
render: h => h(App)
}).$mount('#app')
|
import React from 'react'
import ReactDOM from 'react-dom'
import Maintenance from './Maintenance'
it('renders without crashing', () => {
const div = document.createElement('div')
ReactDOM.render(<Maintenance />, div)
ReactDOM.unmountComponentAtNode(div)
})
|
import photoArray from "../db/photo.js";
import refs from "./refs.js";
const { modal, closeModalBtn, modalImg } = refs;
export function actionWhenModalOpen() {
closeModalBtn.addEventListener("click", closeByClick);
window.addEventListener("keydown", closeByEsc);
modal.addEventListener("click", closeByWrapper);
... |
/*
* Copyright (c) 2021. Written by Leonid Artemev (me@artemev.it)
*/
import { initializeApp } from "firebase/app";
import React from "react";
import { YMaps } from "react-yandex-maps";
import "./App.css";
import Paperbase from "./Paperbase";
// Example base just for testing
const firebaseConfig = {
apiKey: "AIza... |
QUnit.test('Map#mapKeys', assert => {
const { mapKeys } = Map.prototype;
const { from } = Array;
assert.isFunction(mapKeys);
assert.arity(mapKeys, 1);
assert.name(mapKeys, 'mapKeys');
assert.looksNative(mapKeys);
assert.nonEnumerable(Map.prototype, 'mapKeys');
const map = new Map([[1, 2]]);
const co... |
/**
* @license Apache-2.0
*
* Copyright (c) 2019 The Stdlib 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 a... |
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/indoqa-rebass-theme",t(0)}(function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))switch(typeof e[t]){case"func... |
// This file is generated
R_addrs_0 = [
[],
[]
]
Dwr.ScriptLoaded('dwr_db_R_addrs_0.js');
|
'use strict';
const express = require('express');
const path = require('path');
const middleware = require('./middleware');
const routes = require('./routes');
const app = express();
app.use(function(req, res, next) {
res.header("Access-Control-Allow-Origin", "*");
res.header("Access-Control-Allow-Headers", "Origi... |
/*
Copyright 2018 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 writing, software
dis... |
// npm pack <pkg>
// Packs the specified package into a .tgz file, which can then
// be installed.
module.exports = pack
var npm = require("./npm.js")
, install = require("./install.js")
, cache = require("./cache.js")
, fs = require("graceful-fs")
, chain = require("slide").chain
, path = require("path")
... |
/**
* @license
* Copyright 2017 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... |
/**
* Version: 1.0 Alpha-1
* Build Date: 13-Nov-2007
* Copyright (c) 2006-2007, Coolite Inc. (http://www.coolite.com/). All rights reserved.
* License: Licensed under The MIT License. See license.txt and http://www.datejs.com/license/.
* Website: http://www.datejs.com/ or http://www.coolite.com/datejs/
*/
Date.... |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(React.createElement(React.Fragment, null, React.createElement("path", {
d: "M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM4 9h10.5v3.5H4V9zm0 5.5h10.5V18H5c-.55 0-1-.45-1-1v... |
/**
* Created by vcernomschi on 5/16/16.
*/
'use strict'
import path from 'path';
import fs from 'fs';
import os from 'os';
import fsExtra from 'fs-extra';
import syncExec from 'sync-exec';
import AWS from 'aws-sdk';
import S3CoverageSynchronizer from './S3CoverageSynchronizer';
import GitHubMsgPublisher from './Gi... |
"use strict";
import "babel/polyfill";
import Knex from "knex";
export default function(api) {
return {
pool: {
live: () => {
var pool = api.bookshelf.knex.client.pool || { live: false };
pool = pool.live === undefined ? false : pool.live;
return pool;
}
},
db: {
... |
/* ------------------------------------------------------------------------------
*
* # NoUI Sliders
*
* Demo JS code for extra_sliders_noui.html page
*
* ---------------------------------------------------------------------------- */
// Setup module
// ------------------------------
var NouiSlider = functio... |
const Hospital = require('../models/Hospital');
const jwt = require('jsonwebtoken');
const config = require('../config/auth.json');
module.exports = {
/**
*
* @param {Request} req
* @param {Response} res
*/
async index(req, res) {
try {
const { id_hospital } = req.cookies;
let hospital;... |
export default class DebugTriggerService {
/* @ngInject */
constructor ($document, $rootScope, DialogService) {
this.$document = $document
this.$rootScope = $rootScope
this.DialogService = DialogService
this.buffer = ''
this.listener = null
this.maxLength = 0
this.bindings = {
conf... |
#!/bin/sh
':'//; exec "$(command -v nodejs || command -v node)" "$0" "$@"
;// Statements must end before an expression.
(function() {
// prove that using strict is not enough
'use strict';
// The result of reversing an operator
var isDefined = function(variable) {
return variable !== undefined... |
import React, { Component } from 'react';
import * as PropTypes from 'prop-types';
import { withRouter, Link } from 'react-router-dom';
import { compose } from 'ramda';
import { withStyles } from '@material-ui/core/styles';
import Button from '@material-ui/core/Button';
import { ArrowForwardIos } from '@material-ui/ico... |
/**
* Copyright (c) 2015 Intel Corporation
*
* 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 ... |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://js.arcgis.com/3.15/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details.
//>>built
define({"widgets/Scalebar/setting/nls/strings":{unit:"Jednostka",style:"Styl",dual:"podw\u00f3jny",eng... |
import mongoose from 'mongoose'
const { MONGODB_URI } = process.env
if (!MONGODB_URI) {
throw new Error(
'Please define the MONGODB_URI environment variable inside .env.local'
)
}
/**
* Global is used here to maintain a cached connection across hot reloads
* in development. This prevents connections growin... |
import axios from 'axios';
const AUTH_KEY = {
client_id: window.__SERVER_DATA__.client_id,
client_secret: window.__SERVER_DATA__.client_key,
grant_type: 'password',
};
const BASE_URL = window.__SERVER_DATA__.base_url;
export default {
newAccount: payload => {
const requestUrl = `${BASE_URL}/n... |
import { FocusStyleManager } from '@blueprintjs/core'
import { renderReactComponent } from '~mixins/react-helpers'
import { PopOverlay } from './overlay'
import './style.scss'
window.addEventListener('load', async () => {
FocusStyleManager.onlyShowFocusOnTabs()
renderReactComponent('popout', PopOverlay)
})
|
(function(){var APC_r_url="http://jqmt.qq.com/rpt.png?plf=3&";var APC_count=0,APC_idx=[],APC_task=[];function apc_CallBack(data){var idx=0;for(var i in data){if(i=="rCount"){APC_count=data[i];}else if(!isNaN(i)){APC_idx[idx]=i;APC_task[i]=data[i];idx++;}}
APC_count=idx;APC_r_url+="cnt="+APC_count;if(APC_count<=0)
retur... |
/*! For license information please see index_bundle.js.LICENSE.txt */
(()=>{"use strict";var t={212:(t,e,n)=>{n.r(e),n.d(e,{ACESFilmicToneMapping:()=>nt,AddEquation:()=>T,AddOperation:()=>Q,AdditiveAnimationBlendMode:()=>qe,AdditiveBlending:()=>M,AlphaFormat:()=>Ot,AlwaysDepth:()=>k,AlwaysStencilFunc:()=>wn,AmbientLigh... |
import SimplePagination from 'ember-simple-pagination/components/simple-pagination';
export default SimplePagination; |
var app = new Vue({
el: '#app',
data: {
pageInfo:'',
pageNum:1,
},
mounted(){
console.log('View mounted');
//进行赋值
this.searchAdministrator();
},
methods:{
handlePageChange(val){
console.log('page change')
this.pageNum = val;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.