code stringlengths 2 1.05M |
|---|
'use strict';
var assign = require('object-assign')
var getSelected = require('./getSelected')
var hasOwn = function(obj, prop){
return Object.prototype.hasOwnProperty.call(obj, prop)
}
/**
* Here is how multi selection is implemented - trying to emulate behavior in OSX Finder
*
* When there is no selection, ... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("codesnippet","ug",{button:"كود پارچىسى قىستۇرۇش",codeContents:"Code content",emptySnippetError:"A code snippet cannot be empty.",language:"Langu... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }... |
import React from 'react';
import TextField from 'material-ui/lib/text-field';
import RaisedButton from 'material-ui/lib/raised-button';
import DropDownMenu from 'material-ui/lib/DropDownMenu';
import MenuItem from 'material-ui/lib/menus/menu-item';
import Paper from 'material-ui/lib/paper';
import CardTitle from 'mate... |
/*
*
* Copyright 2013 Jesse MacFadyen
*
* 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 agree... |
/**
* Developer: Stepan Burguchev
* Date: 6/14/2016
* Copyright: 2009-2016 Comindware®
* All Rights Reserved
* Published under the MIT license
*/
"use strict";
import core from 'coreApi';
import { initializeCore } from '../utils/helpers';
import 'jasmine-jquery';
describe('Editors', functio... |
(function(window, document) {
'use strict';
var lazyRocketsConfig;
var docElem = document.documentElement;
var addEventListener = window.addEventListener;
var setTimeout = window.setTimeout;
var rAF = window.requestAnimationFrame || setTimeout;
var regPicture = /^picture$/i;
var loadEvents = ['load', 'er... |
/*
cssx/shim/scrollbar
(c) copyright 2010, unscriptable.com
author: john
LICENSE: see the LICENSE.txt file. If file is missing, this file is subject to the AFL 3.0
license at the following url: http://www.opensource.org/licenses/afl-3.0.php.
*/
define(
function () {
var scrollbarPropRx = /-cssx... |
'use strict';
const common = require('../../common');
if (!common.hasCrypto)
common.skip('missing crypto');
const assert = require('assert');
const tmpdir = require('../../common/tmpdir');
const { spawnSync } = require('child_process');
const crypto = require('crypto');
const fs = require('fs');
const path = require... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... |
(function () {
'use strict';
app.service('gymCoachService', function ($http) {
this.getUserObj = function (gymID) {
return $http({
method: 'GET',
url: '/api/users/gym/' + gymID
}).then(function (response) {
return response.data;
... |
export { default as configureStore } from './configureStore';
|
/**
* Adds class 'doc-token' to inline code
*/
module.exports = function (md) {
const defaultRender = md.renderer.rules.code_inline
md.renderer.rules.code_inline = (tokens, idx, options, env, self) => {
const token = tokens[idx]
token.attrSet('class', 'doc-token')
return defaultRender(tokens, idx, ... |
function createAdapter() {
return {
durations: [],
metrics: [],
convert: undefined,
onMetric: function( data ) {
if ( data.type === "time" ) {
this.durations.push( data );
} else {
this.metrics.push( data );
}
},
setConverter: function( convert ) {
this.convert = convert;
}
};
}
mod... |
/*!
@fullcalendar/rrule v4.0.1
Docs & License: https://fullcalendar.io/
(c) 2019 Adam Shaw
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('rrule'), require('@fullcalendar/core')) :
typeof define === 'function' && define.amd ? define(['exp... |
const {resolve} = require('path');
const {DefinePlugin} = require('webpack');
const {
GITHUB_URL,
getVersionString,
} = require('react-devtools-extensions/utils');
const {resolveFeatureFlags} = require('react-devtools-shared/buildUtils');
const NODE_ENV = process.env.NODE_ENV;
if (!NODE_ENV) {
console.error('NOD... |
tinyMCE.addI18n('ru.pdw',{
desc : 'Show/hide toolbars'
});
|
/**
* San
* Copyright 2016 Baidu Inc. All rights reserved.
*
* @file 主文件
* @author errorrik(errorrik@gmail.com)
* otakustay(otakustay@gmail.com)
* junmer(junmer@foxmail.com)
*/
(function (root) {
// 人工调整打包代码顺序,通过注释手工写一些依赖
// // require('./util/guid');
// // require('./util/empty');
... |
define([
'dojo/_base/declare',
'dojo/Deferred',
'dojo/data/ItemFileWriteStore',
'dojo/store/DataStore',
'intern!object',
'intern/chai!assert',
'dojo/store/Memory',
'dojo/_base/lang',
'dojo/when',
'dstore/legacy/StoreAdapter',
'../data/testData'
], function (declare, Deferred, ItemFileWriteStore, DataStore, r... |
/****************************************************************************
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 software an... |
// Copyright 2017 Joyent, Inc.
module.exports = {
read: read,
verify: verify,
sign: sign,
signAsync: signAsync,
write: write,
/* Internal private API */
fromBuffer: fromBuffer,
toBuffer: toBuffer
};
var assert = require('assert-plus');
var SSHBuffer = require('../ssh-buffer');
var crypto = re... |
// 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... |
var registry = require('./registry/registry')
module.exports = function(search_opts, callback) {
registry.search(search_opts, function(err, plugins) {
if(callback) {
if(err) return callback(err);
callback(null, plugins);
} else {
if(err) return console.log(err);
... |
//>>built
define("dojox/editor/plugins/nls/sr/AutoSave",{"saveLabel":"Sačuvaj","saveSettingLabelOn":"Podesi interval za automatsko čuvanje...","saveSettingLabelOff":"Isključi automatsko čuvanje","saveSettingdialogTitle":"Automatsko čuvanje","saveSettingdialogDescription":"Navedite interval za automatsko čuvanje","saveS... |
var mongoose = require('mongoose'),
elasticsearch = require('elasticsearch'),
esClient = new elasticsearch.Client({
deadTimeout: 0,
keepAlive: false
}),
async = require('async'),
config = require('./config'),
Schema = mongoose.Schema,
mongoosastic = require('../lib/mongoosastic');
var KittenSchem... |
var title = "A Hidden Treasure";
var desc = "The map is pretty hard to read, but it seems to depict a small, wooded island in the sea. On the north-east corner of the island, down a dead-end street, is a big, red, X.";
var offer = "This is clearly a pirate's treasure map, big red X and all. Following it will almost cer... |
/**
* Module Dependencies
*/
var Waterline = require('waterline');
var _ = require('lodash');
var async = require('async');
var assert = require('assert');
// Require Fixtures
var fixtures = {
UserFixture: require('./fixtures/crud.fixture')
};
/////////////////////////////////////////////////////
// TEST SETUP
... |
/*!
* ic-ajax
*
* - (c) 2013 Instructure, Inc
* - please see license at https://github.com/instructure/ic-ajax/blob/master/LICENSE
* - inspired by discourse ajax: https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/mixins/ajax.js#L19
*/
import Ember from 'ember';
/*
* jQuery.aja... |
import React from 'react'
import { Item } from 'semantic-ui-react'
const ItemExampleRelaxed = () => (
<Item.Group relaxed>
<Item>
<Item.Image size='tiny' src='http://semantic-ui.com/images/wireframe/image.png' />
<Item.Content verticalAlign='middle'>
<Item.Header as='a'>12 Years a Slave</Ite... |
Event.observe(window, 'load', function(){
// This would be so much easier with jQuery :(
Element.addMethods({
credentialDisable: function(el){
var el = $(el);
el.hide();
var input = el.down('input');
if(input)
input.disable();
},
credentialEnable: function(el){
v... |
app.directive('bunkerDropzone', function ($document, $compile, DroppableItem) {
// Takes raw DOM events and translates them in to our DroppableItem model.
// returns falsy if we can't find a valid item to turn in to a droppable.
var getDroppableItem = function (event) {
var dataTransfer = event.originalEvent.dat... |
// @remove-on-eject-begin
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// @remove-on-eject-end
'use strict';
const autoprefixer = require('autoprefixer');
const path = require('path... |
Prism.hooks.add('before-highlight', function(env) {
if (env.code) {
var pre = env.element.parentNode;
var clsReg = /\s*\bkeep-initial-line-feed\b\s*/;
if (
pre && pre.nodeName.toLowerCase() === 'pre' &&
// Apply only if nor the <pre> or the <code> have the class
(!clsReg.test(pre.className) && !clsReg.t... |
define(["../_StoreMixin", "dojo/_base/declare", "dojo/_base/array", "dojo/_base/lang", "dojo/_base/Deferred",
"dojo/on", "dojo/query", "dojo/string", "dojo/has", "put-selector/put", "dojo/i18n!./nls/pagination",
"dojo/_base/sniff", "xstyle/css!../css/extensions/Pagination.css"],
function(_StoreMixin, declare, arrayUt... |
(function(win, doc) {
var iframe;
var bodyOverflow;
var onMessage = function(event) {
if (event.data === 'collapse') {
iframe.height = 40;
iframe.width = 40;
doc.body.style.overflow = bodyOverflow;
return;
}
if (event.data === 'toolbar') {
iframe.height = 40;
iframe.width = '100%';
doc.bo... |
version https://git-lfs.github.com/spec/v1
oid sha256:d7864b56261240c2204a7df0f625eed7852ff8ff64003e3e1877de785859c84f
size 5053
|
jQuery.extend(jQuery.fn.pickadate.defaults, {
monthsFull: ["urtarrila", "otsaila", "martxoa", "apirila", "maiatza", "ekaina", "uztaila", "abuztua", "iraila", "urria", "azaroa", "abendua"],
monthsShort: ["urt", "ots", "mar", "api", "mai", "eka", "uzt", "abu", "ira", "urr", "aza", "abe"],
weekdaysFull: ["igan... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.9.5.28_A1_T2;
* @section: 15.9.5.28;
* @assertion: The Date.prototype property "setMilliseconds" has { DontEnum } attributes;
* @description: Checking absence of Dont... |
/**
* Subtitles plugin JavaScript
*
* @since 1.0.0
*/
(function( $, undefined ) {
/**
* Presentational JS which fires on DOM load
*
* @since 1.0.0
*/
function documentScripts() {
/**
* Toggle screen-reader-text class on the subtitle
* input field. When a user loads a new post page,
* there will... |
var searchData=
[
['enabling_20buffer_20device_20address_0',['Enabling buffer device address',['../enabling_buffer_device_address.html',1,'index']]]
];
|
module.exports=['\u3130','\u3131','\u3132','\u3133','\u3134','\u3135','\u3136','\u3137','\u3138','\u3139','\u313A','\u313B','\u313C','\u313D','\u313E','\u313F','\u3140','\u3141','\u3142','\u3143','\u3144','\u3145','\u3146','\u3147','\u3148','\u3149','\u314A','\u314B','\u314C','\u314D','\u314E','\u314F','\u3150','\u3151... |
'use strict';
var files = require('./angularFiles').files;
var util = require('./lib/grunt/utils.js');
var versionInfo = require('./lib/versions/version-info');
var path = require('path');
var e2e = require('./test/e2e/tools');
module.exports = function(grunt) {
//grunt plugins
require('load-grunt-tasks')(grunt);... |
/*jshint eqeqeq:false, eqnull:true */
/*global jQuery, define */
// Grouping module
(function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
define([
"jquery",
"./grid.base"
], factory );
} else {
// Browser globals
factory( jQu... |
(function(){$(function(){$.miniNotification=function(e,c){var h,f,k,d,g,l,b=this;this.defaults={position:"top",show:!0,effect:"slide",opacity:0.95,time:4E3,showSpeed:600,hideSpeed:450,showEasing:"",hideEasing:"",innerDivClass:"inner",closeButton:!1,closeButtonText:"close",closeButtonClass:"close",hideOnClick:!0,onLoad:... |
'use strict';
angular.module('frontendApp')
.controller('MainCtrl', function ($scope) {
$scope.awesomeThings = [
'HTML5 Boilerplate',
'AngularJS',
'Karma'
];
});
|
/**
* @callback Phaser.Types.Cameras.Scene2D.CameraShakeCallback
* @since 3.5.0
*
* @param {Phaser.Cameras.Scene2D.Camera} camera - The camera on which the effect is running.
* @param {number} progress - The progress of the effect. A value between 0 and 1.
*/
|
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.7.3.3_A1;
* @section: 15.7.3.3;
* @assertion: Number.MIN_VALUE is approximately 5e-324;
* @description: Checking Number.MIN_VALUE value;
*/
$INCLUDE("math_precision.... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _asyncToGenerator2;
function _load_asyncToGenerator() {
return _asyncToGenerator2 = _interopRequireDefault(require('babel-runtime/helpers/asyncToGenerator'));
}
var _extends2;
function _load_extends() {
return _extends2 = _inter... |
module.exports = {
purge: ['./components/**/*.js', './pages/**/*.js'],
theme: {
extend: {
colors: {
'accent-1': '#FAFAFA',
'accent-2': '#EAEAEA',
'accent-7': '#333',
success: '#0070f3',
cyan: '#79FFE1',
},
spacing: {
28: '7rem',
},
le... |
'use strict'
const assert = require('assert')
const Buffer = require('buffer').Buffer
const binding = process.binding('zlib')
const constants = exports.constants = require('./constants.js')
const MiniPass = require('minipass')
// translation table for return codes.
const codes = new Map([
[constants.Z_OK, 'Z_OK'],... |
'use strict';
var util = require('./util.js');
/**
* Check if an argument seems to be a number
**/
function isNumericalArgument(arg) {
return (/^[\d\-.,]+$/).test(arg);
}
/**
* Check if an arguments item is an option or an option's argument
**/
function isAnOption(arg) {
return arg[0] === '-' && !isNumericalAr... |
module.exports = {
'chat': function (browser) {
browser
.url('http://localhost:8080/chat/')
.waitForElementVisible('.chatapp', 1000)
.assert.containsText('.thread-count', 'Unread threads: 2')
.assert.count('.thread-list-item', 3)
.assert.containsText('.thread-list-item.active', 'Func... |
/*
* rhtml_highlight_rules.js
*
* Copyright (C) 2009-11 by RStudio, Inc.
*
* The Initial Developer of the Original Code is
* Ajax.org B.V.
* Portions created by the Initial Developer are Copyright (C) 2010
* the Initial Developer. All Rights Reserved.
*
* This program is licensed to you under the terms of ver... |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var strings={prefixAgo:"cách đây",prefixFromNow:null,suffixAgo:null,suffixFromNow:"trước",seconds:"chưa đến 1 phút",minute:"khoảng 1 phút",minutes:"%d phút",hour:"khoảng 1 tiếng",hours:"khoảng %d tiếng",day:"1 ngày",days:"%d ngày... |
/**
`Ember.ViewTargetActionSupport` is a mixin that can be included in a
view class to add a `triggerAction` method with semantics similar to
the Handlebars `{{action}}` helper. It provides intelligent defaults
for the action's target: the view's controller; and the context that is
sent with the action: the view's cont... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
typeof define === 'function' && define.amd ? define(['jquery'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));
}(this, (function... |
goog.provide('ol.test.color');
describe('ol.color', function() {
describe('ol.color.asArray()', function() {
it('returns the same for an array', function() {
var color = [1, 2, 3, 0.4];
var got = ol.color.asArray(color);
expect(got).to.be(color);
});
it('returns an array given an rg... |
/*
David Cramer
<david AT thingbag DOT net>
Kasun Gajasinghe
<kasunbg AT gmail DOT com>
Copyright © 2008-2012 Kasun Gajasinghe, David Cramer
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 t... |
goog.provide('Todos.views.Application');
goog.require('Todos.views.Stats');
goog.require('Todos.views.Filters');
goog.require('Todos.views.ClearButton');
/**
* Main application view
*
* Requires
* Class StatsView, stats view class
* Class FiltersView, filters view class
* Class ClearBtnView, clear button view c... |
/* jshint node:true */
var fs = require('fs');
var site = require('apostrophe-site')();
site.init({
// This line is required and allows apostrophe-site to use require() and manage our NPM modules for us.
root: module,
shortName: 'apostrophe-sandbox',
hostName: 'apostrophe-sandbox',
title: 'Apostrophe Sandb... |
var env, store, serializer;
var get = Ember.get;
var run = Ember.run;
var User, Handle, GithubHandle, TwitterHandle, Company;
module('integration/serializers/json-api-serializer - JSONAPISerializer', {
setup: function() {
User = DS.Model.extend({
firstName: DS.attr('string'),
lastName: DS.attr('str... |
'use strict';
//Setting up route
angular.module('recipes').config(['$stateProvider',
function($stateProvider) {
// Recipes state routing
$stateProvider.
state('listRecipes', {
url: '/recipes',
templateUrl: 'modules/recipes/views/list-recipes.client.view.html'
}).
state('createRecipe', {
url: '/reci... |
'use strict';
var test = require('tape');
var events = require('./lib/events');
var dragula = require('..');
test('drag event gets emitted when clicking an item', function (t) {
testCase('works for left clicks', { which: 0 });
testCase('works for wheel clicks', { which: 1 });
testCase('fails for right clicks', ... |
import expect from 'expect'
import { bindActionCreators, createStore } from '../../src'
import { todos } from '../helpers/reducers'
import * as actionCreators from '../helpers/actionCreators'
describe('bindActionCreators', () => {
let store
beforeEach(() => {
store = createStore(todos)
})
it('wraps the a... |
enum E of string {
A = true,
}
|
export default function defineLazyProperty (obj, propName, initializer) {
Object.defineProperty(obj, propName, {
propValue: null,
get () {
if (!this.propValue)
this.propValue = initializer();
return this.propValue;
}
});
}
|
//jshint strict: false
exports.config = {
allScriptsTimeout: 11000,
specs: [
'*.js'
],
capabilities: {
'browserName': 'chrome'
},
baseUrl: 'http://localhost:8000/',
framework: 'jasmine',
jasmineNodeOpts: {
defaultTimeoutInterval: 30000
}
};
|
// # Templates
//
// Figure out which template should be used to render a request
// based on the templates which are allowed, and what is available in the theme
var _ = require('lodash'),
config = require('../../config');
function getActiveThemePaths(activeTheme) {
return config.get('paths').availableThe... |
version https://git-lfs.github.com/spec/v1
oid sha256:708a7536a3e9ad1ad857d7e8241ab4ea94d382bc9b5d9b608732d33cbdd08772
size 669
|
export const integrations = {
outgoingEvents: {
sendMessage: {
label: 'Integrations_Outgoing_Type_SendMessage',
value: 'sendMessage',
use: {
channel: true,
triggerWords: true,
targetRoom: false,
},
},
fileUploaded: {
label: 'Integrations_Outgoing_Type_FileUploaded',
value: 'fileUplo... |
version https://git-lfs.github.com/spec/v1
oid sha256:25dad4b46a1c2a267f1c3b5dec174ab4ab3d26eb2f3042e351b618091d6a1ae3
size 2571
|
/*
// tabs.js widget for creating and displaying tabs
// Instantiation
// optional: content, active, removable
// you can make all tabs or individual tabs removable
var tabs = $('#ele').tabs();
//or
var tabs = $('#ele').tabs({tabs: [
{name: 'ta... |
var copy = require("../../../../util/copy.coffee"),
fontTester = require("../../../../core/font/tester.coffee"),
form = require("../../../form.js"),
print = require("../../../../core/console/print.coffee"),
validObject = require("../../../../object/validate.coffee")
//^^^^^^^^^^^^^^^^^^^^^... |
(function (window, ch) {
'use strict';
/**
* Modal is a dialog window with an underlay.
* @memberof ch
* @constructor
* @augments ch.Popover
* @param {HTMLElement} [el] A HTMLElement to create an instance of ch.Modal.
* @param {Object} [options] Options to customize an instance.
... |
function setProperties(object, properties) {
for (let key in properties) {
if (properties.hasOwnProperty(key)) {
object[key] = properties[key];
}
}
}
let guids = 0;
export default function factory() {
function Klass(options) {
setProperties(this, options);
this._guid = guids++;
this.is... |
fis.set('project.ignore', [
'output/**',
'node_modules/**',
'.git/**',
'.svn/**',
'widget/**/*.html',
'widget/**/*.css',
'widget/**/*.md',
'/config/**',
'/pages/**',
'/components/**',
'/lib/foundation/**',
'/lib/Font-Awesome/master/**',
'fis-conf.js',
'fis-conf-pa... |
/*!
* jQuery Password Strength plugin for Twitter Bootstrap
* Version: 2.2.0
*
* Copyright (c) 2008-2013 Tane Piper
* Copyright (c) 2013 Alejandro Blanco
* Dual licensed under the MIT and GPL licenses.
*/
(function (jQuery) {
// Source: src/i18n.js
var i18n = {};
(function (i18n, i18next) {
'use strict';
... |
/*
* /MathJax/localization/bcc/HTML-CSS.js
*
* Copyright (c) 2009-2018 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/lice... |
import React, {Component} from "react";
import App from "../components/App";
class Root extends Component {
constructor() {
super();
}
render() {
return (
<div className="siteImportExport-app personaBar-mainContainer">
<App />
</div>
);
}... |
import _extends from 'babel-runtime/helpers/extends';
import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties';
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
import _inherits from ... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v16.0.1
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
// class returns unique instance id's for columns.
// eg, the ... |
QUnit.module( "ready" );
( function() {
var notYetReady, noEarlyExecution,
order = [],
args = {};
notYetReady = !jQuery.isReady;
QUnit.test( "jQuery.isReady", function( assert ) {
assert.expect( 2 );
assert.equal( notYetReady, true, "jQuery.isReady should not be true before DOM ready" );
assert.equal( ... |
;(function (globalObject) {
'use strict';
/*
* bignumber.js v6.0.0
* A JavaScript library for arbitrary-precision arithmetic.
* https://github.com/MikeMcl/bignumber.js
* Copyright (c) 2018 Michael Mclaughlin <M8ch88l@gmail.com>
* MIT Licensed.
*
* BigNumber.prototype ... |
var config = require('../../config')
if(!config.tasks.iconFont) return
var gulp = require('gulp')
var iconfont = require('gulp-iconfont')
var generateIconSass = require('./generateIconSass')
var handleErrors = require('../../lib/handleErrors')
var package = require('../../../packa... |
/*jshint newcap:false*/
import EmberView from 'ember-views/views/view';
import EmberObject from 'ember-runtime/system/object';
import { A } from 'ember-runtime/system/native_array';
import Ember from 'ember-metal/core';
import { get } from 'ember-metal/property_get';
import { set } from 'ember-metal/property_set';
imp... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of');
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');
var _classCallChec... |
var _ = require('lodash');
function pathToArray(parts) {
var part = parts.shift();
if (parts.length > 0) {
var obj = {};
obj[part] = pathToArray(parts);
return obj;
} else {
return part;
}
}
module.exports = function(grunt) {
grunt.registerMultiTask('examples', 'Build examples site.', functi... |
'use strict';
const Utils = require('./../utils');
const Helpers = require('./helpers');
const _ = require('lodash');
const Association = require('./base');
/**
* One-to-many association
*
* In the API reference below, add the name of the association to the method, e.g. for `User.hasMany(Project)` the getter will ... |
var task = require("@nathanfaucett/task"),
jshint = require("gulp-jshint"),
jsbeautifier = require("gulp-jsbeautifier");
task("jsbeautifier", "beautifier js files", task.parallel(
function taskfile() {
return (
task.src("./taskfile.js")
.pipe(jsbeautifier())
.pi... |
/* http://keith-wood.name/countdown.html
* Slovenian localisation for the jQuery countdown extension
* Written by Borut Tomažin (debijan{at}gmail.com) (2011)
* updated by Jan Zavrl (jan@iuvo.si) (2015) */
(function($) {
'use strict';
$.countdown.regionalOptions.sl = {
labels: ['Let','Mesecev','Tednov','Dni','Ur'... |
module.exports={A:{A:{"2":"H E G C B A WB"},B:{"1":"g I J","2":"D u"},C:{"1":"0 1 2 3 4 5 6 a b c d N f M h i j k l m n o p q r s t y K","2":"UB x F L H E G C B A D u g I J Y O e P Q R S T U V W X v Z SB RB"},D:{"1":"0 1 2 3 4 5 6 i j k l m n o p q r s t y K GB AB CB VB DB EB","2":"F L H E G C B A D u g I J Y O e P Q R... |
/*
Copyright (c) 2008-2011, www.redips.net All rights reserved.
Code licensed under the BSD License: http://www.redips.net/license/
http://www.redips.net/javascript/drag-and-drop-table-content/
Version 5.0.5
Dec 27, 2012.
*/
var REDIPS=REDIPS||{};
REDIPS.drag=function(){var q,B,K,Aa,La,Ma,ca,da,ia,Ba,Ca,V,ja,Da,R,ka,Z,... |
/**
* Module dependencies.
*/
var css = require('css');
/**
* Expose `rework`.
*/
exports = module.exports = rework;
/**
* Expose `visit` helpers.
*/
exports.visit = require('./visit');
/**
* Expose prefix properties.
*/
exports.properties = require('./properties');
/**
* Initialize a new stylesheet `... |
import { get } from "ember-metal/property_get";
import run from "ember-metal/run_loop";
import EmberView from "ember-views/views/view";
import ContainerView from "ember-views/views/container_view";
var view;
QUnit.module("EmberView#destroyElement", {
teardown() {
run(function() {
view.destroy();
});
... |
/*
YUI 3.18.1 (build f7e7bcb)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('datasource-local', function (Y, NAME) {
/**
* The DataSource utility provides a common configurable interface for widgets to
* access a variety of data, from JavaS... |
// Note that this file is required before we install our Babel hooks in
// ../tool-env/install-babel.js, so we can't use ES2015+ syntax here.
var fs = require("fs");
var path = require("path");
// The dev_bundle/bin command has to come immediately after the meteor
// command, as in `meteor npm` or `meteor node`, beca... |
module.exports={A:{A:{"2":"H E G C B A VB"},B:{"2":"D u g I J"},C:{"1":"0 1 2 3 4 5 6 s t y K","2":"TB x F L H E G C B A D u g I J Y O e P Q R S T U V W X v Z a b c d N f M h i j k l m n o p q r RB QB"},D:{"1":"1 2 4 5 6 K FB AB CB UB DB","2":"F L H E G C B A D u g I J Y O e P Q R S T U V W X v Z a b c d N f M h i j k ... |
import {KEY_CODES} from './../helpers/unicode';
import {extend} from './../helpers/object';
import {setCaretPosition} from './../helpers/dom/element';
import {stopImmediatePropagation, isImmediatePropagationStopped} from './../helpers/dom/event';
import {getEditor, registerEditor} from './../editors';
import {TextEdit... |
console.log(require("../dll/alpha"));
console.log(require("../dll/a"));
console.log(require("beta/beta"));
console.log(require("beta/b"));
console.log(require("module"));
|
import Ember from 'ember';
export default Ember.Controller.extend({
hasNoDependency: Ember.computed(function() {
return true;
}),
hasMultipleDependencies: Ember.computed('foo', 'bar', function() {
return this.getProperties('foo', 'bar');
}),
chainedCP: Ember.computed('foo', function() {
return f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.