code
stringlengths
2
1.05M
(function() { function AlbumListController($scope){ $scope.adding_album={}; $scope.add_album_error=""; $scope.albumNames=[ {name:'Madrid',title:'Weekend in Madrid',date:'12.03.2014', describtion: 'At Madrid'}, {name:'London',title:'Weekend in London',date:'11.06.2013',describtion: 'At London'}, {name:'Berlin',t...
import React from 'react'; import ContextMenu from '../../components/ContextMenu'; import AlloyEditorComponent from '../../components/AlloyEditorComponent'; export default class PageHtml extends React.Component { constructor(props) { super(props); } static getInfo() { return { ...
'use strict'; function focusOrCreateTab(url) { chrome.windows.getAll({'populate': true}, function (windows) { var existingTab; for (var i in windows) { if (windows.hasOwnProperty(i)) { var tabs = windows[i].tabs; for (var j in tabs) { if (tabs.hasOwnProperty(j)) { ...
// License: (MIT) Copyright (C) 2013 Scott Gay define([ "js/base.js", "js/libraries/jquery.min.js" ], function(Base){ underpin.subpagecontrols.base = function(parameters){ Base.call(this); this.init = function(){ this.parameters = parameters; } this.init(); } underpin.subpagecontrols.base.pro...
var Application = require("./Application") var express = require("express"); var app = express(); var bodyParser = require('body-parser'); var cookieParser = require('cookie-parser'); app.use(bodyParser.json()); app.use(bodyParser.urlencoded({ extended: true })); app.use(cookieParser()); app.all('*', function(req, ...
(function() { "use strict"; var parse_line, warnings; module.exports = function(grunt) { grunt.registerMultiTask('sass_linter', 'Advanced style guide fascism for SASS', function() { var error_count, options; options = this.options({ warn: { deep_selectors: true, multi_...
exports.action = { name: 'printerList', description: 'Returns an array of Printers from an Organization', version: 1, inputs: { required: [ 'organizationId' ], optional: [] }, outputExample: { printers: [ { name: 'My Color Printer', ...
// # Ghost Configuration // Setup your Ghost install for various [environments](http://support.ghost.org/config/#about-environments). // Ghost runs in `development` mode by default. Full documentation can be found at http://support.ghost.org/config/ var path = require('path'), config; config = { // ### Produ...
// 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 ...
var should = require("chai").should(); var path = require('path'); var month = require(path.join(process.cwd() + "/lib/month")); //Month test items describe('Month', function() { describe('object', function() { it('should return a month name', function() { var jan = month[1]; var may = month[5]; ...
import CardSet from "../../artifact/js/CardSet.js"; import CardSubset from "../../artifact/js/CardSubset.js"; import CardType from "../../artifact/js/CardType.js"; import Sphere from "../../artifact/js/Sphere.js"; import EntityFilter from "../../model/js/EntityFilter.js"; import RangeFilter from "../../model/js/RangeFi...
var searchData= [ ['operand',['Operand',['../class_operand.html',1,'']]], ['opexpression',['OPExpression',['../class_o_p_expression.html',1,'']]], ['opimmediate',['OPImmediate',['../class_o_p_immediate.html',1,'']]], ['oplabel',['OPLabel',['../class_o_p_label.html',1,'']]], ['opregister',['OPRegister',['../cl...
function ResetAddForm() { $('#add-user div.modal-body form div div input#input-user-name').val(''); $('#add-user div.modal-body form div div textarea#input-user-description').val(''); $('#add-user div.modal-body form div div input#input-user-deletable').prop('checked', false); } function ResetEditForm() { ...
export const compass2 = {"viewBox":"0 0 16 16","children":[{"name":"path","attribs":{"fill":"#000000","d":"M8 0c-4.418 0-8 3.582-8 8s3.582 8 8 8 8-3.582 8-8-3.582-8-8-8zM1.5 8c0-3.59 2.91-6.5 6.5-6.5 1.712 0 3.269 0.662 4.43 1.744l-6.43 2.756-2.756 6.43c-1.082-1.161-1.744-2.718-1.744-4.43zM9.143 9.143l-4.001 1.715 1.71...
var mongoose = require('mongoose'); module.exports = function() { var schema = mongoose.Schema({ sport: { type: mongoose.Schema.ObjectId, required: true }, name: { type: String, required: true }, description: { type: String, required: true }, date_...
angular.module('jeecommerce') .controller('cuentaController', function($scope, $http){ $scope.modificarPerfil = function(){ var hayErrores = false; if ($scope.frmPerfil.$invalid) { alertify.error("El formulario contiene campos no válidos. Por favor, revise los ...
import FlexItem from '../flex/FlexItem' export default FlexItem
// import rp from "request-promise"; import xhr from "xhr"; import SchedServerActionCreators from "../actions/schedServerActionCreators.js"; // TODO(pht) find how to clean that up const SCHED_API_URL = "http://localhost:8086/sched/api"; // The 'request promise' module seems to not be compilable anymore with // babel...
var newPlugin = require('./plugins').newPlugin; // Pixel restoration filters. See definitions.js. newPlugin('Blur(rd:, d:, b:MMX)'); newPlugin('Sharpen(rd:, d:, b:MMX)'); newPlugin('GeneralConvolution(i:bias, q:matrix, d:divisor, b:auto)'); newPlugin('SpatialSoften(ri:, ri:, ri:)'); newPlugin('TemporalSoften(ri:, ri:...
'use strict' require('./check-versions')() process.env.NODE_ENV = 'production' const ora = require('ora') const rm = require('rimraf') const path = require('path') const chalk = require('chalk') const webpack = require('webpack') const config = require('../config') const webpackConfig = require('./webpack.prod.conf')...
"use strict"; let axios = require("axios"); let cheerio = require("cheerio"); let url = require("../config").url; module.exports = { getLastDownloads() { return new Promise((resolve, reject) => { axios.get(url).then(response => { let $ = cheerio.load(response.data); let lastDownloads = $('.miniboxs.minib...
import { define, render, WeElement } from '../../src/omi' define('my-component', class extends WeElement { static propTypes = { user: Object } render(props) { return ( <div>name: {props.user.name}, age: {props.user.age}</div> ) } })
var stream = require('stream'); var util = require('util'); var fs = require('fs'); var os = require('os'); var path = require('path'); var CRLF = "\r\n"; var MIMECHUNK = 76; // MIME standard wants 76 char chunks when sending out. var BASE64CHUNK= 24; // BASE64 bits needed before ...
'use strict'; const fs = require('fs'), net = require('net'), filename = process.argv[2], server = net.createServer(function(connection) { // process called when connection is created // reporting console.log('Subscriber connected.'); connection.write(JSON.stringify({ type: 'watching', file...
(function ($) { // register namespace $.extend(true, window, { "Slick": { "CellExternalCopyManager": CellExternalCopyManager } }); function CellExternalCopyManager(options) { /* This manager enables users to copy/paste data from/to an external Spreadsheet application such as MS-E...
var searchData= [ ['feature',['feature',['../class_cell_geometry_animation.html#ac034a0c3200238ebfb525752fdff4bea',1,'CellGeometryAnimation']]], ['features',['features',['../class_gene.html#a555f8852e1dfda7c5ac9230dcd5a5cc8',1,'Gene::features()'],['../class_genome.html#a18edd762dd69f2f2d994142aa02ee8e3',1,'Genome::...
/* * This implements link hinting. Typing "F" will enter link-hinting mode, where all clickable items on the * page have a hint marker displayed containing a sequence of letters. Typing those letters will select a link. * * In our 'default' mode, the characters we use to show link hints are a user-configurable opti...
var gulp = require('gulp'); var rename = require('gulp-rename'); var sourcemaps = require('gulp-sourcemaps'); var uglify = require('gulp-uglify'); gulp.task('minify', function() { gulp.src('./dist/linq.js') .pipe(sourcemaps.init()) .pipe(uglify()) .pipe(rename('linq.min.js')) .pipe(sourcemaps.write('./'...
import $ from 'jquery/dist/jquery'; import {Socket} from './lib/socket'; import components from './components/index'; import api from './api/index'; // Open connection to server var connection = new Socket($('.status')); // Load components & apis components(connection); api(connection); // List active pens connectio...
var GlobalOffensive = require('./index.js'); GlobalOffensive.GCConnectionStatus = { HAVE_SESSION: 0, GC_GOING_DOWN: 1, NO_SESSION: 2, NO_SESSION_IN_LOGON_QUEUE: 3, NO_STEAM: 4 }; GlobalOffensive.ItemCustomizationNotification = { NameItem: 1006, UnlockCrate: 1007, XRayItemReveal: 1008, XRayItemClaim: 1009, C...
/* * @author zz85 / http://twitter.com/blurspline / http://www.lab4games.net/zz85/blog * * Subdivision Geometry Modifier * using Catmull-Clark Subdivision Surfaces * for creating smooth geometry meshes * * Note: a modifier modifies vertices and faces of geometry, * so use geometry.clone() if original geometr...
var React = require("react"), App = React.createFactory(require("../../components/app")); if (typeof window !== "undefined") { window.onload = function() { React.render(App(), document.getElementById("content")); }; }
export class FloatValueConverter { fromView(value) { const result = parseFloat(value) if (isNaN(result)) { return 0 } return result } }
import {observable} from 'mobservable' const counter = observable({ value: 0 }) export default counter
export { default as LoadingScreen } from './loading'
// Allows to use the standard jQuery API for cross-domain requests on IE8 define(['jquery'], function($) { if ( window.XDomainRequest ) { $.ajaxTransport(function( s ) { if ( s.crossDomain && s.async ) { if ( s.timeout ) { s.xdrTimeout = s.timeout; ...
class dximagetransform_microsoft_crinset_1 { constructor() { // int Capabilities () {get} this.Capabilities = undefined; // float Duration () {get} {set} this.Duration = undefined; // float Progress () {get} {set} this.Progress = undefined; // float StepRes...
(function() { var clone = fabric.util.object.clone; /** * IText class (introduced in <b>v1.4</b>) * @class fabric.IText * @extends fabric.Text * @mixes fabric.Observable * * @fires changed ("text:changed" when observing canvas) * @fires editing:entered ("text:editing:entered" when obs...
/** * Copyright (c) 2015-present, Alejandro Mantilla <@AlejoJamC>. * 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 or translated in the assets folder. */ var express = require('express'); var serviceRoutes =...
define(function () { function guid() { return Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15); }; return { guid: guid } });
export const download = {"viewBox":"0 0 20 20","children":[{"name":"path","attribs":{"d":"M15,7h-3V1H8v6H5l5,5L15,7z M19.338,13.532c-0.21-0.224-1.611-1.723-2.011-2.114C17.062,11.159,16.683,11,16.285,11h-1.757\r\n\tl3.064,2.994h-3.544c-0.102,0-0.194,0.052-0.24,0.133L12.992,16H7.008l-0.816-1.873c-0.046-0.081-0.139-0.133-...
/** * Created by dust2 on 15-1-11. */ $(document).ready(function(){ //站点脚注时间 $('#currYear').empty().append(new Date().getFullYear()) //异步发送post请求,发送需截词文本 $("#seg-form").submit(function(event) { event.preventDefault(); var $form = $( this ); var term = $form.find( 'textarea'...
var gulp = require('gulp'); var elixir = require('laravel-elixir'); var svgmin = require('gulp-svgmin'); var svgstore = require('gulp-svgstore'); // var path = require('path'); var jade = require('gulp-jade'); elixir.config.assetsPath = 'src/assets'; elixir.config.publicPath = 'dist/assets'; elixir.config.production =...
-My build DIGITAL Command Language: -Muhammad Adi Nugroho,S.Adm.Neg.: -Via My Notepad (HTML Editor): -HAR: { "log": { "version": "1.2", "creator": { "name": "WebInspector", "version": "537.36" }, "pages": [], "entries": [ { "startedDateTime": "2016-04-17T17:17:54.623Z", ...
import React from 'react' import { Button, Title, Paragraph, Modal, Marger } from 'kitten' import { DocsPage } from 'storybook/docs-page' const paragraphContainer = ` Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inven...
function decodeUTF16(buff) { var dist = []; for (var cx = 0, dx = buff; cx < dx; cx += 2) { var m = (buff[cx] << 8) + buff[cx + 1]; var t; if (m > 0b1101111111111111 || m < 0b1101100000000000) { t = m; } else { var n = (buff[cx + 2] << 8) + buff[cx...
import React from 'react'; import { shallow } from 'enzyme'; describe('(Component) Host', function() { it('should exist', function() { }); });
const postcss = require('postcss'); module.exports = postcss.plugin('postcss-precision', options => { options = options || {} options.units = options.units || '%|em|px|rem' options.precision = options.precision || 3 const isFloat = new RegExp(`([-+]?\\d*\\.\\d{${options.precision},})`, 'gi') c...
var Tccc; (function (Tccc) { var AdminSchedulesController = /** @class */ (function () { function AdminSchedulesController(scheduleApi, talkApi, $routeParams) { this.scheduleApi = scheduleApi; this.talkApi = talkApi; this.$routeParams = $routeParams; this.hasL...
function test() { var val1 = 'test'; var val2 = '["Headline 1","Headline 2","Headline 3"]'; var val3 = 'Headline 1'; var val4 = 'Headline 2'; var val5 = '{"nested":"object"}'; }
/* global describe, expect, it, jasmine */ var RecordHandler = require( '../../src/record/record-handler' ), msg = require( '../test-helper/test-helper' ).msg, StorageMock = require( '../mocks/storage-mock' ), SocketMock = require( '../mocks/socket-mock' ), SocketWrapper = require( '../../src/message/socket-wrapper...
//here we export the main object from the npm library //where we will convert it to an es module //below it is "chart.js" export {default} from "chart.js";
import ArticleMoveDialog from './article-move-dialog' export default ArticleMoveDialog
// Copyright 2016 David Lavieri. All rights reserved. // Use of this source code is governed by a MIT License // License that can be found in the LICENSE file. import * as types from './../constants/system_message'; const initialState = []; export {initialState}; export default (state = initialState, action) => { ...
var mongoose = require('mongoose'), Schema = mongoose.Schema; var publicacionDisLikeSchema = new Schema({ id_publicacion: { type: String, required: true }, id_usuario: { type: String, required: true }, fechaCreacion: { type: Date, default: Date.now } }); module.exports = mongoose.model('publicacionDisLike',...
// Copyright (c) 2012 Ecma International. All rights reserved. // Ecma International makes this code available under the terms and conditions set // forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the // "Use Terms"). Any redistribution of this code must retain the above // copyright and this n...
'use strict'; // setup ======================== var express = require('express'); var app = express.createServer(); var mongoose = require('mongoose'); var bodyParser = require('body-parser'); //SET USER AND PASSWORD! var user = ""; var pass = ""; // configuration ================== app.use(express.static('./app')...
/** * Cowboy is a powerful extension to Mootools Framework * @namespace cowboy namespace */ var cowboy = {}; /** * Extension to the Mootools Options * @class cowboy.Options * @implements {Options} */ cowboy.Options = new Class({ Implements: Options, /** * Extension to setOptions to get parameters from the ...
(function ($) { "use strict"; $("#contact").validate(); /* CONTACT FORM */ $("#contact").submit(function (e) { e.preventDefault(); var name = $("#form-name").val(); var email = $("#form-email").val(); var subject = $("#form-subject").val(); var message = $("#for...
var webpack = require('webpack'); var config = require('./webpack.config'); delete config.devtool; config.entry.demo = [config.entry.demo[0]]; config.plugins = [config.plugins[0], new webpack.optimize.UglifyJsPlugin({ sourceMap: false, output: { ascii_only: true } })]; config.module.loaders.forEach(functio...
var deasync = require('deasync'); var cheerio = require("cheerio"); var ACCEPTED_GENDER_VALUES = ['male','female','random']; var DEFAULT_GENDER_VALUE = 'random'; var ACCEPTED_COUNTRY_VALUES = ["au", "as", "bg", "br", "ca", "cyen", "cygk", "cz", "dk", "ee", "fi", "fr", "gr", "gl", "hu", "is", "it", "nl", "nz", "no", ...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M21.87 17c-.47 0-.85.34-.98.8-.35 1.27-1.51 2.2-2.89 2.2h-2v-2h1c1.1 0 2-.9 2-2v-.88c0-2.1-1.55-3.53-3.03-3.88l-2.7-.67c-.87-.22-1.57-.81-1.95-1.57H8.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5h2.52L11 7H8...
/* * grunt-card * https://github.com/sdicgdev/grunt-card * * Copyright (c) 2014 Evan Short * Licensed under the MIT license. */ 'use strict'; module.exports = function(grunt) { // Project configuration. grunt.initConfig({ jshint: { all: [ 'Gruntfile.js', 'tasks/*.js', '<%=...
import React from 'react' import PropTypes from 'prop-types' export default function wrapPage (app, Component) { return class extends React.Component { static displayName = `Page(${Component.displayName || Component.name})` static async getInitialProps (ctx) { const { query } = ctx const { actio...
requirejs.config({ baseUrl: 'scripts', paths: { backbone: '../bower_components/backbone/backbone', jquery: '../../bower_components/jquery/dist/jquery', jQuery: '../../bower_components/jquery/dist/jquery', underscore: '../bower_components/underscore/underscore', bootstrap: '../bower_components/boo...
import { combineReducers } from 'redux' import ideas from './ideas' const rootReducer = combineReducers({ ideas }) export default rootReducer
'use strict'; // Declare app level module which depends on views, and components angular.module('baikalApp', [ 'ngRoute', 'ngTouch', 'baikalApp.home', 'baikalApp.photo', 'baikalApp.media', 'baikalApp.version', 'baikalApp.services', 'baikalApp.controllers', 'baikalApp.filters', 'baikalApp.routes', ...
var ProviderClient = require('./ProviderClient'); module.exports = ReadOnlyProviderClient; function ReadOnlyProviderClient(provider) { ProviderClient.call(this, provider); } ReadOnlyProviderClient.prototype = Object.create(ProviderClient.prototype); ReadOnlyProviderClient.prototype.patch = function() { // Read-on...
exports.config = { seleniumAddress: 'http://localhost:4444/wd/hub', specs: ['e2e/spec.js'] }
(function() { 'use strict'; /* Services */ angular.module('myApp.services', []) // put your services here! // .service('serviceName', ['dependency', function(dependency) {}]); .factory('messageList', ['fbutil', function(fbutil) { return fbutil.syncArray('messages', {limit: 10, endAt...
'use strict' import smileyDead from './assets/smiley-dead.png' import smileySmile from './assets/smiley-smile.png' const sprites = document.getElementById('sprites') const canvas = document.getElementById('canvas') const width = canvas.width = 26 const height = canvas.height = 26 const ctx = canvas.getContext('2d') ...
'use strict'; angular.module('app', [ //modules 'app.templates', //pages 'app.pages.catalog', 'app.pages.book', //factories 'app.api.factory', 'ngMaterial', 'ngResource', 'ui.router' ]) .config(function($mdThemingProvider) { ...
var express = require('express'); var multiparty = require('multiparty'); var format = require('util').format; var app = module.exports = express(); app.get('/', function(req, res){ res.send('<form method="post" enctype="multipart/form-data">' + '<p>Title: <input type="text" name="title" /></p>' + '<p>Image...
/** * Created by Ed on 7/29/2015. * * jslint browser: true, tolerate: messy white space, maxerr: 50, * indent: 4 * globals: TEXTAPP document */ var TEXTAPP = {}; (function (textApp) { 'use strict'; textApp.newInventory = function () { var that = {}, inventory = []; that.fi...
import React from 'react'; class NotFound extends React.Component { render() { return ( <div> <h1>404 Opps</h1> </div> ); } } export default NotFound;
const chai = require("chai"); const chaiAsPromised = require("chai-as-promised"); const nock = require("nock"); chai.use(chaiAsPromised); chai.should(); const pnut = require("../lib/pnut"); before(function() { let base = "https://api.pnut.io/v0"; nock(base) .get("/posts/1") .reply(200, {}); nock(base)...
var namespaceapp = [ [ "actions", null, [ [ "models", "namespaceapp_1_1actions_1_1models.html", "namespaceapp_1_1actions_1_1models" ] ] ], [ "charges", null, [ [ "models", "namespaceapp_1_1charges_1_1models.html", "namespaceapp_1_1charges_1_1models" ] ] ], [ "committees", null, [ [...
class dximagetransform_microsoft_wipe_1 { constructor() { // int Capabilities () {get} this.Capabilities = undefined; // float Duration () {get} {set} this.Duration = undefined; // float GradientSize () {get} {set} this.GradientSize = undefined; // string M...
setTimeout(function () { process.stdout.write('second stdout'); }, 300); setTimeout(function () { process.stdout.write('third stdout'); }, 1400); setTimeout(function () { process.exit(); }, 1600); process.stdout.write('first stdout');
/* eslint no-process-env: 0 */ // Generate random bucket name so to ensure tests preparation // are not restricted by an existing bucket. const bucket = 'wrhs-test'; const acl = 'public-read'; const s3endpoint = 'http://localhost:4572'; const pkgcloud = { accessKeyId: 'fakeId', secretAccessKey: 'fakeKey', provi...
/* eslint-disable no-undef */ import React from 'react'; import { mount, render } from 'enzyme'; import DropdownMenu from '../src/DropdownMenu'; import { Item as MenuItem, ItemGroup as MenuItemGroup } from 'rc-menu'; describe('DropdownMenu', () => { it('renders correctly', () => { const menuItems = [ <Menu...
module.exports = { name: 'crawler-admin', db: { mongo: { host: 'localhost', port: 27017, name: 'crawler' }, redis: { host: 'localhost', port: 6379, index: 7, ttl: 3600 * 24 * 365, secret: '1' ...
import styled, { keyframes } from 'styled-components'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import ModalComponent from 'common/Modal'; import ButtonComponent from 'components/Button'; const spin = keyframes` from { transform:rotate(0deg); } to { transform:rotate(...
'use strict'; const { resolvePluginConfig, extendDefaultPlugins, } = require('../../lib/svgo/config.js'); describe('config', function () { describe('extend config with object', function () { var plugins = [ { name: 'removeDoctype', active: false }, { name: 'convertColors', params: { shorthex: fa...
var botContext = require('bot/bot-context'); exports.postHook = function postHook(req, res) { try { require(req.params.skill); } catch (ex) { return res.status(400).send("The '" + req.params.skill + "' skill is not installed."); } try { var targetHooksFunction = require(req.par...
/** * Created by MuyBien on 1/31/16. */ $(document).ready(function() { initializePage(); }) function initializePage() { console.log("initializing pages..."); //$('.AddTestJournal').click(function(e) { // e.preventDefault(); // console.log("add new test journal button clicked!"); // ...
var PeerConnection = require('rtcpeerconnection'); var WildEmitter = require('wildemitter'); function Peer(options) { var self = this; this.id = options.id; this.parent = options.parent; this.oneway = options.oneway || false; this.browserPrefix = options.prefix; this.stream = options.stream; ...
var packager = require('electron-packager'); var config = require('./package.json'); packager({ dir: './', out: './dist', name: config.name, platform: 'win32,darwin', arch: 'x64', version: '0.30.0', icon: './app.icns', 'app-bundle-id': 'jp.co.liginc.demoapp.electron', 'app-version':...
/** * main.js * * @version 1.0 * * DESCRIPTION: * Core module for the CLIENT-side application of RugbyTrack. * * uses backbone.js MVC framework, which depends on the underscore.js utility library. * The main concept I follow when using Backbone.js is to make Views listen for * changes in the Model and rea...
version https://git-lfs.github.com/spec/v1 oid sha256:c280ca7aca0f5ce13201691215499fb8b241dee846a545113ba31263e44b6518 size 34281
/*jslint browser: true*/ /*global console, Framework7, MyApp, $document*/ MyApp.angular.factory('DataService', ['$document', function ($document) { 'use strict'; }]);
'use strict'; jest.dontMock('../lib/util-guid'); var guid = require('../lib/util-guid'); describe('guid', () => { it('#guid(16) should return a string whose length is 16', () => { expect(guid(16).length).toBe(16); }); it('#guid(32) should return a string whose length is 32', () => { expect(guid(32).len...
/* * Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved. * * 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 ri...
/* Static dependencies */ import '../index.html'; // import '../stylesheets/style'; /* JS dependencies */ import React from 'react'; import { Router, Route, IndexRoute, Link } from 'react-router'; import { createHistory, useBasename } from 'history'; /** Components **/ import ConcentrationGameApp from './components/Co...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by CodeZu. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-----------------------------------...
var should = require('should')() var assert = require("assert") var osmdown = require('../lib') describe('Parser', function() { it('Should run the parse function', function(done) { osmdown.parse() done() }) })
/* * Copyright (c) 2015 by Greg Reimer <gregreimer@gmail.com> * MIT License. See mit-license.txt for more info. */ import $ref from './ref'; /* * Recursively iterate through every node in a JSON object tree. */ export default function* walkObj(value, parents, path, parent, key) { parents = parents || []; p...
import React from "react"; import ReactDOM from "react-dom"; import Home from "./home.js"; import Archive from "./archive.js"; import Resume from "./resume.js";
/** * A binder that toggles an attribute on or off if the expression is truthy or falsey. Use for attributes without * values such as `selected`, `disabled`, or `readonly`. */ module.exports = function(specificAttrName) { return function(value) { var attrName = specificAttrName || this.match; if (!value) {...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.8/esri/copyright.txt for details. //>>built define("require exports dojo/_base/lang ../../core/Warning ./PointCloudBitfieldFilter ./PointCloudReturnFilter ./PointCloudValueFilter".split(" "),function(n,b,g,h,...