code stringlengths 2 1.05M |
|---|
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import './css/simple-grid.css';
import './css/main.css';
import LocalWeather from './components/local_weather';
import Clock from './components/clock';
import SensorTemp from './components/sensor_temp';
import Forecast from './components/for... |
var expect = require('chai').expect;
var test = require('../../util');
describe('The path matcher', function() {
before(function(done) {
test.startHTTPApp(function(err, result) {
app = result;
done(err);
});
});
it('matches the URL without the query string', function(done) {
var rule = ... |
function DisplayFactory() {
this.name = "factory";
}
DisplayFactory.prototype.getDisplayer = function(polygon) {
// var polygon.eve
var even = polygon.even;
var ppe = polygon.pointsPerEdge;
var ppEven = ppe % 2;
var cFlag = polygon.centrality;
var pFlag = polygon.parallel;
if ((polygon.... |
/**
* React Starter Kit (https://www.reactstarterkit.com/)
*
* Copyright © 2014-2016 Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
/* eslint-disable max-len */
/* jscs:disable maximumLineLe... |
"use strict";
// Replicate resolve and reject values from:
// https://github.com/facebook/react-native/blob/master/Libraries/Storage/AsyncStorage.js
// Haven't implemented callbacks as not yet used in react-native-store
// Haven't implemented multiGet/Set as not yet used in react-native-store
var cache = {};
var mock... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.__BackgroundImpl = exports.Background = void 0;
var _react = _interopRequireDefault(require("react"));
var _reactMeasure = _interopRequireWildcard(require("react-measure"));
var _constructUrl = _interopRequireDefault(require("./c... |
var app = angular.module("wevivu", ['ngMaterial']);
app.version = '/api/v1/'
app.controller('LoginController', function ($scope, $mdDialog) {
$scope.showLoginAndSignupForm = function (ev) {
$mdDialog.show({
controller: DialogController,
templateUrl: '/pages/login_register.tmpl.htm... |
/*
Created by Yiran Li on 2016/12/01
*/
"use strict";
const express = require("express");
const router = express.Router();
const data = require("../data");
const foodData = data.food;
const imageData = data.image;
const userData = data.user;
const commentData = data.comment;
const path = require("path");
const cityDa... |
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
r... |
// decode-buffer.js
exports.DecodeBuffer = DecodeBuffer;
var preset = require("./codec").codec.preset;
var BufferShortageError = require("./buffer-shortage").BufferShortageError;
function DecodeBuffer(options) {
if (!(this instanceof DecodeBuffer)) return new DecodeBuffer(options);
if (options) {
this.opti... |
/**
* Framework7 5.7.8
* Full featured mobile HTML framework for building iOS & Android apps
* https://framework7.io/
*
* Copyright 2014-2020 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: June 13, 2020
*/
import Template7 from 'template7';
import $ from 'dom7';
// F7 Class
import ... |
/*!
* imagemapster - v1.5.0 - 2021-01-29
* https://github.com/jamietre/ImageMapster/
* Copyright (c) 2011 - 2021 James Treworgy
* License: MIT
*/
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory);
} else if (typ... |
/////////////////////////////////////////////////////////////////////////////////
/* UAParser.js v0.7.28
Copyright © 2012-2021 Faisal Salman <f@faisalman.com>
MIT License *//*
Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent data.
Supports browser & node.js environment.
Demo : ht... |
import BaseSeries from"../../Core/Series/Series.js";var ATR=BaseSeries.seriesTypes.atr;BaseSeries.seriesType("natr","sma",{tooltip:{valueSuffix:"%"}},{requiredIndicators:["atr"],getValues:function(e,a){var r=ATR.prototype.getValues.apply(this,arguments),s=r.values.length,t=a.period-1,i=e.yData,o=0;if(r){for(;o<s;o++)r.... |
/*!
* Boosted v4.0.1 (http://boosted.orange.com)
* Copyright 2014-2018 The Boosted Authors
* Copyright 2014-2018 Orange
* Licensed under MIT (https://github.com/orange-opensource/orange-boosted-bootstrap/blob/master/LICENSE)
* This a fork of Bootstrap : Initial license below
* Bootstrap v4.0.0 (https://getb... |
/**
* @license Highstock JS v9.3.1 (2021-11-05)
* @module highcharts/indicators/dmi
* @requires highcharts
* @requires highcharts/modules/stock
*
* Indicator series type for Highcharts Stock
*
* (c) 2010-2021 Rafal Sebestjanski
*
* License: www.highcharts.com/license
*/
'use strict';
import '../../Stock/Indi... |
/**
* @license Highstock JS v9.0.0 (2021-02-02)
*
* Indicator series type for Highstock
*
* (c) 2010-2019 Wojciech Chmiel
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
factory['default'] = factory;
module.ex... |
/*
Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang("codesnippet","eo",{button:"Enmeti kodaĵeron",codeContents:"Kodenhavo",emptySnippetError:"Kodaĵero ne povas esti malplena.",languag... |
/* Tabulator v4.8.1 (c) Oliver Folkerd */
var FrozenColumns = function FrozenColumns(table) {
this.table = table; //hold Tabulator object
this.leftColumns = [];
this.rightColumns = [];
this.leftMargin = 0;
this.rightMargin = 0;
this.rightPadding = 0;
this.initializationMode = "left";
this.active = false;
this... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('echarts/lib/echarts'), require('echarts/lib/component/tooltip'), require('echarts/lib/component/legend')) :
typeof define === 'function' && define.amd ? define(['echarts/lib/echarts', 'echa... |
typeof window !== "undefined" &&
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["Hls"] = f... |
'use strict';
angular.module('directive.joinButton', []).directive('joinbutton', function() {
return {
restrict: 'E',
template: '<button class="btn btn-default btn-sm" ng-click="action()"><strong>{{name}}</strong></button>',
replace: true,
scope: {
action: '&',
name: '=',
teamid: '=... |
"use strict"
const lineEndingsRe = /\r\n|\r|\n/g
function lineStarts(str) {
const result = [0]
lineEndingsRe.lastIndex = 0
while (true) {
const match = lineEndingsRe.exec(str)
if (!match) break
result.push(lineEndingsRe.lastIndex)
}
return result
}
function locationToIndex(location, lineStarts) ... |
define(['exports', 'aurelia-framework'], function (exports, _aureliaFramework) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.VGridElementFooterPager = undefined;
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
... |
import { Meteor } from 'meteor/meteor';
// Collection imports
import { ApiBackendRatings } from '/ratings/collection';
// User rating for a single API Backend
Meteor.publish('myApiBackendRating', function (apiBackendId) {
// get current user ID
const userId = this.userId;
// get user API Backend rating
const ... |
require('ember-runtime/mixins/enumerable');
/**
@module ember
@submodule ember-runtime
*/
// ..........................................................
// HELPERS
//
var get = Ember.get, set = Ember.set, meta = Ember.meta, map = Ember.EnumerableUtils.map, cacheFor = Ember.cacheFor;
function none(obj) { return obj==... |
import express from 'express';
import inflect from 'i';
import _ from 'lodash';
import Model from '../model';
import Resource from '../model/resource';
import {
NotFoundError,
BadRequestError,
ConflictError,
RelationshipError,
AdapterError,
} from 'restle-error';
// router utilites
import isValidContentType... |
/**
* @author: @AngularClass
*/
const helpers = require('./helpers');
const webpackMerge = require('webpack-merge'); // used to merge webpack configs
const commonConfig = require('./webpack.common.js'); // the settings that are common to prod and dev
/**
* Webpack Plugins
*/
const DefinePlugin = require('webpack/... |
import React from 'react';
import AppBar from 'material-ui/lib/app-bar';
import FlatButton from 'material-ui/lib/flat-button';
import Dialog from 'material-ui/lib/dialog';
const Header = React.createClass({
getInitialState: () => ({ isDialogOpen: false }),
handleOpen() {
this.setState({ isDialogOpen: true })... |
"use strict";
var test_object = require("./test_object"),
test_schema = require("./test_schema"),
zschema = new (require("z-schema"))({sync : true}),
assert = require("assert");
var schema = zschema.compileSchema(test_schema.schema4);
var valid = test_object.valid;
var invalid = test_object.invalid;
assert.strict... |
/*global DOMParser: true, XMLHttpRequest: true, window: true */
/*oh hi 100*/
/* ny kommentar */
var SSRSearch = function () {
'use strict';
/* _.bind from underscore.js */
var nativeBind = Function.prototype.bind;
var slice = Array.prototype.slice;
var Ctor = function () {};
function isObj... |
import config from './rollup.config';
const pkg = require('./package.json');
config.dest = pkg.module;
config.format = 'amd';
export default config;
|
var mkdirp = require('.');
var path = require('path');
var fs = require('fs');
var test = require('tap').test;
test('rel', function (t) {
t.plan(2);
var x = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
var y = Math.floor(Math.random() * Math.pow(16,4)).toString(16);
var z = Math.floor(Math.... |
var autoplay = false;
var blog = window.blog = {
autoHighlight: function () {
if (window.enable_autoHighlight == undefined) {
window.enable_autoHighlight = false
}
if (!window.enable_autoHighlight) {
return
}
var a = null;
$(window... |
import Ember from "ember-metal/core";
import run from "ember-metal/run_loop";
import { observersFor } from "ember-metal/observer";
import { changeProperties } from "ember-metal/property_events";
import { SafeString } from "ember-htmlbars/utils/string";
import EmberView from "ember-views/views/view";
var originalLooku... |
function gen(min, max, excludeMin, excludeMax) {
var value;
do {
value = Math.random() * (max - min) + min;
} while (value > excludeMin && value < excludeMax)
return value;
}
console.log(gen(1, 100, 10, 20));
//https://pt.stackoverflow.com/q/47163/101
|
var assert = require("assert");
var API_KEY = process.env.TVDB_KEY;
module.exports = function(TVDBClient) {
describe("Time endpoints", function() {
describe("Callback API", function() {
it("should return the current time from the server", function(done) {
var client = new TVD... |
/**
* redirectInsecure middleware
* @version 1.1.0
* @desc A middleware that redirects traffic that did not arrive on https
* @param {object} req An Express request object
* @param {object} res An Express response object
* @param {Function} next A callback
* @return {undefined}
*/
export default funct... |
'use strict';
const assert = require('assert');
const acl = require('../../');
const httpMocks = require('node-mocks-http');
let response = {
success: {
status: 200,
success: true,
message: 'ACCESS GRANTED'
},
restricted: {
status: 'Access denied',
success: false,
message: 'Unauthorized a... |
/*!
* CanJS - 2.1.3
* http://canjs.us/
* Copyright (c) 2014 Bitovi
* Mon, 25 Aug 2014 21:51:29 GMT
* Licensed MIT
* Includes: CanJS default build
* Download from: http://canjs.us/
*/
steal('can/util/can.js', function (can) {
// fragment.js
// ---------
// _DOM Fragment support._
var fragmentRE = /^\s*<(\w+)... |
var mongoose = require('mongoose');
var TodoSchema = new mongoose.Schema({
title: {
type: String,
required: true
}
}, {
timestamps: true
});
module.exports = mongoose.model('Todo', TodoSchema); |
export { default as Users } from './Users';
|
/* This program is free software. It comes without any warranty, to
* the extent permitted by applicable law. You can redistribute it
* and/or modify it under the terms of the Do What The Fuck You Want
* To Public License, Version 2, as published by Sam Hocevar. See
* http://sam.zoy.org/wtfpl/COPYING for more detai... |
/// <binding ProjectOpened='watch' />
var gulp = require("gulp");
var babel = require("gulp-babel");
gulp.task("compile-jsx", function () {
return gulp.src("Scripts/templates/*.jsx")
.pipe(babel())
.pipe(gulp.dest("Scripts/templates/"));
});
gulp.task('watch', ['compile-jsx'], function () {
gulp.... |
/*
* Copyright 2003-2006, 2009, 2017, United States Government, as represented by the Administrator of the
* National Aeronautics and Space Administration. All rights reserved.
*
* The NASAWorldWind/WebWorldWind platform is licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file... |
define(
function (require) {
var svg2ttfobject = require('ttf/svg2ttfobject');
describe('svg转ttf对象', function () {
var ttfObject = svg2ttfobject(require('data/iconfont-xin.svg'));
it('test svg glyf', function () {
expect(ttfObject.from).toBe('svg');
... |
YUI.add("lang/inputex-stringavailability_fr",function(e){e.Intl.add("inputex-stringavailability","fr",{errorDataText:"Une erreur s'est produite",stringAvailable:"La ressource est disponible !",stringLoading:"V\u00e9rification de disponibilit\u00e9 ...",stringUnAvailable:"La ressource est indisponible"})},"@VERSION@");
|
var searchData=
[
['unused',['UNUSED',['../d3/d1b/Actor_8hpp.html#a86d500a34c624c2cae56bc25a31b12f3',1,'Actor.hpp']]]
];
|
import { once, type, strictEquals } from '../functionalHelpers';
import { ifElse, constant, identity } from '../combinators';
import { join, valueOf } from './data_structure_util';
import { javaScriptTypes } from '../helpers';
/**
* @signature
* @description d
* @private
* @param {function} reject - a
* @param {f... |
/* eslint-disable */
require('@haohuawu/easy-ui.raf');
window.Promise = require('bluebird');
require('fastclick').attach(document.body);
/* eslint-enable */
|
'use strict';
/**
* @file Enthält das Datenmodell und die Businessregeln für globale Konfigurationen für Hauptlernziele.
*/
/**
* @function Konstruktor
* @constructs
* @param {object} _node Das Ergebnisobjekt der Datenbankabfrage, welches die Nutzdaten der Node enthält.
*/
var GlobalConfig = module.export... |
var description = ' Test7: basic channels';
var failureMessage = 'This test tests Bridge Channels feature.\nExpected behavior: The client can join a channel named "test7".\n';
var test = require(__dirname + '/../lib/test.js')(failureMessage, 1);
var Bridge = require(__dirname + '/../../lib/bridge.js');
var bridgeServe... |
document.querySelectorAll('.my #awesome selector')
|
version https://git-lfs.github.com/spec/v1
oid sha256:49d61ab3c72792411e378a67650cd4802b470d73fd124fe57ce6bb04a7f19415
size 2216
|
// Flags: --expose-http2
'use strict';
const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');
const assert = require('assert');
const h2 = require('http2');
const body =
'<html><head></head><body><h1>this is some data</h2></body></html>';
const server = h2.createServer();
const... |
CKEDITOR.plugins.setLang("pastetext","km",{button:"បិទភ្ជាប់ជាអត្ថបទធម្មតា",title:"បិទភ្ជាប់ជាអត្ថបទធម្មតា"}); |
/*
* Copyright 2014-2016 Guy Bedford (http://guybedford.com)
*
* 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... |
define([
'jquery',
'nbd/util/curry'
], function($, curry) {
'use strict';
// Make a select from a ul/ol
function makeSelect($ul, multiple) {
var $select = $('<select>', {
name : $ul[0].id,
multiple : multiple || false
}).hide();
// A singular select, empty default value
if (!mult... |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c... |
import initialState from 'vclub/redux/initialClubState';
export const CHANGE_ROOM = 'club/rooms/change-room';
export function changeRoom(newRoomName) {
return {
type: CHANGE_ROOM,
payload: newRoomName,
meta: {
remote: true,
broadcast: true,
},
};
}
export default function reducer(stat... |
'use strict';
/**
* @ngdoc object
* @name angular.mock
* @description
*
* Namespace from 'angular-mocks.js' which contains testing related code.
*/
angular.mock = {};
/**
* ! This is a private undocumented service !
*
* @name $browser
*
* @description
* This service is a mock implementation of {@link ng.$... |
// warning: This file is auto generated by `npm run build:tests`
// Do not edit by hand!
process.env.TZ = 'UTC'
var expect = require('chai').expect
var ini_set = require('../../../../src/php/info/ini_set') // eslint-disable-line no-unused-vars,camelcase
var ini_get = require('../../../../src/php/info/ini_get') // eslin... |
import PropTypes from "prop-types";
import Item from "./Item";
const Groups = ({ items, hide }) => (
<section className="hard-sides soft-half-ends">
{items.map((section, i) => (
<Item sections={section} key={i} hide={hide} />
))}
</section>
);
Groups.propTypes = {
items: PropTypes.array.isRequired... |
// @flow
import { assert } from 'chai';
import getStylesCreator from './getStylesCreator';
describe('getStylesCreator', () => {
const name = 'name';
const stylesCreator = getStylesCreator({
root: {
color: 'black',
'&:hover': {
color: 'red',
borderRadius: 0,
},
},
});
... |
//'use strict';
//angular.module('yhtml5', [])
// .config(['$compileProvider', function($compileProvider) {
// $compileProvider.aHrefSanitizationWhitelist(/^\s*(|blob|):/);
// }]) |
TYPE_BEACH=1
TYPE_CINEMA=2
TYPE_FOOD=3
TYPE_STADIUM=4
TYPE_MALL=5
TYPE_RECORDSHOP=6
TYPE_BOOKSHOP=7
TYPE_VIDEOGAMES=8
TYPE_AQUARIUM=9
TYPE_MUSEUM=10
TYPE_ZOO=11
TYPE_BOWLING=12
TYPE_WATERPARK=13
TYPE_ARTGALLERY=14
TYPE_THEMEPARK=15
TYPE_PARK=16
TYPE_SCENICPOINT=17
|
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const { compareNumbers } = require("./util/comparators");
const identifierUtils = require("./util/identifier");
/** @typedef {import("./Chunk")} Chunk */
/** @typedef {import("./Compiler")} Compiler */
/... |
/**
* AJAX POST request.
*/
global.POST = METHOD({
run : function(uriOrParams, responseListenerOrListeners) {
'use strict';
//REQUIRED: uriOrParams
//OPTIONAL: uriOrParams.host
//OPTIONAL: uriOrParams.port
//OPTIONAL: uriOrParams.isSecure
//REQUIRED: uriOrParams.uri
//OPTIONAL: uriOrParams.paramStr
... |
'use strict';
// Connections controller
angular.module('connections').controller('ConnectionsController', ['$scope', '$stateParams', '$location', 'Authentication', 'Connections',
function($scope, $stateParams, $location, Authentication, Connections) {
$scope.authentication = Authentication;
// Create new Connect... |
import PropTypes from 'prop-types'
import React from 'react'
const colorBackDisabled = '#C5C5C5'
const colorBackEnabled = '#00CBA0'
const DirectoryInfoBar = ({
path,
nfiles,
onBackClick,
setDragFolderTarget
}) => {
const backButtonStyle = {
color: (() => {
if (path === '') {
return colorBa... |
import { Constants } from "../constants";
import { Composer } from "../views/composer";
import dom from "../dom";
import { redraw } from "../quirks/redraw";
// TODO link to failing test
Composer.RegisterKeyboardHandler(function(e) {
return (
e.type === "keydown" &&
(e.keyCode === Constants.BACKSPACE_KEY || ... |
"use strict";
module.exports = "\nUsage: cat [OPTION]... [FILE]...\nConcatenate FILE(s), or standard input, to standard output.\n\n -A, --show-all equivalent to -vET\n -b, --number-nonblank number nonempty output lines, overrides -n\n -e equivalent to -vE\n -E, --show-ends ... |
export const apiUrl = ''
export const locale = 'en'
export const fallbackLocale = 'en'
// You can choose 'history' or 'hash'
export const routerMode = 'history'
|
import Service from '@ember/service';
export default Service.extend({
});
|
import PropTypes from 'prop-types';
import React, { PureComponent } from 'react';
import { connect } from 'react-redux';
import InputText from 'components/input/text';
import { EMAIL_LOGIN_SIGN_IN, EMAIL_LOGIN_SIGN_UP } from './api/constants';
import './email.scss';
class EmailLogin extends PureComponent {
static... |
/**
*
* App.react.js
*
* This component is the skeleton around the actual pages, and should only
* contain code that should be seen on all pages. (e.g. navigation bar)
*/
import React from 'react';
import Helmet from 'react-helmet';
import { AppBar } from 'material-ui';
import { push } from 'react-router-redux';... |
var test = async_test("Calling './../resources/file.txt' from Injected Script Process returns File object");
function getHandler() {
return function(evt) {
test.step(function() {
assert_equals(evt.data, "success", "Calling './../resources/file.txt' from Injected Script Process returns File object");
});
tes... |
module.exports = {
"extends": "airbnb",
"rules": {
"no-underscore-dangle": "off",
"prefer-rest-params": "off",
"no-restricted-syntax": "off",
"no-param-reassign": "off",
"class-methods-use-this": "off",
"strict": "off",
},
};
|
/*
* Controller for navigating between partial templates
* Requires app.js to be imported first
*/
controllers.controller("aboutController", ["$scope",
function aboutController($scope) {
}]
);
|
function initialize() {
var myOptions = {
center: new google.maps.LatLng(53.20, -7.0),
zoom: 7,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map_canvas"),
myOptions);
}
|
'use strict';
var convert = require('./convert'),
func = convert('map', require('../map'));
func.placeholder = require('./placeholder');
module.exports = func;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2NsaWVudC9saWIvbG9kYXNoL2ZwL21hcC5qcyJdLCJuYW1lcyI6... |
// this file should not be stolen directly
steal('can/util','can/observe', function( can ) {
// ## model.js
// `can.Model`
// _A `can.Observe` that connects to a RESTful interface._
//
// Generic deferred piping function
/**
* @add can.Model
*/
var pipe = function( def, model, func ) {
var d = new ... |
import Ember from 'ember';
export default Ember.Route.extend({
redirect: function () {
var url = this.router.location.formatURL('/not-found');
if (window.location.pathname !== url) {
this.transitionTo('/dashboard/not-found');
}
}
});
|
"use strict";
/**
* Created by ronze on 2/3/2016.
*/
exports.httpStatus = {
CONTINUE: 100,
SWITCHING_PROTOCOLS: 101,
PROCESSING: 102,
OK: 200,
CREATED: 201,
ACCEPTED: 202,
NON_AUTHORITATIVE_INFORMATION: 203,
NO_CONTENT: 204,
RESET_CONTENT: 205,
PARTIAL_CONTENT: 20... |
/*
Copyright (c) 2013 William Malone (www.williammalone.com)
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, merg... |
import React from 'react'
import Icon from 'react-icon-base'
const FaMoney = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m15.9 25.3h8v-2h-2.6v-9.3h-2.4l-3.1 2.9 1.6 1.6q0.9-0.7 1.2-1.2h0v6h-2.7v2z m10.7-5.3q0 1.5-0.5 2.9t-1.2 2.8-2.1 2.1-2.9 0.8-2.8-0.8-2.1-2.1-1.3-2.8-0.4-2.9 0.4-2.9 1.3... |
module.exports={A:{A:{"8":"H D G E JB","900":"A","1924":"B"},B:{"1":"1 C p J L N I"},C:{"1":"0 2 3 4 5 6 7 8 9 V W X Y Z a b d e f g h i j k l m n o M q r s t u v w x y z AB CB DB","8":"eB EB cB","516":"T U","772":"1 F K H D G E A B C p J L N I O P Q R S WB"},D:{"1":"0 2 3 4 5 6 7 8 9 X Y Z a b d e f g h i j k l m n o ... |
(function(window, undefined) {
console.log('initializing webgazer')
//strict mode for type safety
"use strict"
//auto invoke function to bind our own copy of window and undefined
//set up namespaces for modules
window.webgazer = window.webgazer || {};
webgazer.tracker = webgazer.tracker ||... |
// vendor dependencies
var expect = require('chai').expect
var local_enduro = require('../../index').quick_init()
var helper_handler = require(enduro.enduro_path + '/libs/helper_handler')
describe('Slug helper', function () {
before(() => {
return helper_handler.read_helpers()
})
it('should sluggify simple one... |
import { EventEmitter, ObservableWrapper } from 'angular2/src/core/facade/async';
export class SpyLocation {
constructor() {
this.urlChanges = [];
/** @internal */
this._path = '';
/** @internal */
this._query = '';
/** @internal */
this._subject = ne... |
'use strict';
// Configuring the notices module
angular.module('notices').run(['Menus',
function(Menus) {
// Set top bar menu items
// order of parameters
// menuId, menuItemTitle, menuItemURL, iconClass, menuItemType, menuItemUIRoute, isPublic, roles, position
Menus.addMenuItem('topbar', 'New Notice', 'notic... |
var thrift = require('thrift');
var ThriftTest = require('./gen-nodejs/ThriftTest');
var ttypes = require('./gen-nodejs/1_types');
transport = thrift.TBufferedTransport()
protocol = thrift.TBinaryProtocol()
var connection = thrift.createConnection("localhost", 7410, {
transport : transport,
protocol : protocol
})... |
// Remove Anchors
// removes selected anchor points
// JavaScript Script for Adobe Illustrator CS3
// Tested with Adobe Illustrator CS3 13.0.3, Windows XP SP2 (Japanese version).
// This script provided "as is" without warranty of any kind.
// Free to use and distribute.
// Copyright(c) 2005-2009 SATO Hir... |
const {
transformInvestmentValueFormBodyToApiRequest,
} = require('../../transformers/value')
const { grossValueAddedMessage } = require('./gross-value-added-message')
const { getOptions } = require('../../../../lib/options')
const { updateInvestment } = require('../../repos')
const { assign, get, merge } = require('... |
import {Component} from 'react';
import ComponentBaseBehaviour from '../../../behaviours/component-base';
@ComponentBaseBehaviour
class AutocompleteSelectConsult extends Component {
state = {};
componentDidMount() {
this._callKeyResolver(this.props.value);
}
componentWillReceiveProps({value})... |
var CoinDeskAPI = require('./index.js')
var coinDeskAPI = new CoinDeskAPI()
/*
CoinDeskAPI.getPricesForSingleCurrency('2010-07-17', '2010-07-19', 'USD', function(err, result) {
if (err) {
console.log(err)
} else {
console.log(result)
}
})
CoinDeskAPI.supportedCurrencies(function(err,result){... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... |
import Ember from 'ember';
import config from './config/environment';
var Router = Ember.Router.extend({
location: config.locationType
});
Router.map(function() {
this.route('manage', { path: '/manage/:app_id' });
this.route('create-app');
});
export default Router;
|
/**
* GoogleUrlShorterService
* https://developers.google.com/url-shortener/v1/getting_started
*
*
* @module :: Service
* @description :: Google Url Shorter Service
*/
var Request = require('request'),
Q = require('q');
module.exports = {
APIUrl: 'https://www.googleapis.com/urlshortener/v1/url',
... |
import About from './About';
export { About };
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.