code stringlengths 2 1.05M |
|---|
var util = require('util');
var wolfram = require('wolfram');
var BaseTrigger = require('./baseTrigger.js').BaseTrigger;
/*
Trigger that responds to messages using Wolfram Alpha.
command = string - a message must start with this + a space before a response will be given
appId = string - the app ID to use when creatin... |
define(function() {
return {
blank_function: function(){},
};
});
|
'use strict';
angular.module('nachosSettingsApp')
.controller('Packages', function ($scope, $timeout, $state) {
var packages = require('nachos-packages');
var _ = require('lodash');
$scope.types = packages.Packages.TYPES;
$scope.view = function (item) {
$state.go('main.package-settings', {ite... |
/*
* JScript Render - Javascript renderization tools
* http://www.pleets.org
* Copyright 2014, Pleets Apps
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*
* Date: 2015-01-22
*/
/* JScriptRender alias */
if (!window.hasOwnProperty('JScriptRender'))
JScriptRender =... |
{
"type": "FeatureCollection",
"features": [
{ "type": "Feature", "properties": { "Unnamed: 0": 0, "Incident Number": 103340050, "Date": "11\/30\/2010", "Time": "10:11 AM", "Police District": 4.0, "Offense 1": "MOTOR VEHICLE THEFT", "Offense 2": null, "Offense 3": null, "Offense 4": null, "Offense 5": null, "Location":... |
const React = require('react')
const { shell } = require('electron')
const ModalOKCancel = require('./modal-ok-cancel')
const { dispatch } = require('../lib/dispatcher')
module.exports = class UpdateAvailableModal extends React.Component {
render () {
const state = this.props.state
return (
<div class... |
'use strict'
/**
* OAuth 2.0 Authentication Protocol
*
* OAuth 2.0 is the successor to OAuth 1.0, and is designed to overcome
* perceived shortcomings in the earlier version. The authentication flow is
* essentially the same. The user is first redirected to the service provider
* to authorize access. After autho... |
/**
* @license
* lodash 4.0.0 <https://lodash.com/>
* Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* Available under MIT license <http... |
/*
* spa.shell.js
* Shell module for SPA
*/
/*jslint browser : true, continue : true,
devel : true, indent : 2, maxerr : 50,
newcap : true, nomen : true, plusplus : true,
regexp : true, sloppy : true, vars : false,
white : true
*/
/*global $, spa */
spa.shell = (function () {
'use s... |
/*!
* CanJS - 2.0.4
* http://canjs.us/
* Copyright (c) 2013 Bitovi
* Mon, 23 Dec 2013 19:49:14 GMT
* Licensed MIT
* Includes: CanJS default build
* Download from: http://canjs.us/
*/
steal('can/util','can/construct', function( can ) {
// ## control.js
// `can.Control`
// _Controller_
// Binds an element... |
import { moduleForComponent, test } from 'ember-qunit';
import hbs from 'htmlbars-inline-precompile';
import pageComponent from 'code-corps-ember/tests/pages/components/submittable-textarea';
import PageObject from 'ember-cli-page-object';
let page = PageObject.create(pageComponent);
function setHandler(context, modi... |
"use strict";
var patient = (function () {
function patient() {
}
return patient;
}());
exports.patient = patient;
//# sourceMappingURL=character.model.js.map |
/**
* @author Chong-U Lim <me@chongdashu.com>
* @copyright 2015 Chong-U Lim
* @module Core
*/
this.chongdashu = this.chongdashu||{};
(function() {
"use strict";
/**
* System represents a System of the Entity-Component-System Design
* paradigm.
*
* @class Core.System
* @constructor
**/
var Sy... |
import {Seq, Map, List} from "immutable";
import {
LOAD_PROJECT,
NEW_PROJECT,
OPEN_CATALOG,
MODE_VIEWING_CATALOG,
MODE_CONFIGURING_PROJECT,
SELECT_TOOL_EDIT,
MODE_IDLE,
UNSELECT_ALL,
SET_PROPERTIES,
SET_ITEMS_ATTRIBUTES,
SET_LINES_ATTRIBUTES,
SET_HOLES_ATTRIBUTES,
REMOVE,
UNDO,
ROLLBACK,
... |
var CoreObject = require('core-object');
var Promise = require('ember-cli/lib/ext/promise');
var SilentError = require('silent-error');
var chalk = require('chalk');
var white = chalk.white;
var green = chalk.green;
var EXPIRE_IN_2030 = new Date('2030');
var TWO_YEAR_CACHE_PERIOD_IN_SEC = 60 * 60 * 24 ... |
'use strict';
exports.xmlns = 'http://www.w3.org/2000/xmlns/';
exports.svg = 'http://www.w3.org/2000/svg';
exports.xlink = 'http://www.w3.org/1999/xlink';
// the 'old' d3 quirk got fix in v3.5.7
// https://github.com/mbostock/d3/commit/a6f66e9dd37f764403fc7c1f26be09ab4af24fed
exports.svgAttrs = {
xmlns: exports.... |
import { window, document } from 'ssr-window';
import $ from '../../utils/dom';
import Utils from '../../utils/utils';
const HashNavigation = {
onHashCange() {
const swiper = this;
const newHash = document.location.hash.replace('#', '');
const activeSlideHash = swiper.slides.eq(swiper.activeIndex).attr('... |
'use strict';
describe("Schema.SchemaDefinition", function () {
var SchemaDefinition = Divhide.SubModules.Schema.SchemaDefinition;
beforeEach(function () {
jasmine.addMatchers(window.JasmineCustomMatchers);
});
it(".ctor(Array)", function () {
var c = new SchemaDefinition({
... |
'use strict';
const gulp = require('gulp');
const gulpif = require('gulp-if');
const jscs = require('gulp-jscs');
const stylish = require('jscs-stylish');
module.exports = (src, opts) => {
opts = Object.assign({
configPath: './node_modules/habanero-code-style/js/.jscsrc',
reporter: stylish.path,
watch: false
... |
$(document).ready(function() {
vis.createBreadcrumbs($(".container.full").first());
});
// namespace
var vis = {};
/**
* Adds a breadcrumb as first child to the specified container.
*
* @author felixhayashi
*/
vis.createBreadcrumbs = function(container) {
// use the url to infer the path
var crumb... |
import React, { memo, useMemo } from 'react';
import PropTypes from 'prop-types';
import { useIntl } from 'react-intl';
import get from 'lodash/get';
import omit from 'lodash/omit';
import take from 'lodash/take';
import isEqual from 'react-fast-compare';
import { GenericInput, NotAllowedInput, useLibrary } from '@stra... |
import React, { Component, PropTypes } from 'react'
import { connect } from 'react-redux'
import { addUserRequest, getUserRequest, updateUserRequest } from 'App/actions/users'
import { USER_TYPE_USER } from 'Server/constants'
import EditView from '../components/EditView'
class EditContainer extends Component {
stati... |
import { Universal } from '../../../src/types';
const { Set } = Universal;
const emptySet = new Set();
export default emptySet;
|
$(document).ready(function () {
/*
$('.sign-up-submit').click(function(e) {
var $button = $(e.target);
var $input = $button.closest(".sign-up-form").find(".mdl-textfield__input");
var $warning = $button.closest(".sign-up-form").find(".warning-message");
buttonAnimate($button, $input, $warning);
}... |
import styled from 'styled-components';
export const Wrapper = styled.section`
margin: 0 auto;
width: 100%;
max-width: 1170px;
`;
export const VerticalListView = styled.ul`
margin: var(--topbar-height) 0;
padding: 0;
list-style-type: none;
`;
export const VerticalListSection = styled.li`
margin-bottom:... |
var hub = require('..')
, cluster = require('cluster')
, assert = require('assert')
, WORKERS = 2
if (cluster.isMaster) {
var workers = [];
for (var i = 0; i < WORKERS; i++) {
workers.push(cluster.fork());
}
var n = WORKERS;
hub.on('imready', function() {
if (--n === 0) hub.emit('allready');
... |
import addOptionsToOrdinalScale from 'ember-d3-helpers/utils/add-options-to-ordinal-scale';
import { module, test } from 'qunit';
module('Unit | Utility | add options to ordinal scale');
// Replace this with your real tests.
test('works supporting paddingInner/Outer', function(assert) {
let callCounts = {};
let l... |
/**
* UserController
*
* @description :: Server-side logic for managing users
* @help :: See http://links.sailsjs.org/docs/controllers
*/
module.exports = {
notes: function(req, res) {
EvernoteService.listNotes(function(err, notes) {
if(err){
console.log(err);
return res.server... |
/**
* @todo same issue as in movement.js - which profile takes precedence?
*/
on("change:repeating_profiles:attacks", async (e) => {
console.log("change:repeating_profiles:attacks", e);
const movementIds = await getSectionIDsAsync("movement");
const attrNames = movementIds.map(
(id) => `repeating_movement_$... |
import React from 'react';
import PropTypes from 'prop-types';
import { FetchedData, Param } from '../fetched';
import * as globals from '../globals';
import { ObjectPicker } from '../inputs';
const ItemBlockView = (props) => {
const ViewComponent = globals.contentViews.lookup(props.context);
return <ViewComp... |
var assert = require('assert');
var createTestConfig = require('./test-util').createTestConfig;
var createTestServicesWithStubs = require('./test-util').createTestServicesWithStubs;
var FileServer = require('../braid-file-server').FileServer;
var request = require('request');
var fs = require('fs');
var path = require(... |
version https://git-lfs.github.com/spec/v1
oid sha256:7f9cbfb4555e04b948aae3356d710f479a41b7a1c0b5a605beeefce843edd9e6
size 2675
|
define([
'angular',
'../module',
'../service',
'common/services/bootstrap',
], function(angular, lazyModule, service, bootstrapService) {
'use strict';
/**
* [homeController description]
* @param {[type]} $scope [description]
* @param {[type]} homeService [description]
... |
(function() {
var Sherpa;
var __hasProp = Object.prototype.hasOwnProperty, __extends = function(child, parent) {
for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; }
function ctor() { this.constructor = child; }
ctor.prototype = parent.prototype;
child.prototype = n... |
var fs = require('fs');
var path = require('path');
var gulp = require('gulp');
var plugins = require('gulp-load-plugins')(); // Load all gulp plugins
// automatically and attach
// them to the `plugins` object
var runSequence... |
(function () {
ko.bindingHandlers = {};
ko.bindingContext = function(dataItem, parentBindingContext, dataItemAlias) {
if (parentBindingContext) {
ko.utils.extend(this, parentBindingContext); // Inherit $root and any custom properties
this['$parentContext'] = parentBindingContext... |
module.exports = function(config) {
config.set({
// base path, that will be used to resolve files and exclude
basePath: 'src/main/javascript/app',
frameworks: ['jasmine'],
files: [
'lib/lodash/dist/lodash.js',
'lib/angular/angular.js',
'lib/angular... |
/*
pO\
6 /\
/OO\
/OOOO\
/OOOOOOOO\
((OOOOOOOO))
\:~=++=~:/
ChocolateChip-UI
ChUI.js
Copyright 2014 Sourcebits www.sourcebits.com
License: MIT
Version: 3.5.2
*/
(function($) {
'use strict';
$.extend({
///////////////
// Create Uuid:
///////////////
Uuid : function() {
r... |
/* eslint-disable react/no-array-index-key */
/* @flow */
import React from 'react';
import type { Node } from 'react';
import cn from 'classnames';
import { Dropdown, DropdownOption } from '../../Dropdown';
import type { FontFamilyConfig } from '../../../core/config';
export type Props = {
expanded: boolean,
onE... |
// 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... |
import Logger, { configure, levels } from '..';
import ConsoleHandler from 'nightingale-console';
import errorProcessor from 'nightingale-error-processor';
configure([
{
processors: [errorProcessor],
handlers: [new ConsoleHandler(levels.ALL)],
},
]);
const logger = new Logger('app');
logger.error(new Err... |
/*global module, require*/
'use strict';
function FtpMock() {
this.actions = {};
}
FtpMock.prototype.on = function (action, fn) {
this.actions[action] = fn;
};
FtpMock.prototype.connect = function (params) {
if (params.host !== 'rozklady.ztm.waw.pl') {
this.actions.error(new Error('Wrong address... |
'use strict'
/**
* Protobuf interface
* from go-ipfs/pin/internal/pb/header.proto
*/
module.exports = `
syntax = "proto2";
package ipfs.pin;
option go_package = "pb";
message Set {
optional uint32 version = 1;
optional uint32 fanout = 2;
optional fixed32 seed = 3;
}
`
|
'use strict';
module.exports = require('./CodeSlide'); |
/*! umbraco
* https://github.com/umbraco/umbraco-cms/
* Copyright (c) 2016 Umbraco HQ;
* Licensed
*/
(function() {
angular.module("umbraco.directives", ["umbraco.directives.editors", "umbraco.directives.html", "umbraco.directives.validation", "ui.sortable"]);
angular.module("umbraco.directives.editors"... |
/**
* Developer: Alexandr Voronyansky
* E-mail: alexandr@voronynsky.com
* Date: 04.10.13
* Time: 10:07
*/
(function( $, global ){
document.fullScreen = document.fullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement||
document.documentElement.requestFullscreen || docu... |
'use strict';
var mongoose = require('mongoose'),
Schema = mongoose.Schema,
archive = require('./archive.js'),
modelUtils = require('./modelUtils'),
config = require('meanio').loadConfig() ;
var FolderSchema = new Schema({
created: {
type: Date,
default: Date.now
},
updated: {
type: Date
}... |
var searchData=
[
['angle',['Angle',['../classlm_1_1_angle.html#a5128c164b47782001ec59ee549c925b8',1,'lm::Angle::Angle()'],['../classlm_1_1_angle.html#af18023849e8f9d286bcf729a7a9d108c',1,'lm::Angle::Angle(double angle)']]],
['append',['append',['../classlm_1_1_shader_pipeline.html#ae51f0a50859ab30b849b43e444b6b9a2... |
// import path from 'path';
// import {isCI} from '../lib/ci';
module.exports = {
// // - - - - CHIMP - - - -
// watch: false,
// watchTags: '@watch,@focus',
// domainSteps: null,
// e2eSteps: null,
// fullDomain: false,
// domainOnly: false,
// e2eTags: '@e2e',
// watchWithPolling: false,
// server: false,
... |
version https://git-lfs.github.com/spec/v1
oid sha256:3fe2372bec3008f9cab29eec1d438c62ef2cc056aacfc8f70c533ec50ba9b7f5
size 4224
|
'use strict';
/** This file should be loaded via `import()` to be code-split into separate bundle. */
import { HiGlassComponent } from 'higlass/dist/hglib';
// import from just 'higlass-register' itself don't work, should update its package.json to have `"module": "src/index.js",` (or 'esm' or w/e it is) for that.
im... |
var exports = module.exports;
exports.setup = function(callback) {
var write = process.stdout.write;
process.stdout.write = (function(stub) {
return function(string, encoding, fd) {
stub.apply(process.stdout, arguments);
callback(string, encoding, fd);
};
})(proces... |
import React from 'react'
class Shortest extends React.Component {
render() {
return (
<div>Shortest</div>
)
}
}
export default Shortest |
function GameManager(size, InputManager, Actuator, StorageManager) {
this.size = size; // Size of the grid
this.inputManager = new InputManager;
this.storageManager = new StorageManager;
this.actuator = new Actuator;
this.startTiles = 2;
this.inputManager.on("move", this.move.bind(th... |
/**
* @module gallery-linkedlist
*/
/**********************************************************************
* Iterator for LinkedList. Stable except when the next item is removed by
* calling list.remove() instead of iter.removeNext(). When items are
* inserted into an empty list, the pointer remains at the end... |
/* @flow */
/*eslint-disable no-undef, no-unused-vars, no-console*/
import _, { compose, pipe, curry, filter, find, repeat, zipWith } from 'ramda'
const ns: Array<number> = [ 1, 2, 3, 4, 5 ]
const ss: Array<string> = [ 'one', 'two', 'three', 'four' ]
const obj: {[k:string]:number} = { a: 1, c: 2 }
const objMixed: {[k:... |
/* Task Description */
/*
* Create an object domElement, that has the following properties and methods:
* use prototypal inheritance, without function constructors
* method init() that gets the domElement type
* i.e. `Object.create(domElement).init('div')`
* property type that is the type of the domElement
* a va... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
* @format
*/
'use strict';
const readRelayQueryData = require('../../store/readRelayQueryData');
const warning = requir... |
/**
* @license AngularJS v1.2.13-build.2242+sha.e645f7c
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {'use strict';
var $resourceMinErr = angular.$$minErr('$resource');
// Helper functions and regex to lookup a dotted path on an object
// stopping at un... |
/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* Copyright 2008 litl, LLC. */
/**
* The tween list object. Stores all of the properties and information that pertain to individual tweens.
*
* @author Nate Chatellier, Zeh Fernando
* @version 1.0.4
* @private
*/
/*
License... |
/**
* @ngdoc service
* @name $ionicModal
* @module ionic
* @description
*
* Related: {@link ionic.controller:ionicModal ionicModal controller}.
*
* The Modal is a content pane that can go over the user's main view
* temporarily. Usually used for making a choice or editing an item.
*
* Put the content of the... |
import Dashboard from './components/Dashboard'
export function dashboardPlugin(context) {
context.on('application:routes', opts => {
console.info('dashboardPlugin - application:routes')
console.log('dashboardPlugin - application:routes', opts)
opts.nextState.routes.push({
id: 'dashboard',
e... |
/** @type {import("../../../../").Configuration} */
module.exports = {
name: "compiler-name",
module: {
rules: [
{
test: /a\.js$/,
compiler: "compiler",
use: "./loader"
},
{
test: /b\.js$/,
compiler: "other-compiler",
use: "./loader"
}
]
}
};
|
/*jshint node:true*/
module.exports = {
description: '<%= name %>',
normalizeEntityName: function () {},
afterInstall: function(options) {
return this.addPackagesToProject([{
name: 'ember-jsonapi-resources',
target: '~1.1.2'
}]);
}
};
|
/**
* Module for filters
*/
(function () {
'use strict';
angular.module('<%= appName %>.filters', []);
})();
|
'use strict';
const { createController } = require('../controller');
describe('Default Controller', () => {
test('Creates Collection Type default actions', () => {
const service = {};
const contentType = {
modelName: 'testModel',
kind: 'collectionType',
};
const controller = createContro... |
import { combineReducers } from 'redux';
import loginStatus from './loginStatus';
import getModuleStatusReducer from '../../lib/getModuleStatusReducer';
export function getLoginStatusReducer(types) {
return (state = null, { type, loggedIn, refreshTokenValid }) => {
switch (type) {
case types.login:
... |
/* global describe, it */
/*
* The MIT License (MIT)
*
* Copyright (c) 2014 Apigee Corporation
*
* 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... |
module.exports = utest;
utest.Collection = require('./lib/Collection');
utest.TestCase = require('./lib/TestCase');
utest.BashReporter = require('./lib/reporter/BashReporter');
var collection;
var reporter;
function utest(name, tests) {
if (!collection) {
collection = new utest.Collection();
report... |
const express = require("express");
const getApp = () => {
const app = express();
return app;
};
module.exports = { getApp }; |
// 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';
var baseDir = 'client';
module.exports = {
//This is the list of file patterns to load into the browser during testing.
files: [
baseDir + '/src/vendor/angular/angular.js',
baseDir + '/src/vendor/angular-mocks/angular-mocks.js',
baseDir + '/src/vendor/angular-ui-router/release/angular-u... |
//>>built
define({previousMessage:"Alegeri anterioare",nextMessage:"Mai multe alegeri"}); |
/**
* ### Attention please: we don't need the Node Type[folder,leaf], when we use horizontalTree --Anjing
*/
(function ($) {
var thisTool = Dolphin;
function HORIZONTAL_TREE(param) {
this.init(param);
if (this.opts.data) {
this.loadData(this.opts.data);
} else if (this.op... |
/**
* Visual Blocks Language
*
* Copyright 2012 Google Inc.
* http://blockly.googlecode.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/LI... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
//TODO: encapsulate back to private function when card design is done
//typical sizes:
/*
portrait:
iPhone 4,5 375px
iPhone 6 320px
iPhone 6+ 414px
Galaxy S3 360px
landscape:
iPhone 4 480px
iPhone 5 568px
iPhone 6 667px (574px container)
iPhone 6+ ... |
// -------------------------------------------------------------------------- \\
// File: Transform.js \\
// Module: Foundation \\
// Author: Neil Jenkins ... |
(function(){
var worker = new ProtocolWorker('web+profile');
navigator.webProfile = {
registerProvider: function(name, uri){
navigator.registerProtocolHandler('web+profile', uri + '?%s', name);
},
getID: function(){
return worker.request({ action: 'get:id' }).then(function(response){
... |
define([
'jquery',
'find/app/util/database-name-resolver'
], function($, databaseNameResolver) {
return {
/**
* Get the view document URL for a document in a text index.
* @param {String} reference
* @param {String} model
* @param {Boolean} highlightExpressions
... |
//Logged in
function checkRestricted (UserService, $q, $location) {
var deferred = $q.defer();
if (UserService.getToken()) {
deferred.resolve();
} else {
deferred.reject();
$location.url('/');
}
return deferred.promise;
}
function checkedLoggedIn (UserService, $q, $location) {
var deferre... |
module.exports={A:{A:{"2":"M D H F A B mB"},B:{"1":"K","2":"C E q L O I J"},C:{"1":"0 1 2 3 4 6 8 9 O I J P Q R S T U V W X Y Z a b c d f g h i j k l m n o p N r s t u v w x y z LB BB CB DB EB FB HB IB JB","2":"5 jB AB G M D H F A eB cB","33":"B C E q L"},D:{"1":"0 1 2 3 4 6 8 9 a b c d f g h i j k l m n o p N r s t u ... |
/* ----------------
ResponsiveTabs.js
Author: Pete Love | www.petelove.com
Version: 1.10
------------------- */
var RESPONSIVEUI = {};
(function($) {
RESPONSIVEUI.responsiveTabs = function () {
var $tabSets = $('.responsive-tabs');
if (!$tabSets.hasClass('responsive-tabs--enabled')) { // if we hav... |
const glob = require('glob');
const fs = require('fs');
const path = require('path');
const request = require('request');
const checkedUrls = {
'src/archive/index.php': '',
};
function getUrlContents(url) {
return new Promise(function(resolve, reject) {
request(
url,
{ followRe... |
import Vector from '../../../../src/lib/Vector';
import Utils from '../../../../src/lib/Utils';
import Perlin from '../../../../src/lib/Perlin';
export default class FlowField {
constructor(w, h, z, resolution, source, cbInit) {
this.ctx;
this.width = w;
this.height = h;
this.field = [];
this.re... |
// The size of Rectangle, Bound etc.
class Size {
constructor(width, height) {
this.type = 'Size'
this.width = width
this.height = height
}
set(width, height) {
this.width = width
this.height = height
}
}
export default Size
|
/*
Template Name: Color Admin - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.2
Version: 1.6.0
Author: Sean Ngu
Website: http://www.seantheme.com/color-admin-v1.6/admin/
*/
var handleEmailToInput = function() {
$('#email-to').tagit({
availableTags: ["c++", "java", "php", ... |
var assert = require('assert')
var parse = require('../')
// test parser
assert.equal(parse('***foo***'),
'<p><strong><em>foo</em></strong></p>\n')
assert.equal(parse('# **blah**'),
'<h1><a name="--blah--"></a><strong>blah</strong></h1>\n')
assert.equal(parse('Blah blah\n-----'),... |
const name = 'wizard';
describe("Metro 4 :: Wizard", () => {
it('Component Initialization', ()=>{
cy.visit("cypress/"+name+".html");
})
}) |
module.exports={"title":"R","hex":"276DC3","source":"https://www.r-project.org/logo/","svg":"<svg aria-labelledby=\"simpleicons-r-icon\" role=\"img\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><title id=\"simpleicons-r-icon\">R icon</title><path d=\"M12 18.82c-6.627 0-12-3.598-12-8.037s5.373-8.037 12-8.... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = requirePropFactory;
function requirePropFactory(componentNameInError) {
if (process.env.NODE_ENV === 'production') {
return () => null;
}
const requireProp = requiredProp => (props, propName, componentName, loc... |
var fs = require('fs');
var os = require('os');
var blessed = require('blessed');
var multiline = require('multiline');
if (os.platform() === 'win32') {
console.log('*************************************************************');
console.log('Hackthon Starter Generator has been disabled on Windows until');
cons... |
import Vue from 'vue';
import store from '~/ide/stores';
import List from '~/ide/components/merge_requests/list.vue';
import { createComponentWithStore } from '../../../helpers/vue_mount_component_helper';
import { mergeRequests } from '../../mock_data';
import { resetStore } from '../../helpers';
describe('IDE merge ... |
/* eslint max-len: 0 */
import find from "lodash/find";
import findLast from "lodash/findLast";
import isInteger from "lodash/isInteger";
import repeat from "lodash/repeat";
import Buffer from "./buffer";
import * as n from "./node";
import Whitespace from "./whitespace";
import * as t from "babel-types";
const SCIEN... |
/**
* @author alteredq / http://alteredqualia.com/
* @author mrdoob / http://mrdoob.com/
* @author WestLangley / http://github.com/WestLangley
*/
import { Vector3 } from '../math/Vector3.js';
import { Object3D } from '../core/Object3D.js';
import { LineSegments } from '../objects/LineSegments.js';
import { LineBas... |
(function() {
window.samples.todo_lighted_spinning_cube = {
initialize: function(canvas) {
var scene = new THREE.Scene();
var camera = new THREE.PerspectiveCamera( 30, sample_defaults.width / sample_defaults.height, 1, 1000 );
camera.position.set(0, 3, 7);
camera.lookAt( new THREE.Vecto... |
angular.module('IntrepidJS').directive('ngShare', ['$location', 'i18n', function($location, i18n) {
return {
restrict: "E",
template: "<div class='btn-group'><span data-toggle='dropdown' " +
"class='dropdown-toggle pointer'> " +
"<i class='fa fa-share-alt fa... |
module.exports = require('regenerate')().addRange(0x700, 0x70D).addRange(0x70F, 0x74A).addRange(0x74D, 0x74F).addRange(0x860, 0x86A);
|
module.exports={A:{A:{"2":"H D G E A FB","132":"B"},B:{"1":"C p z J L N I"},C:{"2":"4 aB YB","4":"0 2 3 5 6 8 9 H D G E A B C p z J L N I O P Q R S T U V W X Y Z a c d e f g h i j k l m n o M q r s t u v w x y CB AB","8":"F K SB"},D:{"2":"F K H","4":"0 2 3 5 6 8 9 D G E A B C p z J L N I O P Q R S T U V W X Y Z a c d e... |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.