code stringlengths 2 1.05M |
|---|
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'tr', {
button: 'Düz Metin Olarak Yapıştır',
title: 'Düz Metin Olarak Yapıştır'
});
|
export{default}from"./ListItemIcon"; |
"use strict";
var iteratorSymbol = require("es6-symbol").iterator
, Iterator = require("../");
module.exports = function (t, a) {
var iterator;
a(t(), false, "Undefined");
a(t(123), false, "Number");
a(t({}), false, "Plain object");
a(t({ length: 0 }), false, "Array-like");
iterator = {};
iterator[iter... |
// ==ClosureCompiler==
// @compilation_level SIMPLE_OPTIMIZATIONS
/**
* @license Highcharts JS v4.2.2 (2016-02-04)
*
* (c) 2009-2016 Torstein Honsi
*
* License: www.highcharts.com/license
*/
(function (factory) {
if (typeof module === 'object' && module.exports) {
module.exports = factory;
} els... |
/*
* /MathJax/extensions/CHTML-preview.js
*
* Copyright (c) 2009-2017 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licen... |
/*
textAngular
Author : Austin Anderson
License : 2013 MIT
Version 1.0.0
How to Use:
1.Include textAngular.js in your project, alternatively grab all this code and throw it in your "directives.js" module file.
2.Create a div or something, and add the text-angular directive to it. ALSO add a text-angular-name="<YOUR TEX... |
/*
json2.js
2012-10-08
Public Domain.
NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
See http://www.JSON.org/js.html
This code should be minified before deployment.
See http://javascript.crockford.com/jsmin.html
USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM S... |
/*!
* json-schema-faker library v0.3.1
* http://json-schema-faker.js.org
* @preserve
*
* Copyright (c) 2014-2016 Alvaro Cabrera & Tomasz Ducin
* Released under the MIT license
*
* Date: 2016-04-15 18:37:35.154Z
*/
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else i... |
(function() {
var Bacon, BufferingSource, Bus, CompositeUnsubscribe, ConsumingSource, DepCache, Desc, Dispatcher, End, Error, Event, EventStream, Exception, Initial, Next, None, Observable, Property, PropertyDispatcher, Some, Source, UpdateBarrier, addPropertyInitValueToStream, assert, assertArray, assertEventStream,... |
/*!
* Qoopido.js library v3.3.9, 2014-6-3
* https://github.com/dlueth/qoopido.js
* (c) 2014 Dirk Lueth
* Dual licensed under MIT and GPL
*/
!function(e){window.qoopido.register("support/element/video/webm",e,["../../../support","../video"])}(function(e,o,t,i,n,r){"use strict";var d=e.support;return d.addTest("/element... |
var ITERATOR = require('./_wks')('iterator');
var SAFE_CLOSING = false;
try {
var riter = [7][ITERATOR]();
riter['return'] = function () { SAFE_CLOSING = true; };
// eslint-disable-next-line no-throw-literal
Array.from(riter, function () { throw 2; });
} catch (e) { /* empty */ }
module.exports = function (ex... |
process.on('message', function (msg) {
process.send([
'a'.localeCompare('a'),
'ä'.localeCompare('z', 'de'),
'ä'.localeCompare('a', 'sv', { sensitivity: 'base' }),
]);
});
|
var SourceMapConsumer = require('source-map').SourceMapConsumer;
var path = require('path');
var fs = require('fs');
// Only install once if called multiple times
var errorFormatterInstalled = false;
var uncaughtShimInstalled = false;
// If true, the caches are reset before a stack trace formatting operation
var empt... |
(function(global) {
var define = global.define;
var require = global.require;
var Ember = global.Ember;
if (typeof Ember === 'undefined' && typeof require !== 'undefined') {
Ember = require('ember');
}
Ember.libraries.register('Ember Simple Auth OAuth 2.0', '0.8.0-beta.3');
define("simple-auth-oauth2/au... |
'use strict';
var mean = require('meanio');
module.exports = function(System){
return {
render:function(req,res){
res.render('index',{ locals: { config: System.config.clean }});
},
aggregatedList:function(req,res) {
res.send(res.locals.aggregatedassets);
}
};
};
|
(function(f){function A(b,a,c){var d;!a.rgba.length||!b.rgba.length?b=a.raw||"none":(b=b.rgba,a=a.rgba,d=a[3]!==1||b[3]!==1,b=(d?"rgba(":"rgb(")+Math.round(a[0]+(b[0]-a[0])*(1-c))+","+Math.round(a[1]+(b[1]-a[1])*(1-c))+","+Math.round(a[2]+(b[2]-a[2])*(1-c))+(d?","+(a[3]+(b[3]-a[3])*(1-c)):"")+")");return b}var t=functi... |
/*
* /MathJax/localization/fi/HelpDialog.js
*
* Copyright (c) 2009-2013 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/lic... |
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... |
var global = require('./$.global')
, macrotask = require('./$.task').set
, Observer = global.MutationObserver || global.WebKitMutationObserver
, process = global.process
, isNode = require('./$.cof')(process) == 'process'
, head, last, notify;
var flush = function(){
var parent, domain;
if(isNod... |
'use strict';
function NoManagerError(managerName) {
this.name = 'NoManagerError';
this.message = 'No manager with the name ' + managerName + ' found';
Error.captureStackTrace(this);
}
NoManagerError.prototype = Object.create(Error.prototype);
NoManagerError.prototype.constructor = NoManagerError;
fun... |
class Error_OmittedKeys extends Error_Base {
constructor(parameters) {
super(parameters);
if (!parameters.omitted_keys) {
if (parameters.keys) {
Logger.error(`
Error_OmittedKeys was passed a "keys" property;
did you mean "omitted_keys"?
`);
} else {
Logger.errorWithTrace(`
Error... |
'use strict'
const path = require('path')
const serve = require('serve-static')
const stations = require('./lib/stations')
const allStations = require('./lib/all-stations')
const station = require('./lib/station')
const lines = require('./lib/lines')
const line = require('./lib/line')
const shape = require('./lib/sh... |
// "Their rating settled on an exact 2.5 out of 5 stars,
// and no one was sure whether or not to transact with them"
class TTY_Router extends Client_Router {
/**
* @param {object} properties
* @returns {void}
*/
init(properties) {
if (properties.viewport) {
this.setViewport(properties.viewport);
}... |
import React from 'react'
import styles from './ScreenReaderContent.module.css'
export default function ScreenReaderContent({ children }) {
return <div className={styles.screenReaderContent}>{children}</div>
}
|
const request = require('request-promise-cache')
module.exports = {
commands: {
unicode: {
aliases: ['char'],
help: 'Returns a unicode character whose name or codepoint matches a regular expression',
command: async function (bot, msg) {
try {
// Get data from Unicode, cached fo... |
// Weather.js
var request = require('request');
module.exports = function(location) {
return new Promise(function(resolve, reject) {
var encodedLocation = encodeURIComponent(location);
// Get the weather url from user input thats encoded
var url = 'http://api.openweathermap.org/data/2.5/wea... |
import React from "react";
import ReactDom from "react-dom";
import ChallengeData from "./ChallengeData.js"
import ChallengeApi from "./utils/ChallengeApi.js";
var RegexRocketsApp = require("./components/RegexRocketsApp.react");
ChallengeData.init();
ChallengeApi.getChallenges();
ReactDom.render(
<RegexRocketsA... |
var baseGet = require('../base/baseGet')
var baseSlice = require('../base/baseSlice')
var isArguments = require('../lang/isArguments')
var isArray = require('../lang/isArray')
var isIndex = require('../lang/isIndex')
var isKey = require('../lang/isKey')
var isLength = require('../lang/isLength')
... |
"use strict";
var {
multilineTilTag,
multilineTilEmptyLineOrTag,
booleanTag,
singleParameterTag
} = require('./consumers');
module.exports = {
text: multilineTilTag,
default: multilineTilTag,
tags: {
augments: singleParameterTag,
author: multilineTilEmptyLineOrTag,
borrows: multilineTilEmpty... |
/**
* **Percentage Points of the χ2 (Chi-Squared) Distribution**
*
* The [χ2 (Chi-Squared) Distribution](http://en.wikipedia.org/wiki/Chi-squared_distribution) is used in the common
* chi-squared tests for goodness of fit of an observed distribution to a theoretical one, the independence of two
* criteria of class... |
#!/usr/bin/env node
var program = require('commander');
var packageJson = require('./package.json');
function get_params(cmd){
var res={};
var params=cmd._events||{};
for(var k in params){
res[k]=cmd[k];
}
//console.log('get params:',res);
//
return res;
}
program
.version(packageJson.version)
/*.option(... |
/*
* grunt-reloadlet
* https://github.com/mosborn/grunt-reloadlet
*
* Copyright (c) 2014 Matt Osborn
* Licensed under the MIT license.
*/
'use strict';
module.exports = function(grunt) {
var http = require('http'),
fs = require('fs'),
spawn = require('win-spawn');
grunt.registerMultiTas... |
version https://git-lfs.github.com/spec/v1
oid sha256:18caaa6da6253aedbf7b0f2c791cb2139ee2a5b6799cd3a40263e92b4019fb32
size 624
|
const fs = require('fs')
const Sequelize = require('sequelize')
const config = require('../config/config')
const path = require('path')
const db = {}
const sequelize = new Sequelize(
config.db.database,
config.db.user,
config.db.password,
config.db.options
)
fs
.readdirSync(__dirname)
.filter((file) =>
... |
import React from 'react';
import validate from 'validate.js';
import { isAReactEl, isAFormEl, isAFormGroup } from './formUtils';
import { ERROR_INPUT_CLASS_NAME, HAS_VALUE_CLASS_NAME } from './formConstants';
import { getFormElementRefName } from './formElement/formElementUtils';
import formElementFromState from './fo... |
/*
Copyright 2014, KISSY v1.49
MIT Licensed
build time: May 22 12:17
*/
/*
Combined processedModules by KISSY Module Compiler:
date/gregorian/const
date/gregorian/utils
date/gregorian
*/
KISSY.add("date/gregorian/const", [], function() {
return{SUNDAY:0, MONDAY:1, TUESDAY:2, WEDNESDAY:3, THURSDAY:4, FRIDAY:5, ... |
(function(module) {
var mixtapeView = {};
// Handlebars template call
var mixtapeCompiler = Handlebars.compile($('#mixtape-template').text());
// load existing playlist data
mixtapeView.loadPlaylist = function(dataPassedIn) {
dataPassedIn.forEach(function(ele) {
mixtape.mixList.push(ele);
});... |
import InputRow from 'ember-cli-coreweb-ui/components/nav-rows/input';
export default InputRow;
|
(function() {
"use strict";
angular.module('app')
.controller('BooksController', ['$q','books', 'dataService', 'logger', 'badgeService', '$cookies', '$cookieStore', '$log', '$route', 'BooksResource', 'currentUser', BooksController]);
function BooksController($q, books, dataService, logger, badgeSer... |
/**
* Require Browsersync along with webpack and middleware for it
*/
var browserSync = require('browser-sync'),
webpack = require('webpack'),
webpackDevMiddleware = require('webpack-dev-middleware'),
webpackHotMiddleware = require('webpack-hot-middleware')
/**
* Require ./webpack.config.js... |
'use strict';
/**
* Module dependencies.
*/
const raw = require('raw-body');
const inflate = require('inflation');
const utils = require('./utils');
/**
* Return a Promise which parses text/plain requests.
*
* Pass a node request or an object with `.req`,
* such as a koa Context.
*
* @param {Request} req
* ... |
'use strict';
/**
* @ngdoc function
* @name rstFrontendApp.controller:AboutCtrl
* @description
* # AboutCtrl
* Controller of the rstFrontendApp
*/
angular.module('rstFrontendApp')
.controller('AboutCtrl', function () {
this.awesomeThings = [
'HTML5 Boilerplate',
'AngularJS',
'Karma'
]... |
var apiList =
{
apiVersion: "1.0",
swaggerVersion: "1.0",
basePath: "http://maps.googleapis.com/maps/api/",
apis: [
{
path: "/geocode/{format}",
description: "Google Maps Geocode API"
}
]
};
var geocodeApiSpec = {
resourcePath: "/geocode",
basePath:... |
/* global module */
module.exports = function(environment) {
var ENV = {
modulePrefix: 'hnpwa-ember',
environment: environment,
rootURL: '/',
locationType: 'auto',
EmberENV: {
FEATURES: {
// Here you can enable experimental features on an ember canary build
// e.g. 'with-con... |
var classCSF_1_1Zpt_1_1Tal_1_1ConditionAttributeHandler =
[
[ "Handle", "classCSF_1_1Zpt_1_1Tal_1_1ConditionAttributeHandler.html#aec290ee5f186c8463477fc8c67e255a9", null ]
]; |
const elixir = require('laravel-elixir');
elixir(mix => {
mix.sass('app.scss')
mix.webpack('app.js')
mix.version([
'css/app.css',
'js/app.js',
])
});
|
//= Emmeline: Pure and Simple Javascript.
//> Tom Harding | thedigitalnatives.co.uk
import test from 'tape'
import { map } from '../../list'
//- Convert to an array.
function toArray () {
return [... this]
}
test ('List.Map', t => {
function * mapGen () {
yield 1
yield 2
yield 3
}
t.same
( []... |
import * as React from 'react';
import PropTypes from 'prop-types';
import { makeStyles } from '@material-ui/core/styles';
import Grid from '@material-ui/core/Grid';
import Typography from '@material-ui/core/Typography';
import Divider from '@material-ui/core/Divider';
import Markdown from './Markdown';
const useStyle... |
'use strict';
var linspace = require( 'compute-linspace' );
var gammaln = require( './../lib' );
var x = linspace( -10, 10, 100 );
var v;
var i;
for ( i = 0; i < x.length; i++ ) {
v = gammaln( x[ i ] );
console.log( 'x: %d, f(x): %d', x[ i ], v );
}
|
/* Write a function that extracts the content of a html page given as text.
The function should return anything that is in a tag, without the tags.
*/
(function () {
function transformText(text, how) {
switch (how) {
case 'u':
return text.toUpperCase();
case 'l':
... |
function solve(args) {
args[0] = Math.floor(args[0] / 10);
args[0] = Math.floor(args[0] / 10);
var digit = args[0] % 10;
if (digit === 7) {
console.log('true');
}
else {
console.log('false ' + digit);
}
} |
// http://eslint.org/docs/user-guide/configuring
module.exports = {
root: true,
parserOptions: {
parser: 'babel-eslint',
sourceType: 'module'
},
env: {
browser: true,
},
extends: [
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
'standard',
// r... |
var basicEvents = require('nodeunit').testCase;
var lib = '../../lib/eventemitter2';
var EventEmitter2;
if(typeof require !== 'undefined') {
EventEmitter2 = require(lib).EventEmitter2;
}
else {
EventEmitter2 = window.EventEmitter2;
}
function setHelper (emitter, test, testName){
var eventNames = [... |
/* eslint-disable no-unused-expressions */
import { expect } from 'chai';
function common (app, errors, serviceName = 'people', idProp = 'id') {
describe(`Common tests, ${serviceName} service with` +
` '${idProp}' id property`, () => {
const _ids = {};
beforeEach(() =>
app.service(serviceName).... |
/* ------------------------------------------------------------------------
plugin-name:jQuery Paper Slider
Developped By: ZHAO Xudong, zxdong@gmail.com -> http://html5beta.com/jquery-2/jquery-paper-slider/
Version: 1.0.6
License: MIT
---------------------------------------------------------------------... |
/**
* @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.dialog.add( 'anchor', function( editor ) {
// Function called in onShow to load selected element.
var loadElements = fun... |
define('m_pm', ['m_zepto'], function ($) {
console.log('pm');
}); |
(function() {
var Ext = window.Ext4 || window.Ext;
Ext.define('Rally.ui.combobox.FieldOptionsCombobox', {
requires: [],
extend: 'Rally.ui.combobox.FieldComboBox',
alias: 'widget.tsfieldoptionscombobox',
_isNotHidden: function(field) {
//We want dropdown fields, iter... |
function new func () {
}
function errFunction () {
|
var a00029 =
[
[ "memory_parameters", "a01073.html", "a01073" ],
[ "secure_boot_check_full_copy_completion", "a00029.html#a6378e763208c43ba1fbcadd8bc8a084c", null ],
[ "secure_boot_deinit_memory", "a00029.html#abf726b809a542bc68519520b61b755a3", null ],
[ "secure_boot_init_memory", "a00029.html#ad744cc7... |
/**
* @author Ross Lehr <itsme@rosslehr.com>
* @copyright 2014 Ross Lehr
*/
/**
* The human action when it is captured by an enemy ship
*
* @class Game.Human.Captured
* @param {human} Reference to the human
*/
(function () {
Game.Human.Captured = function(human)
{
/**
* Reference to the human
*
... |
/**
* Created by lseverino on 10/12/14.
*/
chrome.browserAction.onClicked.addListener(function (tab) {
chrome.tabs.executeScript( tab.id, {
file: "src/min/js/out.min.js"
}, function () {
});
});
chrome.browserAction.setBadgeText({text: '(7)'});
|
var fs = require('fs');
var parser = require('./').Parser();
var file_in = fs.createReadStream('sample.ppm');
file_in.pipe(parser);
var png, ctx, img_data, pixel = 0, read_length = 0, pixels = [];
parser.once('header', function (meta) {
});
parser.on('readable', function () {
var data;
while(null !== (data =... |
var messages = [{
author: 'Vasja',
text: 'hello'
}, {
author: 'Anna',
text: 'my message'
}, {
author: 'Masha',
text: '12345'
}];
console.log(messages.filter(function(message) {
return message.author != 'Vasja';
}));
console.log(messages.filter(function(message) {
return message.text.le... |
'use strict';
// Require all tests here, bundle will concat for autorun via Karma
require('./profile');
require('./latest');
require('./popular');
require('./tracks');
|
/**
*
* ProjectName:blogme
* Description:
* Created by qimuyunduan on 16/4/13 .
* Revise person:qimuyunduan
* Revise Time:16/4/13 下午3:26
* @version
*
*/
var _ = require('lodash'),
Promise = require('bluebird'),
errors = require('../errors'),
utils = require('../utils'),
... |
require(["modules/jquery-mozu", "shim!vendor/underscore>_", "hyprlive", "modules/backbone-mozu", "modules/models-checkout", "modules/views-messages"], function ($, _, Hypr, Backbone, CheckoutModels, messageViewFactory) {
var CheckoutStepView = Backbone.MozuView.extend({
edit: function () {
... |
exports.init = function(){
var websocket = require('./websocket'),
$indicator = $('#onlineWidget .progress-inner'),
update, interval;
setInterval(function(){
if (!update){
return;
}
var timeToUpdate = (update - new Date()),
progress = ((interval ... |
//Database
var db = require('mongoose');
//Database Connection String
db.connect(process.env.DB_URI);
//Database Schema Like Create Script
//This is what gets returned
module.exports = db;
|
// Meteor.startup(function () {
// smtp = {
// username: 'artasikindonesia@gmail.com',
// password: 'Yg5i23b29AEb04YQFUrbOw',
// server: 'smtp.mandrillapp.com',
// port: 587
// };
// process.env.MAIL_URL = 'smtp://' + encodeURIComponent(smtp.username) + ':' + encodeURIComponent(smtp.password... |
import './App.scss';
import React, { Component } from 'react';
import $ from "jquery";
import BadgeService from './services/BadgeService';
import C from "./Constants";
import ConfigStorageService from './services/storage/ConfigStorageService';
import ConfirmDialog from "./modals/ConfirmDialog";
import EncounterOption... |
/**
* Created by andres on 9/08/15.
*/
(function () {
'use strict';
adminModule.controller('RoleCtrl', function ($scope,
alertService,
$state,
$stateParams,
... |
/*global describe, it */
(function () {
"use strict";
describe( '$.fn.hasScrollbar: Basics', function () {
// Fixture
var f;
beforeEach( function () {
f = Setup.create( "window", null, { hidePreexistingBodyContent: false } );
return f.ready.done( function () {... |
import assert from 'assert';
import EaselFake from '../fixtures/EaselFake.js';
import Vue from 'vue';
/**
* Returns a function to be used with `describe` for any component using
* EaselParent.
*
* Like this:
* `describe('is a parent', isAnEaselParent(MyComponentThatIsAParent)`
* @param VueComponent implementor... |
(function() {
'use strict';
var WilddogAuth;
// Define a service which provides user authentication and management.
angular.module('wilddog').factory('$wilddogAuth', [
'$q', '$wilddogUtils',
function($q, $wilddogUtils) {
/**
* This factory returns an object allowing you to manage the clien... |
var ps, pointCloud;
function render() {
var c = pointCloud.getCenter();
ps.translate(-c[0], -c[1], -30-c[2]);
ps.clear();
ps.render(pointCloud);
if(pointCloud.getStatus() === 3){
ps.onRender = function(){};
}
}
function start(){
ps = new PointStream();
ps.setup(document.getElementById('can... |
function foo() {
return 0;
}
|
var lintIssues = require('../lib/lintIssues');
describe('lintIssues', function () {
it('should return warning of an uncommented issue', function () {
var issues = [
{
user: {
login: 'jimbob'
},
comments: 0,
labels: ['a label'],
title: 'This issue has no comments',
html_url: 'This is ... |
(function () {
'use strict';
angular.module('openSnap')
.service('OsSnippetApi', OsSnippetApi);
OsSnippetApi.$inject = ['$resource', 'CONFIG'];
function OsSnippetApi($resource, CONFIG) {
var snippets = $resource(CONFIG.backendUrl + 'snippets/:id',
{
id: '@id'
}
);
return ... |
/**
* GroupController
* @namespace classy.Group.controllers
*/
/**
* BENSON: FYI this code is currently superfluous..
*/
(function () {
'use strict';
angular
.module('classy.groups.controllers')
.controller('GroupController', GroupController);
GroupController.$inject = ['$scope', '$r... |
var classLudic_1_1Geometrics =
[
[ "Geometrics", "df/d62/classLudic_1_1Geometrics_ae0a47573a0309d22cbfe41a1c2ee47cd.html#ae0a47573a0309d22cbfe41a1c2ee47cd", null ],
[ "Geometrics", "df/d62/classLudic_1_1Geometrics_af4a507f3bbcdcac77a3f5c502b8a6e09.html#af4a507f3bbcdcac77a3f5c502b8a6e09", null ],
[ "drawArc"... |
'use strict';
require('./_view-post.scss');
module.exports = {
template: require('./view-post.html'),
controllerAs: 'viewPostCtrl',
controller: [
'$log',
'$rootScope',
'$window',
'$location',
'postService',
function($log, $rootScope, $window, $location, postService){
this.$onInit =... |
function getDateRange(startDate, endDate, addFn, interval) {
addFn = addFn || Date.prototype.addDays;
interval = interval || 1;
var retVal = [];
var current = new Date(startDate);
var endDate = new Date(endDate);
while (current <= endDate) {
//console.log(current);
retVal.push(n... |
'use strict';
module.exports = {
module: {
loaders: [
{ test: /\.js$/, loaders: ['babel-loader'], exclude: /node_modules/ }
]
},
output: {
library: 'jquery-request',
libraryTarget: 'umd'
},
resolve: {
extensions: ['', '.js']
}
};
|
/*global timeZone,LocalTime,DateTimeUtils,littleBefore,almostDayAfter,goodDayAfter,matchers,jodajs,beforeEach,describe,it,expect,window*/
describe("LocalTime", function () {
describe("init", function () {
it("should construct a LocalTime with given fields", function () {
expect(LocalTime(10, 15... |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file was generated by:
// tools/json_schema_compiler/compiler.py.
// NOTE: The format of types has changed. 'FooType' is now
// 'chrome.langua... |
// var data = [{"x": 50.0, "y": 110.1}, {"x": 20.0, "y": 20.5}, {"x": 30.0, "y": 20.5}, {"x": 40.0, "y": 20.5}];
var data;
// d3.csv("http://harshnisar.github.io/insights_gamma/viz/scatter.csv", function(loaddata) {
d3.csv("http://insights.aspiringminds.com/viz/scatter.csv", function(loaddata) {
loaddata.forEach(fu... |
/**
* Web pages
*
* Author: Yuriy Movchan Date: 11/06/2013
*/
module.exports = function(app) {
app.get('/', function(req, res, next) {
res.render('index', {
title : 'oxPushServer'
});
});
};
|
/* blink-tessel.js - Tessel application exposing method to blink an LED.
tessel run blink-tessel.js
- or -
node blink-tessel.js (if you don't have Tessel)
*/
//var tessel = require('tessel');
var tessel = require('./tessel-sim'); // use this if you don't have Tessel
var organiq = require('organiq');
organiq.reg... |
const connect = {};
/** @type {KUTE.TweenBase | KUTE.Tween | KUTE.TweenExtra} */
connect.tween = null;
connect.processEasing = null;
export default connect;
|
export default {
name: 'social-services',
initialize: function(container, application){
var facebookPluginComponents = ['feed'];
facebookPluginComponents.forEach(function(plugin) {
application.inject('component:facebook-' + plugin, 'socialApiClient', 'service:facebook-api-client');
});
}
};
|
export { default } from 'ember-bootstrap-controls/components/bootstrap/form/-inputs';
|
var _ = require('lodash');
var async = require('async')
module.exports = function(options) {
var seneca = this;
options = seneca.util.deepextend({
role: 'customer'
},options);
var role = options.role;
var customer_ent = seneca.make('sys/customer');
seneca.add({
role:role,
... |
"use strict";
// SCHEMA
// jid: 'string',
// ver: 'string'
function RosterVerStorage(storage) {
this.storage = storage;
}
RosterVerStorage.prototype = {
constructor: {
value: RosterVerStorage
},
setup: function (db) {
if (db.objectStoreNames.contains('rosterver')) {
... |
'use strict';
exports.up = function(knex, Promise) {
return knex.schema.table('device', function(table) {
table.dropColumn('ip_addr');
table.dropColumn('port');
});
};
exports.down = function(knex, Promise) {
return knex.schema.table('device', function(table) {
table.string('ip_addr');
table.str... |
/*!
* Title: jMonthCalendar @VERSION
* Dependencies: jQuery 1.3.0 +
* Author: Kyle LeNeau
* Email: kyle.leneau@gmail.com
* Project Hompage: http://www.bytecyclist.com/projects/jmonthcalendar
* Source: http://github.com/KyleLeneau/jMonthCalendar
*
*/
(function($) {
var _beginDate;
var _endDate;
var _boxes = [];... |
// Karma configuration
// http://karma-runner.github.io/0.12/config/configuration-file.html
// Generated on 2014-11-21 using
// generator-karma 0.8.3
module.exports = function(config) {
'use strict';
config.set({
// enable / disable watching file and executing tests whenever any file changes
autoWatch: tr... |
const deepEqual = require('deep-equal');
const Dag = require('..');
const should = require('chai').should();
describe('Sub-DAG from ', () =>{
describe('DAG(order=4, size=4)', () => {
let dag;
let V;
let E;
beforeEach(()=>{
dag = new Dag();
E = [];
E.push({ from: 'a', to: 'b', tags:... |
/**
* cmpn Module
* Criação do Module principal da aplicaçao
* nela será registados todas as dependências necessárias
* para o desenvolvimento da aplicação
* @autor
* Kidiatoliny Delgado Gonçalves -
* Engenharia de Sistemas e Computacional
* @copyright
* ghostechnology
* 2016
*/
angular.module('cmpnApp', [
'ngMater... |
var tpl = require("pug-loader!./tpl.pug");
var Collection = require('../../../collections/media');
var Table = require('./table');
module.exports = Marionette.View.extend({
className: 'table',
initialize: function() {
this.collection = new Collection();
},
fetch: function(reset) {
var that = this;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.