code stringlengths 2 1.05M |
|---|
/**
* 一些常用的函数方法封装
*/
var Util = {
/**
* 事件绑定
* @param element HTMLElement 元素节点
* @param type String 事件名称
* @param handler Funciton 事件执行的函数
*/
addEvent: function(element, type, handler) {
if (!element) {
return;
}
if (element instanceof Array) {
... |
'use strict';
var Controller = skit.platform.Controller;
var net = skit.platform.net;
// This is the base controller located in our "library" module.
var BaseController = library.BaseController;
// This loads Home.html so we can render the main content for the page.
var html = __module__.html;
// Specifying BaseCo... |
define({
"_widgetLabel": "Mesura"
}); |
/*
Copyright (c) 2007 Brian Dillard and Brad Neuberg:
Brian Dillard | Project Lead | bdillard@pathf.com | http://blogs.pathf.com/agileajax/
Brad Neuberg | Original Project Creator | http://codinginparadise.org
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associat... |
/*
* The Django-tribune jQuery plugin
*
* TODO: This lack of :
* * Use the header "X-Post-Id" to retrieve owned message posted and enable owner
* mark for anonymous;
* * "clock_store" cleaning when dropping messages from the list
* * User settings panel;
* * Think about themes usage;
*... |
import { h, Component } from 'preact/preact';
import ShallowCompare from 'shallow-compare/index';
import $JammerTV from 'external/jammertv/jammertv';
import SVGIcon from 'com/svg-icon/icon';
import NavSpinner from 'com/nav-spinner/spinner';
import IMG from 'com/img2/img2';
import Bu... |
/**
* Created by aleckim on 2016. 2. 13..
*/
'use strict';
var kmaTimeLib = {};
/**
* 201712242255 -> date
* @param str YYYYmmDDHHMMSS
* @returns {*}
*/
kmaTimeLib.convertStringToDate = function(str) {
if (!str) {
return new Date(0);
}
var y = str.substr(0,4),
m = str.substr(4,2) -... |
"use strict";
var EventEmitter = require('events').EventEmitter
, inherits = require('util').inherits
, f = require('util').format
, ServerCapabilities = require('./topology_base').ServerCapabilities
, MongoCR = require('mongodb-core').MongoCR
, MongoError = require('mongodb-core').MongoError
, CMongos = r... |
// useful es6 shim
if( !Array.prototype.find ) {
Array.prototype.find = function (iteratee, thisArg) {
if( typeof iteratee !== 'function' ) throw new TypeError('predicate must be a function');
for( var i = 0, n = this.length ; i < n ; i++ ) {
if( iteratee.call(thisArg, this[i]) ) {
return this... |
/*
* 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.
*/
'... |
type T = [x: A, y?: B, ...z: C];
|
import 'nanoid';
import './Debug-dda4b5bc.js';
import 'redux';
import './turn-order-62966a9c.js';
import 'immer';
import 'lodash.isplainobject';
import './reducer-763b001e.js';
import 'rfc6902';
import './initialize-ca65fd4a.js';
import './transport-0079de87.js';
export { C as Client } from './client-5202a476.js';
impo... |
'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
n = n + '';
var i = n.indexOf('.');
return (i == -1) ? 0 : n.length - i - 1;
}
function getVF(n, opt_pre... |
// o--------------------------------------------------------------------------------o
// | This file is part of the RGraph package - you can learn more at: |
// | |
// | https://www.rgrap... |
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import _extends from "@babel/runtime/helpers/esm/extends";
import * as React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import formControlState from '../FormControl/formControlState';
imp... |
import _extends from"@babel/runtime/helpers/esm/extends";import _objectWithoutProperties from"@babel/runtime/helpers/esm/objectWithoutProperties";import*as React from"react";import PropTypes from"prop-types";import clsx from"clsx";import withStyles from"../styles/withStyles";import ListContext from"../List/ListContext"... |
/*jshint eqnull:true */
/*!
* jQuery Cookie Plugin v1.1
* https://github.com/carhartl/jquery-cookie
*
* Copyright 2011, Klaus Hartl
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://www.opensource.org/licenses/mit-license.php
* http://www.opensource.org/licenses/GPL-2.0
*/
(function($,... |
import Ember from "ember-metal/core";
import {
meta as metaFor,
typeOf
} from "ember-metal/utils";
import {
defineProperty as o_defineProperty,
hasPropertyAccessors
} from "ember-metal/platform";
import {
MANDATORY_SETTER_FUNCTION,
DEFAULT_GETTER_FUNCTION
} from "ember-metal/properties";
export function wa... |
/*
* 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.
*/
... |
System.register([],function(e,t){"use strict";t&&t.id;return{setters:[],execute:function(){}}});
//# sourceMappingURL=index.js.map
|
'use strict';
exports.init = () => {
const dsn = process.env.SENTRY_DSN;
if (dsn) {
const raven = require('raven');
return new raven.Client(dsn);
}
}; |
export default function Home() {
return <div>Hello World!</div>
}
|
export const SERVER_URI = process.env.SERVER_URI || 'http://127.0.0.1:3000';
export const GET_TOKEN_REQUEST = 'GET_TOKEN_REQUEST';
export const GET_TOKEN_SUCCESS = 'GET_TOKEN_SUCCESS';
export const GET_TOKEN_FAILED = 'GET_TOKEN_FAILED';
export const START_MICROPHONE = 'START_MICROPHONE';
export const STOP_MICROPHONE ... |
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//------------------------------------------------------... |
"use strict";
import store from "../store";
export default (network, channel) => {
if (!network.isCollapsed || channel.highlight || channel.type === "lobby") {
return false;
}
if (store.state.activeChannel && channel === store.state.activeChannel.channel) {
return false;
}
return true;
};
|
/*
* jitsu.js: Top-level include for the jitsu module.
*
* (C) 2010, Nodejitsu Inc.
*
*/
var path = require('path'),
util = require('util'),
colors = require('colors'),
flatiron = require('flatiron')
godaddy = require('./jitsu/commands/godaddy');
var jitsu = module.exports = flatiron.app;
//
// ... |
"use strict";
function interpLinear(i, i0, v0, v1) {
var d = i - i0;
return v0 * (1 - d) + v1 * d;
}
function interpNearest(i, i0, v0, v1) {
return (i - i0) < 0.5 ? v0 : v1;
}
class AudioResampler {
constructor(channels, sourceRate, targetRate, interpolation) {
if (channels <= 0) throw new TypeError("Inv... |
define(function(require) {
'use strict';
var $ = require('jquery');
var moment = require('moment');
var __ = require('orotranslation/js/translator');
var localeSettings = require('orolocale/js/locale-settings');
var locale = localeSettings.getLocale();
require('jquery-ui');
$.datepicke... |
// Array.prototype.findIndex - MIT License (c) 2013 Paul Miller <http://paulmillr.com>
// For all details and docs: <https://github.com/paulmillr/Array.prototype.findIndex>
(function (globals) {
if (Array.prototype.findIndex) return;
var findIndex = function(predicate) {
var list = Object(this);
var length... |
YUI.add('aui-viewport', function (A, NAME) {
var Lang = A.Lang,
getClassName = A.getClassName,
defaults = A.namespace('config.viewport'),
CSS_PREFIX = getClassName('view') + A.config.classNameDelimiter,
DEFAULTS_COLUMNS = defaults.columns || (defaults.columns = {
12: 960,
9: 720,
... |
import { meta as metaFor } from './meta';
import { assert, runInDebug, deprecate } from './debug';
import isEnabled from './features';
let runInTransaction, didRender, assertNotRendered;
let raise = assert;
if (isEnabled('ember-glimmer-allow-backtracking-rerender')) {
raise = (message, test) => {
deprecate(mess... |
import config from '@boldr/config';
const welcomeEmail = verificationToken =>
`
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<div style='margin: 0; padding: 0; width: 100%; fon... |
'use strict';
describe("ngAnimate $animateCss", function() {
beforeEach(module('ngAnimate'));
beforeEach(module('ngAnimateMock'));
function assertAnimationRunning(element, not) {
var className = element.attr('class');
var regex = /\b\w+-active\b/;
not ? expect(className).toMatch(regex)
: ex... |
/**
* @fileoverview Tests for prefer-spread rule.
* @author Toru Nagashima
* @copyright 2015 Toru Nagashima. All rights reserved.
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//--------------------------------------------------------------------... |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const util = require("util");
const truncateArgs = require("../logging/truncateArgs");
const tty = process.stderr.isTTY && process.env.TERM !== "dumb";
let currentStatusMessage = undefined;
let hasStatu... |
var assert = require('assert'),
posix = require("../../lib/posix");
assert.throws(function() {
posix.getgrnam();
}, /requires exactly 1 argument/);
assert.throws(function() {
posix.getgrnam(1, 2);
}, /requires exactly 1 argument/);
assert.throws(function() {
posix.getgrnam("doesnotexistzzz123");
}, /... |
'use strict'
/**
* Explicit enumeration of the states a transaction can be in:
*
* PENDING upon instantiation (implicitly, no start time set)
* RUNNING while timer is running (implicitly, start time is set but no stop
* time is set).
* STOPPED timer has been completed (implicitly, start time and stop time
* ... |
/* */
'use strict';
var getKeys = require('./_object-keys'),
gOPS = require('./_object-gops'),
pIE = require('./_object-pie'),
toObject = require('./_to-object'),
IObject = require('./_iobject');
module.exports = require('./_fails')(function() {
var a = Object.assign,
A = {},
B = {},
... |
'use strict';
// Init the application configuration module for AngularJS application
var ApplicationConfiguration = (function() {
// Init module configuration options
var applicationModuleName = 'mean';
var applicationModuleVendorDependencies = ['ngResource', 'ngCookies', 'ngAnimate', 'ngTouch', 'ngSanitize', '... |
var assert = require('assert');
var express = require('..');
var methods = require('methods');
var request = require('supertest');
describe('res', function(){
describe('.send(null)', function(){
it('should set body to ""', function(done){
var app = express();
app.use(function(req, res){
res... |
/*
Highcharts JS v7.1.1 (2019-04-09)
Sankey diagram module
(c) 2010-2019 Torstein Honsi
License: www.highcharts.com/license
*/
(function(d){"object"===typeof module&&module.exports?(d["default"]=d,module.exports=d):"function"===typeof define&&define.amd?define("highcharts/modules/sankey",["highcharts"],function... |
import React from 'react';
import DatePicker from 'material-ui/DatePicker';
export default class DatePickerExampleControlled extends React.Component {
constructor(props) {
super(props);
this.state = {
controlledDate: null,
};
}
handleChange = (event, date) => {
this.setState({
cont... |
/*!
* jQuery JavaScript Library v2.0.3 -sizzle,-wrap,-css,-event-alias,-ajax,-ajax/script,-ajax/jsonp,-ajax/xhr,-effects,-offset,-dimensions
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license... |
/**
* @license Highcharts JS v7.0.1 (2018-12-19)
*
* Indicator series type for Highstock
*
* (c) 2010-2018 Kacper Madej
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
module.exports = factory;
} else if (typeof define === '... |
(function(r,k){"object"===typeof exports&&"object"===typeof module?module.exports=k():"function"===typeof define&&define.amd?define([],k):"object"===typeof exports?exports.RxPlayer=k():r.RxPlayer=k()})(this,function(){return function(r){function k(n){if(c[n])return c[n].exports;var p=c[n]={exports:{},id:n,loaded:!1};r[... |
IntlMessageFormat.__addLocaleData({"locale":"sl"});
|
import Stylis from 'stylis/stylis.min';
import _insertRulePlugin from 'stylis-rule-sheet';
import React, { cloneElement, createContext, Component, createElement } from 'react';
import { isElement, isValidElementType, ForwardRef } from 'react-is';
import memoize from 'memoize-one';
import stream from 'stream';
import Pr... |
import { __decorate, __metadata } from 'tslib';
import { ɵɵdefineInjectable, ɵɵinject, Injectable } from '@angular/core';
import { Angulartics2 } from 'angulartics2';
var facebookEventList = [
'ViewContent',
'Search',
'AddToCart',
'AddToWishlist',
'InitiateCheckout',
'AddPaymentInfo',
'Purc... |
require('../../modules/es.string.fontsize');
module.exports = require('../../internals/entry-unbind')('String', 'fontsize');
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
switch (arguments.length) {
case 2: return decorators.reduceRight(function(o, d) { r... |
this.primereact = this.primereact || {};
this.primereact.steps = (function (exports, React, core) {
'use strict';
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
function _classC... |
define(['exports', 'module'], function (exports, module) {
'use strict';
module.exports = deprecationWarning;
function deprecationWarning(oldname, newname, link) {
if (process.env.NODE_ENV !== 'production') {
if (!window.console && typeof console.warn !== 'function') {
return;
}
v... |
/**
* Interaction manages all aspects of user interaction - mouse move,
* click, hover, drag events, touch gestures.
*
* [[InteractionObject]] elements that want to use certain events, must attach event
* listeners to Interaction instance.
*
* Interaction itself will not modify [[InteractionObject]] eleme... |
/*global define*/
define(['jquery', 'underscore', 'backbone', 'templates', 'bootstrap-switch'], function($, _, Backbone, JST) {
'use strict';
var FilterLabelView = Backbone.Marionette.ItemView.extend({
tagName: 'div',
ui: {
'toggle': '.make-switch'
},
getSwitch: fun... |
jQuery(function($) {
$('#simple-colorpicker-1').ace_colorpicker({pull_right:true}).on('change', function(){
var color_class = $(this).find('option:selected').data('class');
var new_class = 'widget-box';
if(color_class != 'default') new_class += ' widget-color-'+color_class;
$(this).closest('.widget-box... |
'use strict';
var filter = require('through2-filter');
function filterSince(date) {
var isValid = typeof date === 'number' ||
date instanceof Number ||
date instanceof Date;
if (!isValid) {
throw new Error('expected since option to be a date or timestamp');
}
return filter.obj(function(file) {
... |
async %%PARAM%% => %%BODY%%;
|
module.exports = {
entry: './app.tsx',
output: {
filename: 'bundle.js'
},
resolve: {
extensions: ['', '.tsx', '.ts', '.js']
},
externals: {
react: true,
},
module: {
loaders: [
{ test: /\.ts(x?)$/, loader: 'ts-loader' }
]
}
}
// fo... |
import React, { Component } from 'react'
import { Button, Dimmer, Header, Image, Segment } from 'semantic-ui-react'
export default class DimmerExampleDimmer extends Component {
state = {}
handleShow = () => this.setState({ active: true })
handleHide = () => this.setState({ active: false })
render() {
con... |
(function () {
'use strict';
angular.module('flexget.services')
.run(serverConfig);
function serverConfig(toolBar, server, $mdDialog) {
var reload = function () {
var reloadController = function ($mdDialog) {
var vm = this;
vm.title = 'Reload C... |
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var __decorate = (this && this.__decorate) || function (decora... |
(function() {
this.GroupMembers = (function() {
function GroupMembers() {
$('li.group_member').bind('ajax:success', function() {
return $(this).fadeOut();
});
}
return GroupMembers;
})();
}).call(this);
|
var ascli = require("../ascli.js").app("myapp");
ascli.banner("staying straight".green.bold, "v1.0.0 through ascli");
console.log("Hello world!".white.bold);
console.log("...of ascli\n");
console.log("Command line arguments".white.bold);
console.log(ascli.opt, ascli.argv);
ascli.banner("abcdefghijklmnopqrstuvwxyz 0123... |
'use strict';
const common = require('../common');
// This immediate should not execute as it was unrefed
// and nothing else is keeping the event loop alive
setImmediate(() => {
setImmediate(common.mustNotCall()).unref();
});
|
var parent = require('../../actual/error/to-string');
module.exports = parent;
|
/* Copyright (c) 2006-2011 by OpenLayers Contributors (see authors.txt for
* full list of contributors). Published under the Clear BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the
* full text of the license. */
/**
* @requires OpenLayers/Format/XML.js
* @requires OpenLayers/Geo... |
import React, {Component} from 'react';
import {
ScrollView,
TouchableOpacity,
StyleSheet,
Image,
Text,
View,
Platform,
ScrolView
} from 'react-native';
import {SharedElementTransition} from 'react-native-navigation';
import * as Animatable from 'react-native-animatable';
import * as setStyles from './s... |
import Vue from 'vue';
import component from '~/vue_shared/components/code_block.vue';
import mountComponent from '../../helpers/vue_mount_component_helper';
describe('Code Block', () => {
const Component = Vue.extend(component);
let vm;
afterEach(() => {
vm.$destroy();
});
it('renders a code block wit... |
/*!
* numbro.js language configuration
* language : Russian
* locale : Ukraine
* author : Anatoli Papirovski : https://github.com/apapirovski
*/
(function () {
'use strict';
var language = {
langLocaleCode: 'ru-UA',
delimiters: {
thousands: ' ',
decimal: ','
... |
'use strict';
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.definePrope... |
cordova.define("org.apache.cordova.statusbar.statusbar", function(require, exports, module) {/*
*
* 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... |
var version = require("vtree/version")
module.exports = isVirtualPatch
function isVirtualPatch(x) {
return x && x.type === "VirtualPatch" && x.version === version
}
|
/**
* @name Filter BandPass
* @description Apply a p5.BandPass filter to white noise.
* Visualize the sound with FFT.
* Map mouseX to the bandpass frequency
* and mouseY to resonance/width of the a BandPass filter
*
* <p><em><span class="small"> To run this example locally, you will need the
* <a href="htt... |
YUI.add('gallery-y64', function(Y) {
/*global YUI*/
var Base64 = Y.Base64;
/*
* Copyright (c) 2009 Nicholas C. Zakas. All rights reserved.
* http://www.nczonline.net/
*/
/**
* Y64 encoder/decoder
* @module gallery-y64
*/
/**
* Y64 encoder/decoder
* @class Y64
* @static
*/
Y.Y64 = {
/**
* Y64... |
function multiUrlPickerController($scope, angularHelper, localizationService, entityResource, iconHelper, editorService) {
var vm = {
labels: {
general_recycleBin: ""
}
};
$scope.renderModel = [];
if ($scope.preview) {
return;
}
if (!Array.isArray($scope.m... |
describe('[Regression](GH-2153)', function () {
it('Shadow element should not appear in user event handler', function () {
return runTests('testcafe-fixtures/index.js');
});
});
|
function x () {
global.answer = 'x';
}
function y () {
global.answer = 'y';
}
export default Math.random() < 0.5 ? x : y;
|
const udp = require('dgram');
const dns = require('dns');
const Constants = require('../../util/Constants');
const EventEmitter = require('events').EventEmitter;
class VoiceConnectionUDPClient extends EventEmitter {
constructor(voiceConnection, data) {
super();
this.voiceConnection = voiceConnection;
thi... |
var pv = require("bio-pv");
var viewer = pv.Viewer(document.getElementById('hereGoesTheViewer'), {
quality: 'medium',
width: 'auto',
height: 'auto',
antialias: true,
outline: true,
slabMode: 'auto'
});
function load(name, pdbId) {
pv.io.fetchPdb('../pdbs/' + pdbId + '.pdb', function(structure) {
// ... |
(function ($) {
$.fn.countdown = function (options) {
var settings = $.extend({ endDateTime: new Date() }, options);
return this.each(function () {
var timeoutInterval = null;
var container = $(this);
settings.endDateTime = new Date(container.data("countdown"))
... |
/* version: 0.3.151, born: 25-2-2014 23:32 */
var Organic = (function(w){
var o = {
helpers: {},
lib: {
atoms: {},
molecules: {}
}
}
var require = function(v) {
if(v == "./helpers/extend") {
return o.helpers.extend;
} else if(v == "/helpers/snippets" || v == "../../helpers/snippets") {
return o.... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: First expression is evaluated first, and then second expression
es5id: 11.8.1_A2.4_T2
description: Checking with "throw"
---*/
//CHECK#1
var x = function () { throw "x"; };
v... |
var binding = require('bindings')('binding');
var assert = require('assert');
/**
* Compress asyncronous.
* If input isn't a string or buffer, automatically convert to buffer by using
* JSON.stringify.
*/
exports.compress = function (input, callback) {
if (!(typeof (input) === 'string' || Buffer.isBuffer(input))... |
define(['mout/date/isSame'], function(isSame){
describe('date/isSame', function(){
it('should check if dates are equal', function(){
expect( isSame(new Date(2013,3,5), new Date(2013,3,5)) ).toBe(true);
expect( isSame(new Date(2013,3,5), new Date(2013,3,5,1)) ).toBe(false);
... |
/*! UIkit 3.0.0-rc.9 | http://www.getuikit.com | (c) 2014 - 2017 YOOtheme | MIT License */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) :
typeof define === 'function' && define.amd ? define('uikitnotification', ['ui... |
steal('can/construct',function($){
var isFunction = can.isFunction,
isArray = can.isArray,
makeArray = can.makeArray,
proxy = function( funcs ) {
//args that should be curried
var args = makeArray(arguments),
self;
// get the functions to callback
funcs = args.shift();
// if there is only one f... |
var assert = require('assert');
var path = require('path');
var fs = require('fs');
var util = require('util');
var temp = require('../lib/temp');
temp.track();
var existsSync = function(path){
try {
fs.statSync(path);
return true;
} catch (e){
return false;
}
};
// Use path.exists for 0.6 if neces... |
/**
* Return true, if the value is a valid date, also making this formal check dd/mm/yyyy.
*
* @example $.validator.methods.date("01/01/1900")
* @result true
*
* @example $.validator.methods.date("01/13/1990")
* @result false
*
* @example $.validator.methods.date("01.01.1900")
* @result false
*
* @example <... |
/**
* ProgressState.js
*
* Released under LGPL License.
* Copyright (c) 1999-2016 Ephox Corp. All rights reserved
*
* License: http://www.tinymce.com/license
* Contributing: http://www.tinymce.com/contributing
*/
define(
'tinymce.themes.modern.ui.ProgressState',
[
'tinymce.core.ui.Throbber'
],
func... |
var parent = require('../../stable/number/is-nan');
module.exports = parent;
|
/*!
* froala_editor v2.8.2 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2018 Froala Labs
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('FroalaEditor')) :
typeof define === 'function'... |
/**
* @version: 3.0.1
* @author: Dan Grossman http://www.dangrossman.info/
* @copyright: Copyright (c) 2012-2018 Dan Grossman. All rights reserved.
* @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php
* @website: http://www.daterangepicker.com/
*/
// Following the UMD templ... |
//var lsc = require("./lib/livescript.js");
var lsc = require("./livescript.js").LiveScript;
var lineRegex = /on line (\d+)/;
module.exports = function(info) {
var text = info.inputs.text;
try {
lsc.compile(text);
} catch (e) {
var message = e.message;
var match = lineRegex.exec(mes... |
/*!
* Bootstrap-select v1.13.7 (https://developer.snapappointments.com/bootstrap-select)
*
* Copyright 2012-2019 SnapAppointments, LLC
* Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE)
*/
!function(e,o){void 0===e&&void 0!==window&&(e=window),"function"==typeof... |
/**
* \@whatItDoes Represents the version of Angular
*
* \@stable
*/
export var Version = (function () {
/**
* @param {?} full
*/
function Version(full) {
this.full = full;
}
Object.defineProperty(Version.prototype, "major", {
/**
* @return {?}
*/
... |
define(
//begin v1.x content
{
"field-quarter-short-relative+0": "dit kwartaal",
"field-quarter-short-relative+1": "volgend kwartaal",
"field-tue-relative+-1": "afgelopen dinsdag",
"field-year": "jaar",
"field-wed-relative+0": "deze woensdag",
"field-wed-relative+1": "volgende week woensdag",
"field-minute": "mi... |
define(
//begin v1.x content
{
"field-quarter-short-relative+0": "dit kwartaal",
"field-quarter-short-relative+1": "volgend kwartaal",
"field-tue-relative+-1": "afgelopen dinsdag",
"field-year": "jaar",
"field-wed-relative+0": "deze woensdag",
"field-wed-relative+1": "volgende week woensdag",
"field-minute": "mi... |
// Copyright 2008 The Closure Library Authors. All Rights Reserved.
//
// 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 requ... |
// Generated by CoffeeScript 1.6.3
var OPERATOR;
OPERATOR = /^(?:[-=]>|[-+*\/%<>&|^!?=]=|>>>=?|([-+:])\1|([&|<>])\2=?|\?\.|\.{2,3})/;
|
/**
* Created by yangmengyuan on 15/10/20.
*/
$(function(){
var
$body = $('body'),
$ftlist = $(".find-teacher-list");
$ftlist.each(function(){
$body.on({
mouseenter:function(){
$(this).find(".find-teacher-hover").stop().animate({"top":0},300);
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.