code stringlengths 2 1.05M |
|---|
(class (Surface width height)
(set! this.canv (document.createElement "canvas"))
(set! this.graph (this.canv.getContext "2d"))
(when (and width height)
(this.setSize width height))
(method (setSize width height)
(set! this.width width)
(set! this.height height)
(set! this.canv... |
var _ = require( "lodash" ),
commonJSHintOptions = require( "../../jshint-options.json" );
module.exports = {
nonlib: {
options: commonJSHintOptions,
files: {
src: []
.concat( require( "../../js-example-and-test-files" ) )
.concat( require( "../../js-build-files" ) )
}
},
lib: {
options: _.exten... |
import { Component } from '@angular/core';
import { Race } from './race';
import { RaceService } from './race.service';
@Component({
selector: 'my-races',
templateUrl: 'app/races.component.html',
styleUrls:['app/races.component.css']
})
export class RacesComponent {
heading = "Ultra Racing Schedule"
cash = ... |
/*
*
* HomePage reducer
*
*/
import { fromJS, List, Map } from 'immutable';
import {
CANCEL_CHANGES,
DELETE_DATA,
DELETE_DATA_SUCCEEDED,
FETCH_DATA,
FETCH_DATA_SUCCEEDED,
ON_CHANGE,
RESET_PROPS,
SET_DATA_TO_EDIT,
SET_FORM,
SET_FORM_ERRORS,
SUBMIT_SUCCEEDED,
UNSET_DATA_TO_EDIT,
} from './co... |
/**
* @author Arthur Purnama (arthur@purnama.de)
*/
oldModule.controller('oldModule.UserController', ['$scope', '$constant', 'UserService', 'ErrorService', '$location',
function ($scope, $constant, userService, errorService, $location) {
if ($location.path() === '/'+$constant.module.old.path+'/user/applic... |
(function() {
'use strict';
angular
.module('app', ['ngMaterial', 'ui.router', 'uiGmapgoogle-maps', 'firebase', 'color.picker', 'app.services', 'textAngular', 'app.home', 'app.freeTrialForm', 'app.admin', 'mdPickers'])
.config(function($mdThemingProvider, $mdIconProvider, $stateProvider, $urlRouterProvider... |
/*
Rabbits, by Notion. 0.0.5a
Rabbits it's a JS based (As you already may know) routes manager, that's it :3
CC-BY, Notion
*/
var params = [];
var route = function (r){
this.route = r;
this.params_indices = [];
this.params_types = [];
this.has_params = false;
for (var i = 0; i < this.route.length; i++) { ... |
/* global console, LAMBDA */
(function() {
"use strict";
var L = LAMBDA;
var question = {};
var RP14part2 = {
init: function() {
var vs = "uvxyz";
var maxDepth = 5;
var minDepth = 4;
var exp;
var numCorrect = 0;
var exps = [ ];
var isCorrect;
var options = [ ... |
/*
* 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.
*/
... |
/**
* Copyright 2015 Telerik AD
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
import React, { Component, PropTypes } from 'react';
import { Field } from 'redux-form';
import blockLoading from 'assets/blockLoading.gif';
import styles from 'modules/common/styles';
import { required } from './validations';
class RichTextField extends Component {
static propTypes = {
input: PropTypes.object.i... |
Cursor = function() {
this.x = 0;
this.y = 0;
this.color = WHITE;
return this;
}
Cursor.prototype.move = function(event) {
this.x = event.offsetX;
this.y = event.offsetY;
};
Cursor.prototype.hoverOn = function() {
this.color = CURSOR_HOVER;
};
Cursor.prototype.hoverOff = function() {
this.color = WHITE... |
import webpack from 'webpack';
import WebpackDevServer from 'webpack-dev-server';
import config from './webpack.config.js';
const serverOptions = {
publicPath: config.output.publicPath,
contentBase: 'src',
hot: true,
stats: {
colors: true,
hash: false,
timings: true,
chunks: false,
chunkMod... |
// All the subviews of a TodosAppView will always have
// the same model as the TodosAppView has.
//
maria.ElementView.subclass(checkit, 'TodosAppView', {
properties: {
getContainerEl: function() {
return this.find('.content'); // child views will be appended to this element
},
i... |
import {createStore} from 'redux';
import reducer from './reducer';
export default function makeStore() {
return createStore(reducer);
} |
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import _extends from "@babel/runtime/helpers/esm/extends";
const _excluded = ["disableUnderline", "fullWidth", "inputComponent", "multiline", "type", "hiddenLabel"];
import * as React from 'react';
import { refType } fr... |
BASE.require([
"jQuery"
], function () {
BASE.namespace("components.ui.inputs");
var Future = BASE.async.Future;
components.ui.inputs.UIFileInputBehavior = function (elem) {
var self = this;
var $elem = $(elem);
var $fileInput = $('<input type="file">');
$elem.data('f... |
import wretch from 'wretch';
const api = wretch()
.url(process.env.API_URL || 'http://localhost:3002/api')
.auth(`Bearer ${localStorage.getItem('authToken')}`);
/*
* Exported methods shouldn't be used directly from a component; use
* one of the actual API libs instead.
*/
export function get(app, path, data =... |
const loadData = require('../loadData')
jest.mock('fs-extra')
jest.mock('../../utils/get-closest-config', () => require('../../../mocks/get-closest-config'))
describe('load Plugins', () => {
it('should save property into context', async () => {
const result = await loadData({
data: '',
site: {},
... |
/**
* hasClass method
* check if element has class
* @param {string} cls - class name to check for
* @return {boolean}
*/
hasClass: function(cls) {
return this.length ? this[0].classList.contains(cls) : false;
},
|
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
$provide.value("$locale", {
"DATETIME_FORMATS": {
"AMPMS": [
"AM",
"PM"
],
"DAY": [
"Minggu",
"Senin",
"Sel... |
import 'ember';
import Ember from 'ember-metal/core';
import isEnabled from 'ember-metal/features';
import EmberHandlebars from 'ember-htmlbars/compat';
import HandlebarsCompatibleHelper from 'ember-htmlbars/compat/helper';
import Helper from 'ember-htmlbars/helper';
import { registerKeyword, resetKeyword } from 'embe... |
import { computed } from '@ember/object';
import Oauth2 from 'torii/providers/oauth2-code';
import { configurable } from 'torii/configuration';
/**
* This class implements authentication against AzureAD
* using the OAuth2 authorization flow in a popup window.
* @class
*/
var AzureAdOauth2 = Oauth2.extend({
name:... |
require('../spec_helper');
import {itPropagatesAttributes} from '../support/shared_examples';
import {mergeProps} from '../../../src/pivotal-ui-react/helpers/helpers';
describe('lists', function() {
const UnorderedList = require('../../../src/pivotal-ui-react/lists/lists').UnorderedList;
const OrderedList = requir... |
var path = require('path');
var webpack = require('webpack');
var AUTOPREFIXER_LOADER = 'autoprefixer-loader?{browsers:[' +
'"Android 2.3", "Android >= 4", "Chrome >= 20", "Firefox >= 24", ' +
'"Explorer >= 8", "iOS >= 6", "Opera >= 12", "Safari >= 6"]}';
module.exports = {
devtool: 'source-map',
ent... |
const path = require('path');
const webpack = require('webpack');
const Copy = require('copy-webpack-plugin');
const nodeEnv = process.env.NODE_ENV || 'development';
const isProd = nodeEnv === 'production';
module.exports = {
resolve: {
extensions: ['.js', '.jsx']
},
devtool: isProd ? 'hidden-source-map' :... |
/*
* demi
* https://github.com/enytc/demi
*
* Copyright (c) 2014 EnyTC Corporation
* Licensed under the BSD license.
*/
'use strict';
module.exports = {
/*
* GET /routes
*/
/*
* GET /routes/index
*/
index: {
method: 'GET',
fn: function (req, res) {
r... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _jsxRuntime = req... |
import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
var script = {
name: 'BCollapse',
// deprecated, to replace with default 'value' in the next breaking change
model: {
prop: 'open',
event: 'update:open'
},
props: {
open: {
type: Boolean,
d... |
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import React from 'react';
import PropTypes from 'prop-types';
import ReactDOM from 'react-dom';
import { elementTypeAcceptingRef } from '@material-ui/utils';
import Draw... |
'use strict'
var path = require('path')
, urltils = require('./util/urltils')
, logger = require('./logger').child({component : 'error_tracer'})
, NAMES = require('./metrics/names')
/*
*
* CONSTANTS
*
*/
var MAX_ERRORS = 20
/**
* Given either or both of a transaction and an exception, generate an... |
import { Observable } from 'rxjs/Observable';
import 'firebase/database';
import * as utils from './utils';
export class FirebaseListObservable extends Observable {
constructor($ref, subscribe) {
super(subscribe);
this.$ref = $ref;
}
lift(operator) {
const observable = new FirebaseLi... |
KISSY.add(function(S,Cookie) {
describe('cookie', function() {
if (location.protocol === 'file:') {
return;
}
describe('get', function() {
document.cookie = '_ks_test_1=1';
document.cookie = '_ks_test_2=';
document.cookie = '_ks_test_3=';
... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _typeof2 = require('babel-runtime/helpers/typeof');
var _typeof3 = _interopRequireDefault(_typeof2);
var _bluebird = require('bluebird');
var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');
var _classCallCheck3 ... |
'use strict';
var mocha = require('gulp-mocha');
var istanbul = require('gulp-istanbul');
var config = require('../config');
module.exports = function (gulp) {
gulp.task('test', ['lint'], function (cb) {
gulp.src(['!' + config.paths.cliFile].concat(config.paths.lib))
.pipe(istanbul({
includeUntest... |
import React, {Component, PropTypes} from 'react';
import RadioButton from '../RadioButton';
import warning from 'warning';
class RadioButtonGroup extends Component {
static propTypes = {
/**
* Should be used to pass `RadioButton` components.
*/
children: PropTypes.node,
/**
* The CSS clas... |
if(!dojo._hasResource["dojox.highlight.languages._all"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
dojo._hasResource["dojox.highlight.languages._all"] = true;
dojo.provide("dojox.highlight.languages._all");
/* groups of similar languages */
dojo.require("dojox.highlight.lang... |
var bunyan = require('bunyan');
var PrettyStream = require('bunyan-prettystream');
var prettyStdOut = new PrettyStream();
prettyStdOut.pipe(process.stdout);
var config = {
name: 'coregi',
streams: [
{
level: process.env.LOG_LEVEL || 'info',
type: 'raw',
stream: prettyStdOut
},
{
... |
define([
"jquery",
"underscore",
"storage",
"crel",
"xregexp",
"stacktrace",
"FileSaver"
], function($, _, storage, crel, XRegExp, printStackTrace, saveAs) {
var utils = {};
utils.msie = (function() {
/**
* IE 11 changed the format of the UserAgent string.
* See http://msdn.microsoft.com/en-us/librar... |
// minifier: path aliases
enyo.path.addPaths({layout: "C://Users/Jason/Documents/My Dropbox/Public/org.webosports.app.calculator-master/enyo/../lib/layout/", onyx: "C://Users/Jason/Documents/My Dropbox/Public/org.webosports.app.calculator-master/enyo/../lib/onyx/", onyx: "C://Users/Jason/Documents/My Dropbox/Public/or... |
const { join } = require('path')
const { existsSync } = require('fs-extra')
module.exports = ({ base, template }) => {
const localPath = join(base, 'templates', template)
const npmPath = join(base, 'node_modules', template)
if (existsSync(localPath)) {
return localPath
}
let name = template
try {
... |
(function() {
'use strict';
app.controller('profileCtrl', ['api', 'constants','commonFactory','url', 'localStorageService',
function(api, constants,commonFactory, url, localStorageService) {
var profile = this;
var profileCallConfig = {
url: url.user.me
};
api.exe... |
import BaseSyntax from './base.js';
/**
* The class to define the TemplateElement syntax
*
* @class TemplateElement
*/
export default
class TemplateElement extends BaseSyntax {
/**
* Create a template literal
*
* @constructor
*/
constructor() {
super('TemplateElement');
this.value = {r... |
//
// Sets up intial project settings, middleware, mounted apps, and
// global configuration such as overriding Backbone.sync and
// populating sharify data
//
var express = require('express'),
Backbone = require('backbone'),
sharify = require('sharify'),
path = require('path'),
fs = require('fs');
mo... |
'use strict';
const rp = require('minimal-request-promise');
const prompt = require('souffleur');
const tlReply = require('./reply');
const tlParse = require('./parse');
const color = require('../console-colors');
module.exports = function tlSetup(api, bot, logError, optionalParser, optionalResponder) {
let parser ... |
import inatjs from "inaturalistjs";
import { showAlert } from "./alert_actions";
const POST_COMMENT = "post_comment";
function postComment( params ) {
return function ( dispatch ) {
const body = Object.assign( {}, params );
// TODO handle error state
return inatjs.comments.create( body ).catch( e => {
... |
"use strict";
var dgram = require("dgram");
var mersenne = require("./mersenne");
var mt = new mersenne.MersenneTwister19937();
var EPHEMERAL_LIFETIME_MS = 1000;
var Client = function(host, port, socket, options) {
this.host = host || "localhost";
this.port = port || 8125;
// optional shared socket
... |
import _extends from 'babel-runtime/helpers/extends';
import _defineProperty from 'babel-runtime/helpers/defineProperty';
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
import _createClass from 'babel-runtime/helpers/createClass';
import _possibleConstructorReturn from 'babel-runtime/helpers/possib... |
/*
* 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.
*/
/... |
/*!
* Ext JS Connect
* Copyright(c) 2010 Sencha Inc.
* MIT Licensed
*/
/**
* Module dependencies.
*/
var Buffer = require('buffer').Buffer;
/**
* Cache in memory for the given `cacheDuration`.
*
* @param {Number} cacheDuration
* @return {Function}
* @api public
*/
module.exports = function cache(cacheD... |
/**
* @file
* User related utility functions.
*/
var userHelper = module.exports = {
createUser: function(application, roles, callback) {
var User = application.type('user');
var account = userHelper.sample();
account.roles = roles;
User.validateAndSave(account, function(error, user) {
cal... |
'use strict';
var SfTextSettingsPage = function() {
// currently this page is called questions-settings.html but will be refactored. IJH 2014-06
this.tabs = {
editText: element(by.linkText('Edit Text')),
archiveQuestions: element(by.linkText('Archived Questions')),
audioFile: element(by.l... |
/*!jQuery Knob*/
/**
* Downward compatible, touchable dial
*
* Version: 1.2.0 (15/07/2012)
* Requires: jQuery v1.7+
*
* Copyright (c) 2012 Anthony Terrien
* Under MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* Thanks to vor, eskimoblood... |
const personalData = require('./personalData');
const webModel = require('./webModel');
const robotModel = require('./robotModel');
const webModelFunctions = require('./webModelFunctions');
const EddystoneBeaconScanner = require('eddystone-beacon-scanner');
const inRoomDistance = 15;
const lostSignalTimeout = 120; // S... |
define({
"_widgetLabel": "適合性モデラー",
"general": {
"clear": "消去",
"cancel": "キャンセル",
"save": "実行",
"saveAs": "エクスポート"
},
"saveModel": {
"save": "エクスポート",
"title": "タイトル: ",
"summary": "サマリー: ",
"description": "説明: ",
"tags": "タグ: ",
"folder": "フォルダー: ",
"homeFolderPatte... |
/****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2008-2010 Ricardo Quesada
Copyright (c) 2011 Zynga Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this sof... |
define(['iframeResizer'], function(iFrameResize) {
describe('Parent Page', function() {
describe('reset Page', function() {
var iframe;
var log=LOG;
var testId = 'parentPage1';
beforeEach(function(done){
loadIFrame('iframe600.html');
iframe = iFrameResize({
log:log,
id:testId
})[... |
const TetherBase = {modules: []};
let zeroElement = null;
// Same as native getBoundingClientRect, except it takes into account parent <frame> offsets
// if the element lies within a nested document (<frame> or <iframe>-like).
function getActualBoundingClientRect(node) {
let boundingRect = node.getBoundingClientRec... |
var isDate = require('../lang/isDate');
/**
* return the day of the year (1..366)
*/
function dayOfTheYear(date){
return (Date.UTC(date.getFullYear(), date.getMonth(), date.getDate()) -
Date.UTC(date.getFullYear(), 0, 1)) / 86400000 + 1;
}
module.exports = dayOfTheYear;
|
module.exports = rotate
/**
* Rotates a mat2 by the given angle
*
* @alias mat2.rotate
* @param {mat2} out the receiving matrix
* @param {mat2} a the matrix to rotate
* @param {Number} rad the angle to rotate the matrix by
* @returns {mat2} out
*/
function rotate(out, a, rad) {
var a0 = a[0], a1 = a[1], a2 =... |
// Flags: --expose-internals
'use strict';
const common = require('../common');
const assert = require('assert');
const { fork } = require('child_process');
const http = require('http');
if (process.argv[2] === 'child') {
process.once('message', (req, socket) => {
const res = new http.ServerResponse(req);
... |
/*jshint -W104 */
'use strict';
const
Transmitter = require('./transmitter'),
RfxCom = require('./rfxcom');
/*
* This is a class for controlling Lighting6 lights.
*/
class Lighting6 extends Transmitter {
constructor(rfxcom, subtype, options) {
super(rfxcom, subtype, options);
this.packetT... |
var Router = require('koa-router');
var Role = require('../../lib/role');
var Middleware = require('../../lib/middleware');
var router = module.exports = new Router();
router.use(Middleware.allow('admin.roles'));
router.get('/admin/api/roles', function *() {
var page = parseInt(this.request.query.page) || 1;
var ... |
angular
.module('angularCancelOnNavigateModule', [])
.config(function($httpProvider) {
$httpProvider.interceptors.push('HttpRequestTimeoutInterceptor');
})
.run(function ($rootScope, HttpPendingRequestsService) {
$rootScope.$on('$locationChangeSuccess', function (event, newUrl, oldUrl) {
if (newUr... |
define([
'matreshka_dir/core/var/core',
'matreshka_dir/core/var/sym',
'matreshka_dir/core/initmk'
], function(core, sym, initMK) {
"use strict";
var unbindNode = core.unbindNode = function(object, key, node, evt) {
if (!object || typeof object != 'object') return object;
initMK(object);
var type = typeof ... |
var exampleOutput = function(id, content) {
var outputDiv = document.getElementById(id);
if (outputDiv && outputDiv.childNodes && outputDiv.childNodes[0]) {
outputDiv.replaceChild(document.createTextNode(content), outputDiv.childNodes[0]);
} else {
outputDiv.appendChild(document.createTextNode(content));... |
'use strict';
angular.module( 'QualityABTracker.services', [] )
.factory( 'trackerDataService', function( $http ) {
var api = {};
return api;
}) |
const { WebContentsView, app } = require('electron');
app.whenReady().then(function () {
new WebContentsView({}) // eslint-disable-line
app.quit();
});
|
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
const resolve = require('rollup-plugin-node-resolve');
const sourcemaps = require('rollup-plugin-sourcemaps');
cons... |
'use strict';
const sysPath = require('./path');
const fs = require('fs');
const anymatch = require('anymatch');
const promisify = require('micro-promisify');
const modules = require('./modules');
const xBrowserResolve = require('./resolve');
const loadGlobalsAndStyles = require('./load-globs-styles');
const explore =... |
var gremlin = require('../src');
var client = gremlin.createClient();
var script = 'g.V().range(1, 2)';
// Callback style
client.execute(script, function(err, res) {
console.log(err, res);
});
// Stream style
var s = client.stream(script);
s.on('data', function(result) {
console.log(result);
});
s.on('end', ... |
describe('mdListItem directive', function() {
var attachedElements = [];
var $compile, $rootScope;
beforeEach(module('material.components.list', 'material.components.checkbox', 'material.components.switch'));
beforeEach(inject(function(_$compile_, _$rootScope_) {
$compile = _$compile_;
$rootScope = _$r... |
module.exports = function(grunt) {
return grunt.file.readJSON('package.json');
};
|
//>>built
(function(b,a){"object"===typeof exports&&"undefined"!==typeof module&&"function"===typeof require?a(require("../moment")):"function"===typeof define&&define.amd?define("moment/locale/dv",["../moment"],a):a(b.moment)})(this,function(b){var a="\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9 \u078a\u07ac\u0784... |
// example - valid: true
app.controller('MyController', MyController);
function MyController($http,
$q) {
}
// example - valid: true
app.controller('MyController', function($http,
$q) {
});
// example - valid: true
app.controller('MyController', [
... |
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import _extends from "@babel/runtime/helpers/esm/extends";
import * as React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import { chainPropTypes, integerPropType, deepmerge } from '@material-ui/util... |
config_rs1 = {
_id : "rs1",
members : [ { _id:0, host:"localhost:27010", priority:1 }, { _id:1, host:"localhost:27017" } ]
};
rs.initiate(config_rs1);
|
/* globals App: true */
App = {}
|
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
// Node module: strong-remoting
// This file is licensed under the Artistic License 2.0.
// License text available at https://opensource.org/licenses/Artistic-2.0
/**
* Expose the `Meta` plugin.
*/
module.exports = Meta;
/**
* Module dependencies.
*/
var Remo... |
/**
* @fileoverview Tests for no-empty-label rule.
* @author Ilya Volodin
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
var eslint = require("../../../lib/eslint"),
... |
/**
* bootstrap-table - An extended Bootstrap table with radio, checkbox, sort, pagination, and other added features. (supports twitter bootstrap v2 and v3).
*
* @version v1.14.1
* @homepage https://bootstrap-table.com
* @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
* @license MIT
... |
currnode = null;
currrow = null;
// swaps nodes
jQuery.fn.swap = function(b){
b = jQuery(b)[0];
var a = this[0];
var t = a.parentNode.insertBefore(document.createTextNode(''), a);
b.parentNode.insertBefore(a, b);
t.parentNode.insertBefore(b, t);
t.parentNode.removeChild(t);
return this;
};
// parse get... |
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
it.todo(() => {});
|
/* */
System.register(['aurelia-task-queue', './environment', './array-observation', './map-observation', './event-manager', './dirty-checking', './property-observation', './element-observation', 'aurelia-dependency-injection', './computed-observation'], function (_export) {
var TaskQueue, hasObjectObserve, getArray... |
/*
Equation Editor Plugin for CKEditor v4
Version 2.1
This plugin allows equations to be created and edited from within CKEditor.
For more information goto: http://www.codecogs.com/latex/integration/ckeditor_v4/install.php
Copyright CodeCogs 2006-2013
Written by Will Bateman.
Special Thanks to:
- Kyle Jo... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'fr-ca', {
anchor: 'Ancre',
flash: 'Animation Flash',
hiddenfield: 'Champ caché',
iframe: 'IFrame',
unknown: 'Objet incon... |
exports.up = (pgm) => {
pgm.renameTable('t2', 't2r')
}
|
'use strict';
var gulp = require('gulp');
var paths = gulp.paths;
var jshint = require('gulp-jshint');
var stylish = require('jshint-stylish');
gulp.task('lint', function() {
return gulp.src([
paths.src + '/**/*.js'
])
.pipe(jshint())
.pipe(jshint.reporter(stylish))
.pipe(jshint.reporter('fail'... |
// since it is a class both letter are capitilized
// player class. Shows the image that the player is, the height and width
//also the shape of it
game.PlayerEntity = me.Entity.extend({
init: function(x, y, settings) {
//leads to set super fuction below
//use these fucntions to orgainize code
this.setSuper(x, y... |
var animalAppControllers = angular.module('HomelessController', []);
animalApp.controller('HomelessController', function($scope) {
}); |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'div', 'eo', {
IdInputLabel: 'Id',
advisoryTitleInputLabel: 'Priskriba Titolo',
cssClassInputLabel: 'Stilfolioklasoj',
edit: 'Redakti Div'... |
import r from 'restructure';
import { LookupTable } from './aat';
let BslnSubtable = new r.VersionedStruct('format', {
0: { // Distance-based, no mapping
deltas: new r.Array(r.int16, 32)
},
1: { // Distance-based, with mapping
deltas: new r.Array(r.int16, 32),
mappingData: new LookupTable(r.uint16)
... |
var Substance = require('substance');
var Tool = Substance.Surface.Tool;
var _ = require("substance/helpers");
var CiteTool = Tool.extend({
name: "cite",
update: function(surface, sel) {
this.surface = surface; // IMPORTANT!
// Set disabled when not a property selection
if (!surface.isEnabled() || sel... |
/**
* Returns true if targetString ends with substring. Otherwise, returns false.
* @param {string} targetString
* @param {string} substring
* @returns {boolean}
*/
function endsWith(targetString, substring) {
return targetString.endsWith(substring);
}
module.exports = endsWith;
|
/*
Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojox.dtl.html"]){dojo._hasResource["dojox.dtl.html"]=true;dojo.provide("dojox.dtl.html");dojo.depre... |
version https://git-lfs.github.com/spec/v1
oid sha256:c53d0bfa3a80a45737c7e7b26b6d39d855b48b5c6095d9418e70969b0680e922
size 30050
|
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path d="M14 3.25l-10 10V17h3.75l10-10L14 3.25zM6.92 15H6v-.92l8-8 .92.92-8 8zM20.71 4.04c.39-.39.39-1.02 0-1.41L18.37.29a.9959.9959 0 0 0-1.41 0L15 2.25 18.75 6l1.96-1.96z" /><path fillOpacity... |
/**
* Copyright 2014 Telerik AD
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/*
Copyright (c) 2013 William Malone (www.williammalone.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merg... |
define([
'aeris/util',
'aeris/api/models/aerisapimodel'
], function(_, AerisApiModel) {
/**
* @publicApi
* @class Advisory
* @namespace aeris.api.models
* @extends aeris.api.models.AerisApiModel
*
* @constructor
* @override
*/
var Advisory = function(opt_attrs, opt_options) {
var opt... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.