code
stringlengths
2
1.05M
import styled from 'styled-components' import forEach from '../../styles/utilities/forEach' import { getColor } from '../../styles/utilities/color' export const config = { color: getColor('grey.400'), size: { md: 20, sm: 12, xs: 8, none: 0, }, } export const HrUI = styled('hr')` border: 0; b...
const assert = require('chai').assert; const pth = require('path'); const { isExcludedFile, isDirectory, isRequiredFileExtension, findFiles, loadFileAsJson, } = require('../lib/helpers/file'); describe('File', () => { it('isRequiredFileExtension', () => { assert.ok(isRequiredFileExtensi...
'use strict'; const Type = require('../type'), lodash = require('lodash'), Helper = require('../helper'); /** * Given two objects, a step key is returned. * * @param {mixed} input * @param {mixed} output * @return {string} */ function keyBetween(input, output) { return `${Type.string(input)}....
module.exports = function(grunt) { grunt.initConfig({ less: { development: { options: { paths: ["./client/less/"], yuicompress: true }, files: { "./client/css/all.css": "./client/less/*.le...
module.exports = {"2033":{"id":"2033","parentId":"240","name":"\u4fe1\u5dde\u533a"},"2034":{"id":"2034","parentId":"240","name":"\u5fb7\u5174\u5e02"},"2035":{"id":"2035","parentId":"240","name":"\u4e0a\u9976\u53bf"},"2036":{"id":"2036","parentId":"240","name":"\u5e7f\u4e30\u53bf"},"2037":{"id":"2037","parentId":"240","...
var Luc = require('luc'), counsell = require('counsell'); exports.timeStamp = (typeof performance !== 'undefined' && performance.now) ? function() { return performance.now(); } : function() { return new Date().getTime(); }; exports.console = counsell;
import types from 'config/types'; import mustacheType from 'parse/converters/mustache/type'; import handlebarsBlockCodes from 'parse/converters/mustache/handlebarsBlockCodes'; import 'legacy'; var indexRefPattern = /^\s*:\s*([a-zA-Z_$][a-zA-Z_$0-9]*)/, arrayMemberPattern = /^[0-9][1-9]*$/, handlebarsBlockPattern = n...
(function () { "use strict"; var apiUrl = "https://csse280-kanpekianime-backend.herokuapp.com/"; var animeidList; var anime = []; var username; var animeID; function getAnimeByID() { $.ajax({ url: apiUrl +"animes/anime/"+ animeID, type: 'GET', dat...
#!/usr/bin/env node /** * LINKURIOUS * Copyright Linkurious SAS 2012 - 2017 * * - Created by david on 2017-02-13. */ 'use strict'; const PattyServer = require('../src/PattyServer'); const PattyError = require('../src/PattyError'); /** * @param {Error} e */ function handleError(e) { const pe = PattyError.fi...
const jose = require('node-jose'); const jwt = require('jsonwebtoken'); module.exports = function ({ privateKey, publicKey, issuer }) { const keyStore = jose.JWK.createKeyStore(); const keyStoreReady = keyStore.add(privateKey, 'pem'); function encodeToken({sub, aud = issuer, plans, exp}) { ...
function Scrolly () { var articleWidth = 340 var sectionPositions = [] var currentSection = 0 var $el = { window: $(window), article: $('.scrolly-article'), slides: $('.scrolly-slide'), sections: $('.scrolly-section') } /* * UTILITIES */ function findClosest (array, target) { return ...
var TypeOtter = (function(obj, $) { obj.documentIndex = 1; obj.originalContent = ''; /** * Main function to start typesetting dom element with all preprocess functions. */ obj.run = function (settings, callback) { var dom = null; // Validate settings. var s...
'use strict'; // Use applicaion configuration module to register a new module ApplicationConfiguration.registerModule('dispositivos');
var classHelix_1_1Logic_1_1dev_1_1DOChild = [ [ "DOChild", "classHelix_1_1Logic_1_1dev_1_1DOChild.html#acb94b50bec4248305724cdfd6fc58d4b", null ], [ "DOChild", "classHelix_1_1Logic_1_1dev_1_1DOChild.html#a4994f5e0c08fa27744abf89829b8706a", null ], [ "~DOChild", "classHelix_1_1Logic_1_1dev_1_1DOChild.html#af...
describe("Sign Offs Controller", function () { var sut, mocks, logger; var $q, $rootScope; beforeEach(function () { module("app", function ($provide) { $provide.value("authService", {}) }); mocks = { common: { logger: jasmine.createSpyObj('logger', ['getLogger']...
import React from 'react' import PropTypes from 'prop-types' class Carousel extends React.Component { static propTypes = { active: PropTypes.number, direction: PropTypes.string, infinite: PropTypes.bool, slides: PropTypes.array, total: PropTypes.number, onSetTotal: PropTypes.func, onGoto...
define( [ "./core", "./var/document", "./var/rnotwhite", "./var/slice", "./data/var/dataPriv", "./core/init", "./selector" ], function( jQuery, document, rnotwhite, slice, dataPriv ) { var rkeyEvent = /^key/, rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, rtypenamespace = /^([^.]*)(?:\.(.+)...
/** * Chord Formulas * @type {Array} */ export default [ { name: 'Major', pattern: [0, 4, 7], regex: /^[a-g]?(#|b)?(maj)?$/i }, { name: 'Major7', pattern: [0, 4, 7, 11], regex: /^[a-g]?(#|b)?(maj)?7$/i }, { name: 'Minor', pattern: [0...
define([ 'require', 'angular', 'angular-route' ], function(require, angular) { angular.module('app', ['ngRoute']) .config(['$routeProvider', function($routeProvider) { } ]); // bootstrap Angular after require.js and DOM are ready angular.eleme...
"use strict"; exports.__esModule = true; exports.default = void 0; var _index = require("marko/src/runtime/html/index.js"); var _index2 = _interopRequireDefault(require("./components/hello/index.marko")); var _renderTag = _interopRequireDefault(require("marko/src/runtime/helpers/render-tag.js")); var _renderer = _...
var express = require('express'), router = express.Router(), locale = require('../locale/en_gb'), passport = require('passport'), flash = require('connect-flash'), session = require('express-session'); var movieData, imgDir = 'public/images/w342/', thumbDir = 'public/images/w92/'; router.use(flash(...
import uuid from 'uuid/v1'; import Circle from '../circleModel'; import { checkIfCirclePathFullExists } from './checkIfCirclePathFullExists'; export async function createCircle(circle) { let response = null; const newCircle = circle; // Take creating unique path inside Relay mutation and place here to prevent h...
/** * Water particles * * Originally created by http://hakim.se/ * http://hakim.se/experiments/html5/wave/03/ * */ /** * */ function Wave() { /** The current dimensions of the screen (updated on resize) */ var WIDTH = window.innerWidth; var HEIGHT = window.innerHeight; /** Wave colours, t...
"use strict"; var schema = { id: "main", fields: [{ name: "a", type: "int8" }, { name: "b", fields: [{ name: "c", type: "int8", }, { name: "d", type: "int8[]", }] }] }; var data = { a: 127, b: { ...
'use strict' const autoprefixer = require('autoprefixer') const path = require('path') const webpack = require('webpack') const HtmlWebpackPlugin = require('html-webpack-plugin') const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin') const InterpolateHtmlPlugin = require('react-dev-utils/Inter...
(function() { 'use strict'; angular .module('cloudbudget') .factory('AuthenticationService', AuthenticationService); AuthenticationService.$inject = ['$http', '$cookieStore', '$rootScope', 'apiRoutes']; function AuthenticationService($http, $cookieStore, $rootScope, apiRo...
import Log from 'cli-logger'; const logger = Log({ src: true, level: process.env.NODE_ENV == 'test' ? Log.TRACE : Log.WARN, console: false, prefix: function(record) { return `${new Date()} (${record.component || 'Main'}) [${this.names(record.level)}] <${record.src.file || ''}:${record.src.line ...
'use strict'; const TYPES = require('./../consts/types'), IDENTIFIERS = require('../consts/identifiers'); class StateChangedModel { /** * Initialize state changed model */ constructor(stateChangedPayload) { Object.assign( this, this._initStateChangedModel(state...
/******************************************************* * * * PhysicsManager * * * * PhysicsManager manages PhysicsComponent-components * * added to game objects. ...
/** * Created by WareBare on 4/24/2017. * * @author WareBare (Daniel Kamp) * @license MIT * @website https://github.com/WareBare * */ module.exports = class aMonster extends libWZ.GrimDawn.Assets.cAsset{ constructor($saveFilePath){ super($saveFilePath); this.opt = { ...
// Copyright (c) 2012,2013 Peter Coles - http://mrcoles.com/ - All rights reserved. // Use of this source code is governed by the MIT License found in LICENSE // // console object for debugging // var log = (function() { var parElt = document.getElementById('wrap'), logElt = document.createElement('div');...
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b)...
var express = require('express'); var mongoose = require('mongoose'); var router = express.Router(); var mUsers = mongoose.model('users'); var passport = require('passport'); router.post('/sign-up', function( req, res) { var newUser = new mUsers(req.body); mUsers.findOne({'username': req.body.username}, function(err...
(function() { 'use strict'; angular .module('uniConnectApp') .filter('capitalize', capitalize); function capitalize() { return capitalizeFilter; function capitalizeFilter (input) { if (input !== null) { input = input.toLowerCase(); ...
'use strict'; import React, { Component } from 'react'; import { StyleSheet, View, WebView, } from 'react-native'; import { connect } from 'react-redux'; import Style from '../common/style'; import Loading from '../components/loading'; import NavBar from '../components/navbar'; class Detail ext...
/** * parseQueryString helper * Author: Nicholas Ortenzio * https://github.com/youbastard/jquery.getQueryParameters * License: MIT */ jQuery.extend({ parseQueryString : function(str) { return (str || document.location.search) .replace(/(^\?)/,'') .split("&") .map(function(n) { return n = ...
import { Action } from 'airflux'; export const onMouseDown : Action = new Action().asFunction;
'use strict'; import gulp from 'gulp'; import uglify from 'gulp-uglify'; import rename from 'gulp-rename'; gulp.task('shiv', () => { return gulp.src(global.config.libraries.shiv) .pipe(uglify()) .pipe(rename({ suffix: '.min', extname: '.js', })) .pipe(gulp.dest(global.config.const_settings.distLocatio...
(function(exports) { /** * @class Handles interactions with the application cache events. * * @extends Ember.Object * @extends NotificationsMixin */ var AppCacheController = Ember.Object.extend(NotificationsMixin, { /** * Displayed as a notification when the application has updated code. * @type {S...
var o = require('./o-bootstrap.js'); var o_InstanceOfType = require('./o-InstanceOfType.js'); module.exports = o.functionType = (function(){ "use strict"; return new o_InstanceOfType( Function, { name: 'o.functionType' } ); })();
module.exports = { 'build:cms_css': [ 'less:cms', 'cssmin:cms_less', 'clean:cms_less' ], 'build:cms_js': [ 'ts:cms', 'uglify:cms_ts', 'uglify:cms_js', 'clean:cms_ts' ], 'build:cms': [ 'clean:cms_pre', 'copy:cms_img', 'co...
import { connect } from 'react-redux' import { Tabs } from '../components/Tabs' import * as TabsActions from '../actions/tabs' const mapStateToProps = (state, props) => ({ tabs: state.tabs }) const mapDispatchToProps = (dispatch) => ({ handleAdd: (id) => dispatch(TabsActions.addItem(id)), handleRemove: (id) => ...
"use strict"; const CLOSE_PARENTHESIS = Symbol.for('CLOSE_PARENTHESIS'); const NAME = Symbol.for('NAME'); const stylecow = require('../index'); stylecow.ConditionalFeatureBoolean = class ConditionalFeatureBoolean extends require('./classes/node-name') { static create (reader, parent) { if (...
/** il.Permissions javascript module LICENSE MIT 2015 Ivan Lausuch <ilausuch@gmail.com> */ function ilPermissions(allowedPermissionList){ this.allowedPermissionList=allowedPermissionList; this.match=function(permission,template){ template=template.split("#"); permission=permission.split("#"); if (temp...
(function() { return { name: 'ky', weekdays: 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split('_'), months: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_'), weekStart: 1, weekdaysShort: 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'...
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), errorHandler = require('./errors.server.controller'), Customer = mongoose.model('Customer'), _ = require('lodash'); /** * Create a Customer */ exports.create = function(req, res) { if(req.session.tenantid) { var customer = new ...
/** * @license Angular v5.0.0 * (c) 2010-2017 Google, Inc. https://angular.io/ * License: MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/common/testing'), require('@angular/core'), require('@angular/...
if (typeof exports === 'object') { var assert = require('assert'); var alasql = require('..'); } else { __dirname = '.'; } if (typeof exports != 'object') { describe('Test 208 WebWorker', function () { it('1. WebWorker', function (done) { alasql.worker(); alasql('SELECT VALUE 100', [], function (res) { ...
import "babel-polyfill"; import expect from "expect"; import fs from "fs"; import App from "../../../../lib/models/app"; import LocalReleaseFinder from "../../../../lib/finders/local/release"; describe("LocalReleaseFinder", () => { let finder, app; beforeEach(() => { finder = new LocalReleaseFinder(__dirname)...
import './layout.html'
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
import {each} from '../each'; import {iterator} from '../iterator'; /** * A immutable set implemented on top of a key/value map. Since the set is implemented as a balanced search tree, keys * must be comparable. * * ```js * import {Set} from 'uforanderlig'; * ``` */ export class Set { /** * Create a new se...
/** * Export lib/mongoose * */ module.exports = require('./lib/');
var QuizUI = { displayNext: function() { if(quiz.hasEnded()) { this.displayScore(); } else { this.displayQuestion(); this.displayChoices(); this.displayProgress(); } }, displayQuestion: function() { this.populateIdWithHTML("question", quiz.getCurrentQuestion().text); }, ...
function euler231() { // Good luck! return true } euler231()
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var git = exports.git = { "viewBox": "0 0 1792 1792", "children": [{ "name": "path", "attribs": { "d": "M595 1514q0-100-165-100-158 0-158 104 0 101 172 101 151 0 151-105zM536 759q0-61-30-102t-89-41q-124 0-124 145 0 135 124 135 119 0 119-137...
'use strict'; var factory = require('../octicon.js'); // This is an auto-generated ES2015 icon from the modularize script. Please do not modify this file. var primitiveSquare = factory('primitive-square', 8, 16, {"fill-rule":"evenodd","d":"M8 12H0V4h8v8z"}, ["box"]); module.exports = primitiveSquare;
/** * Component definition for the text-input-renderer component */ import layout from './template' import {CellRenderer} from 'ember-frost-table' // BEGIN-SNIPPET text-input-renderer export default CellRenderer.extend({ layout, actions: { } }) // END-SNIPPET
module.exports = function() { /** * Check Bulgarian EGN codes for validity * * @param {String} egn * @return {Boolean} */ this.validate = function(egn) { var date = initDate(egn); var checkSum = computeCheckSum(egn); if(isValidLength(egn) && contai...
const chalk = require('chalk'); const moment = require('moment'); const log = (...info) => { const str = `${chalk.bgGreen(getTime())} ${chalk.white(info)}`; console.log(str); } const error = (...info) => { const str = `${chalk.bgRed(getTime())} ${chalk.white(info)}`; console.log(str); } const warn = (...info...
var request = require("request"); var options = { method: 'POST', url: 'http://186.249.34.34/api/consulta', headers: { 'cache-control': 'no-cache', 'content-type': 'application/json', authorization: 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJoZW5yaXF1ZUBlbnRlcnBsdWcuY29tLmJyIiwiZXhwIjo...
function triangleArea(a,b,c) { let p = (a+b+c)/2; let area = Math.sqrt(p*(p-a)*(p-b)*(p-c)); return area; }
/** * @file urn.js * @author Tony Ngan * @desc Includes all keywords need in express-saml2 */ module.exports.namespace = { binding: { redirect: 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect', post: 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST', arifact: 'urn:oasis:names:tc:SAML...
var fetch = require('isomorphic-fetch'); /** * Parses data sent over http where response stream is contiguous JSON objects (without separated by any character) * Drops JSON messages which are received partially across chunks * * Registered callback receives events of different types: * {type: "error", msg: "err...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.validateSchema = validateSchema; exports.assertValidSchema = assertValidSchema; var _find = _interopRequireDefault(require("../polyfills/find")); var _objectValues = _interopRequireDefault(require("../polyfills/objectValues")); v...
import { mergeData } from "../utils"; export const props = { tag: { type: String, default: "div" }, flush: { type: Boolean, default: false } }; export default { functional: true, props, render(h, { props, data, children }) { const componentData = { ...
// The MIT License (MIT) // Copyright (c) 2014 command-mapper contributors var _ = require("lodash"); function ParsedArguments() { this._ = []; this.options = {}; } ParsedArguments.prototype.addOption = function(option, value, original) { this.options[option] = { value: value, original: original }; }...
var driver = require('../config/driver'); var Latest = (function() { var _latestData = function(callback) { if (!driver.collection) { callback({ err: 'Unable to find database' }); return; } driver .collection .aggregate([ { $group: { _id: '$rover' , sol: { $max: '$sol' ...
'use strict'; import angular from 'angular'; import 'angular-mocks'; window.ngModule = angular.mock.module; function load(url) { let data; $.ajax({ dataType: 'json', url: url, async: false, success: function(result) { data = result; } }); return dat...
// Copyright Joyent, Inc. and other Node contributors. // // 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, modi...
(function () { var React, div, isEqualToObject, ValueWrapper; React = require('react'); div = require('react-dom-factories').div; isEqualToObject = require('prelude-extension').isEqualToObject; module.exports = ValueWrapper = (function (superclass) { var prototype = extend$((import$(ValueWra...
'use strict'; var $path = require('path'); //////////////////////////////////////////// // Simpler check for null/undefined; function isNull(value) { return value === null || value === undefined; } //////////////////////////////////////////////////////// // Verifies parameter for being a non-empty tex...
/* Buffer https://github.com/audiocogs/aurora.js */ (function() { function BufferJS(input) { if (input instanceof Uint8Array) { this.data = input; } else if (input instanceof ArrayBuffer || Array.isArray(input) || typeof input === 'number') { this.data = new Uint8Array(input); } else if (input.bu...
var gulp = require('gulp'); var express = require('express'); var gutil = require('gulp-util'); var compress = require('compression'); var logger = require('morgan'); var open = require('open'); var paths = require('../lib/paths'); var config = { root: process.cwd() + paths.publicDirectory.substr(1), port: proces...
function DignityAIBase() { DignityObject.call(this); this.parentObject = null; this.bullets = null; this.life = 100; this.value = 0; this.level = 0; //move speed this.speed = 1; this.missionList = []; this.missionIndex = 0; //for sense this.friendList = [];...
// The video for this file: // https://youtu.be/oGczYPNAs1k "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const cat = null; cat.age.get();
document.onkeydown = KeyPress; // Shift + Tab $(document).bind('keydown', 'Shift+tab', function(e) { previous_focus(); e.preventDefault(); }); // Tab $(document).bind('keydown', 'tab', function(e) { next_focus(); e.preventDefault();}); $("textarea").keydown(function(e) { if(e.keyCode === 9) { // tab if (...
/* vim: set ts=2: */ /*jshint eqnull:true */ /* Spreadsheet Format -- jump to XLSX for the XLSX code */ var SSF = (function() { var SSF = {}; String.prototype.reverse=function(){return this.split("").reverse().join("");}; var _strrev = function(x) { return String(x).reverse(); }; function fill(c,l) { return new Array(...
(function(exp){ var eventController; eventController = (function(core, util){ var handle, $window = $(window), callback, targetFormId, baseFormId; // method function alignment (formId){ core.mod.aligner .setFocus(formId, { ...
var appServices = angular.module('appServices'); appServices.factory('countriesService', ['$http', '$q', '$rootScope', function ($http, $q, $rootScope) { // // INIT CONFIG // var API = 'API/api/web/v1/countries'; // // Generate a service promise. // var GET_SERVICE_PROMISE = function ($q, $http, verb, url, b...
function truncate(str, len) { len = len || 30; if (str.length > len && str.length > 0) { var new_str = str + " "; new_str = str.substr (0, len); new_str = str.substr (0, new_str.lastIndexOf(" ")); new_str = (new_str.length > 0) ? new_str : str.substr (0, len); return new Handlebars.SafeString (...
// This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative ...
/* * This file is part of the Bruery Platform. * * (c) Viktore Zara <viktore.zara@gmail.com> * (c) Mell Zamorw <mellzamora@outlook.com> * * Copyright (c) 2016. For the full copyright and license information, please view the LICENSE file that was distributed with this source code. */ /*! * FileInput ...
// The MIT License (MIT) // Copyright (c) 2014 Machine Intelligence Laboratory (The University of Tokyo) // 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 wi...
// VVVV.js -- Visual Web Client Programming // (c) 2011 Matthias Zauner // VVVV.js is freely distributable under the MIT license. // Additional authors of sub components are mentioned at the specific code locations. (function($) { VVVV.Types.CanvasTexture = { imageObject: undefined, loaded: false }; VVVV.Types.Canva...
import React, { Component } from 'react'; import Hourglass from './Hourglass'; import './App.css'; class App extends Component { render() { const html = ( <div className="App"> <div className="App-header"> <h2>Deserve time for rest by work</h2> </div> <Hourglass id="{hourg...
#!/usr/bin/env node const main = require('./src/index'); const updateNotifier = require('update-notifier'); const pkg = require('./package'); updateNotifier({ pkg }).notify(); const args = process.argv.slice(2); if (args[0] && args[0] === '-v' || args[0] === '--version') { console.log(pkg.version); process.exit(...
import User from '../models/user'; import serverConfig from '../config'; import jwt from 'jwt-simple'; import { sha512 } from '../util/security'; export function signIn(req, res) { if (!req.body.email || !req.body.password) { res.status(403).end(); } else { User.findOne({ email: req.body.email }) .th...
version https://git-lfs.github.com/spec/v1 oid sha256:e12db9e20bf738c0164d6e70ace7e4ef45d54e50df4c17ccd64461e4c11ce705 size 58645
require.config({ baseUrl: '../../', paths: { 'text': 'node_modules/requirejs-text/text', 'fixtures': 'tests/fixtures', 'bouncefix': 'node_modules/bouncefix.js/dist/bouncefix.min', '$': 'node_modules/jquery/dist/jquery.min', 'velocity': 'node_modules/velocity-animate/veloc...
version https://git-lfs.github.com/spec/v1 oid sha256:19b5e30747b598414c3e2983c372ccb55d8d42c75c67081b177a5c29a97c1851 size 8693
var API_URL = 'https://vircurex.com/api/get_info_for_1_currency.json'; function getURL (currency, baseCurrency) { var params = '?base=' + (currency || '').toLowerCase(); params += '&alt=' + (baseCurrency || '').toLowerCase(); return API_URL + params; } exports.getURL = getURL; function formatResponse (res) { ...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Col, Panel, Row } from 'react-bootstrap'; import { Link } from 'react-router'; import i18n from '../../lib/i18n'; import Storage from '../../lib/models/Storage'; import TableLayout from '../general/TableLayout'; export default clas...
/* componetization */ import React from "react"; import Radium from "radium"; // import _ from "lodash"; import * as d3 from "d3"; import mountains from "../../data/mountains"; import Heading from "../framework/heading"; class Labels extends React.Component { render() { console.log(mountains) const leftPa...
function setupOnePage() { sh_highlightDocument('/js-better-faster/static/js/sh_lang/', '.min.js') $(".preso > .slide").each(function(s, elem) { var slide_height = $(elem).height() var mar_top = (0.5 * parseFloat($(elem).parent().height())) - (0.5 * parseFloat(slide_height)) $(elem).css('margin-top', ...
exports.run = function (callback) { callback(); };
import React, {Component} from 'react'; import {Link } from 'react-router' class DevNav extends Component { render() { return ( <ul className="site-menu"> <li className="site-menu-category">General</li> <li className="site-menu-item "> <Link to={'/dashboard'}> <i className="site-menu-icon wb-d...
import _ from 'lodash' import {Mongo} from 'meteor/mongo' import settings from './cache.js' export const MigrationHistory = new Mongo.Collection('_cacheMigrations') let migrations = [] export function addMigration(collection, insertFn, options){ let opts = _.clone(options) if(opts.collection){ //prevent Error: C...
'use strict'; var webpack = require('webpack'); var autoprefixer = require('autoprefixer'); var precss = require('precss'); module.exports = { entry: [ 'webpack-dev-server/client?http://0.0.0.0:8080', 'webpack/hot/only-dev-server', './example/app.js' ], output: { path: __di...
exports.info = { FormatID: '1221', FormatName: 'AutoCAD Drawing', FormatVersion: '2010/2011/2012', FormatAliases: '', FormatFamilies: '', FormatTypes: 'Image (Vector)', FormatDisclosure: '', FormatDescription: 'This is an outline record only, and requires further details, research or authentication to pro...