code
stringlengths
2
1.05M
$(function() { $(window).on('scroll', function() { if ($(this).scrollTop() > 460) { $('#scroll-social-btn').addClass('d-fixed'); } else { $('#scroll-social-btn').removeClass('d-fixed'); } }); });
var responses = [ 'As I see it, yes.', 'It is certain.', 'It is decidedly so.', 'Most likely.', 'Outlook good.', 'Signs point to yes.', 'Without a doubt.', 'Yes.', 'Yes — definitely.', 'You may rely on it.', 'Reply hazy. Try again.', 'Ask again later.', 'Better not tell you now.', 'Cannot predict now.', ...
//支持md5或扩展名称 var through = require("through2"); var path = require("path"); var gutil = require("gulp-util"); var PluginError = gutil.PluginError; var crypto = require('crypto'); var fs = require("fs"); var pluginName = 'gulp-jmbuild-rename'; var cache = require('./cache'); //给文件生成md5路径后缀 exports.md5 = function(op...
(function () { "use strict"; var mediaPlayer = null; var midrollAd = new PlayerFramework.Advertising.MidrollAdvertisement(); midrollAd.source = new Microsoft.PlayerFramework.Js.Advertising.RemoteAdSource(); midrollAd.source.type = Microsoft.Media.Advertising.VastAdPayloadHandler.adType; midro...
var faye = require('faye') , http = require('http') , util = require('../../../lib/pubsub/util') ; exports.World = function World(callback) { this.app = require('../../../app'); this.app.storage.clear(); this.fayeClient = new faye.Client('http://localhost:3000/faye'); this.messages = []; t...
const request = require('supertest') , {expect} = require('chai') , db = require('APP/db') , app = require('./start') , Order = db.model('orders') , User = db.model('users') , Glasses = db.model('glasses') /* global describe it before afterEach beforeEach */ describe('/api/orders', () => { b...
var b = require("ast-types").builders; module.exports = { // Config itemName: /(?:)/, itemType: 'Element', // Method init: element => { return { createHtmlElement: () => b.callExpression ( b...
var breadcrumbs=[['-1',"",""],['2',"SOLUTION-WIDE PROPERTIES Reference","topic_0000000000000C16.html"],['1984',"Tlece.Recruitment.Models.Company Namespace","topic_0000000000000699.html"],['2061',"CompanyRoleDto Class","topic_00000000000006DC.html"],['2062',"Properties","topic_00000000000006DC_props--.html"],['2063',"Co...
const _ = require('lodash') const ApiFactory = require('../../../../services/api').default const { <%= moduleName_upperCase%>_FINDBYID_REQUEST_START, <%= moduleName_upperCase%>_FINDBYID_REQUEST_SUCCESS, <%= moduleName_upperCase%>_FINDBYID_REQUEST_FAILURE, } = require('../constants').default //findById expo...
/** This test aims to show how the io_manager library should be used. It shows the initialization, some basic usage steps, and destruction of the library. **/ var utils = require('../utils/utils'); var testDeviceObject = utils.testDeviceObject; var testDeviceObjects = utils.testDeviceObjects; var qRunner = utils...
var xtend = require('xtend') module.exports = function(opt) { opt = opt||{} var opacity = typeof opt.opacity === 'number' ? opt.opacity : 1 var alphaTest = typeof opt.alphaTest === 'number' ? opt.alphaTest : 0.06 var smooth = typeof opt.smooth === 'number' ? opt.smooth : 1/16 return xtend({ attributes: ...
var app = require('express')(); var http = require('http').Server(app); var io = require('socket.io')(http); var nicknames = []; http.listen(3000, function(){ console.log('listening on *:3000'); }) app.get('/', function(req, res){ res.sendFile( __dirname + '/index.html'); }); io.on('connection', function(socket){...
import fixtures from './spectreport-github.fixtures'; import path from 'path'; // Wrap all console logging within a function function trapConsole(func) { return function () { let oldConsole = console.log; let consoleLog = sinon.mock(); console.log = consoleLog; try { fu...
'use strict'; // karma.conf.js module.exports = function(config) { config.set({ browsers: ['Firefox'], frameworks: ['mocha', 'detectBrowsers'], detectBrowsers: { enabled: true, usePhantomJS: false, postDetection: function(availableBrowser) { // modify to enable additional brows...
var scrollObject = require('./scrollObject'); module.exports = function(spec) { var that = new Group(); var WIDTH = 320; var HEIGHT = 272; var MAX_ARRAY = 2; var pict = spec.pict; var backGroundArray = new Array(MAX_ARRAY); (function() { for(var i=0; i<MAX_ARRAY; i++) { ...
/** @typedef {import('./index').EventBridgeCloudWatchAlarmsEvent} EventBridgeCloudWatchAlarmsEvent */ module.exports = { /** * @param {EventBridgeCloudWatchAlarmsEvent} event * @returns {String} A hex color value */ value(event) { switch (event.detail.state.value) { case 'OK': return '#2...
var Jquerypivot; (function (Jquerypivot) { (function (Lib) { var StringBuilder = (function () { function StringBuilder(value) { this.strings = ['']; this.append(value); } StringBuilder.prototype.append = function (value) { ...
var fs = require('fs'), frisby = require('frisby'), ini = require('ini'); var config = ini.parse(fs.readFileSync('../config.ini', 'utf-8')); config.baseUrl = "http://localhost:8081/"; var logged = function(callback) { frisby.globalSetup({ request: { baseUri: config.baseUrl } }); frisby.create('Login') ....
var Mongoose = require("mongoose"); var Module = function () { var _name = "Continents"; var _schema = new Mongoose.Schema({ name: String, region: { type: Mongoose.Schema.Types.ObjectId, ref: 'Regions' } }); return Mongoose.connection.models[_name] || Mongoos...
module.exports.complement = require("./complement") module.exports.diff = require("./diff") module.exports.intersect = require("./intersect") module.exports.join = require("./join") module.exports.union = require("./union") module.exports.where = require("./where")
var searchData= [ ['concatenation_5fparser',['concatenation_parser',['../structthewizardplusplus_1_1wizard__parser_1_1parser_1_1concatenation__parser.html',1,'thewizardplusplus::wizard_parser::parser']]] ];
version https://git-lfs.github.com/spec/v1 oid sha256:a5f7e816007e246313c24f02bb520028b67f9669a6f59250dfb2ad055cd66f02 size 1812362
var InheritanceHelpers = Coool.traits.InheritanceHelpers; var Class = Coool.Class.extend({ traits : [InheritanceHelpers]}); QUnit.module("traits.InheritanceHelpers"); test("parent Class should be isAncestorOf() it's direct child", function() { var Parent = Class.extend({}); var Child = Parent.extend({}); ...
/** * Users * Pokemon Showdown - http://pokemonshowdown.com/ * * Most of the communication with users happens here. * * There are two object types this file introduces: * User and Connection. * * A User object is a user, identified by username. A guest has a * username in the form "Guest 12". Any user whose u...
$(function () { 'use strict'; function books(data) { function getLastBooks(count) { return data.get('books/last', { count: count }); } return { getLastBooks: getLastBooks }; } angular.module('librarySystem.services') .factory('books', ['...
/** * Copyright 2016 Reza (github.com/rghorbani) * * @flow */ 'use strict'; const React = require('react'); const PropTypes = require('prop-types'); const { Platform, StyleSheet } = require('react-native'); const { BaseComponent, Constants, Colors, Shadows, Text, View, } = require('react-native-ui-lib...
//>>built define(["dojo/_base/declare","dojo/_base/lang","dojo/_base/array","dojo/_base/json","dojo/has","esri/kernel","esri/layerUtils","esri/geometry/jsonUtils","esri/geometry/scaleUtils"],function(f,m,g,e,q,r,h,n,p){var d=f(null,{declaredClass:"esri.tasks.IdentifyParameters",constructor:function(){this.layerOption=d...
search_result['1257']=["topic_00000000000002F0.html","tlece_BadgesCategory.Id Property",""];
var gulp = require('gulp'); var gulpServe = require('gulp-serve'); var gulpSequence = require('gulp-sequence'); var config = require('../default-config'); var injectDocs = require('./inject-docs'); gulp.task('docs:inject', injectDocs()); gulp.task('docs:serve', gulpServe({ root: [config.paths.docs.app.root, 'bower_c...
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'newpage', 'bs', { toolbar: 'Novi dokument' } );
/* [Discuz!] (C)2001-2099 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: portal_diy.js 31093 2012-07-16 03:54:34Z zhangguosheng $ */ var drag = new Drag(); drag.extend({ 'getBlocksTimer' : '', 'blocks' : [], 'blockDefaultClass' : [{'key':'Select a Style','value':''},{'key':...
var Logger = require('content-logger'); var contentLogger = Logger.create( { prototype: { init: function() { this.testStats = { failures: 0 }; this.on( 'add', function(error) { if (error.type !== 'ignored') { this.testStats.failures++; } } ); } } } );...
import React from 'react'; import ReactDOM from 'react-dom'; import './styles/style.scss'; import CountupBlock from 'components/countup_block'; ReactDOM.render( <CountupBlock />, document.getElementById('app'), );
(function(){ var canvasWidth = 800; var canvasHeight = 800; var sideLength = canvasWidth; var generationsCount = 6; var colorsCount = 100; var svgContainer = d3.select("body").append("svg") .attr("width", canvasWidth) .attr("height", canvasHeight); var color = d3.scaleLi...
alert("Hola mUNDO");
'use strict'; var EventEmitter = require('events'), net = require('net'); // see: arpa/telnet.h const IAC = 255; const DONT = 254; const DO = 253; const WONT = 252; const WILL = 251; const SB = 250; const SE = 240; const GA = 249; const EOR = 239; const OPT_ECHO = 1; const OP...
export const reverseString = (input) => { return input.split("").reverse().join(""); };
function HTTPGET(url) { var req = new XMLHttpRequest(); req.open("GET", url, false); req.send(null); return req.responseText; } var getData = function() { //Get weather info var response = HTTPGET("http://192.168.1.95:8085/telemachus/datalink?vertaltitude=v.altitude&gforce=v.geeForce&paused=p.paused&shipname=v.b...
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'liststyle', 'fr', { armenian: 'Numération arménienne', bulletedTitle: 'Propriétés de la liste à puces', circle: 'Cercle', decimal: 'Décim...
/** * @license Highstock JS v10.0.0 (2022-03-07) * @module highcharts/modules/datagrouping * @requires highcharts * * Data grouping module * * (c) 2010-2021 Torstein Hønsi * * License: www.highcharts.com/license */ 'use strict'; import dataGrouping from '../../Extensions/DataGrouping.js'; export default dataG...
var selectedDate = (function () { var keyFormat = "YYYY-MM-DD"; var getAsKey = function () { return Session.get("selectedDate"); }; var getAsMoment = function () { return moment.utc(getAsKey(), keyFormat); }; var getFormatted = function () { var localFormat = i18n.getDateFormat(); retur...
/* * Module dependencies. */ global.__base = __dirname + '/'; if (process.argv[2] === undefined) { process.argv[2] = 'development'; } var codeprez = require('./lib'), /** * Expose `codeprez()`. */ exports = module.exports = new codeprez();
var disconnectcount = 0, count = 0; function removeClasses(index, klass) { return klass.replace(/(^|\s)+dot\s+/, ''); } function checkDisconnects() { if (disconnectcount > 4) changeStatus("yellow", true); } function changeStatus(color, isWarning) { console.debug("Changing status to " + color, isWar...
Package.describe({ name: 'babrahams:constellation', version: '0.1.6', summary: 'A curated set of packages for Constellation', git: 'https://github.com/JackAdams/constellation-distro.git', documentation: 'README.md', debugOnly: true }); Package.onUse(function(api) { api.versionsFrom('1.1'); api.use('...
var http = require("http-get"), url = require("url"), path = require("path"), fs = require("fs"), util = require('util'); var Log = require('../../utils/Log.js'); var FileUtils = require('../../utils/File.js'); var YouTubeDownload = require('../../download/YouTubeDownload.js'); var LinkResolver = requi...
'use strict'; /* jasmine specs for controllers go here */ /* todo describe('controllers', function(){ beforeEach(module('myApp.controllers')); it('should ....', inject(function($controller) { //spec body var myCtrl1 = $controller('MyCtrl1', { $scope: {} }); expect(myCtrl1).toBeDefined(); })); it...
var Mongoose = require('mongoose'); var Schema = Mongoose.Schema, ObjectId = Schema.ObjectId; // Start of Friends n Food var UserSchema = new Mongoose.Schema({ "name": String, "email": String, "password": String, "imageUrl": String, "attendence": Number, "aamount": Number, "rating": Number, ...
/* global describe, it */ (function() { 'use strict'; var expect = require('chai').expect; var aftershave = require('../src/aftershave.js'); function _run(template, args, expected, context) { var actual = aftershave.render(template, args, context); expect(actual).to.equal(expected); ...
 $(function() { if(get_menu_param("id")) { // 编辑状态 $.getJSON( "ajax_library_get?id=" + get_menu_param("id") + "&random=" + Math.random(), function(data) { $("#title").html("修改数据"); // 保存在book表中 $("#picture").val(data.data.book_picture); $("#picture").ckeditor(); $("#content").val(data.da...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('primeng/dom')) : typeof define === 'function' && define.amd ? define('primeng/dragdrop', ['exports', '@angular/core', '@angular/common', 'p...
/** * Tom Select v2.0.0-rc.2 * Licensed under the Apache License, Version 2.0 (the "License"); */ import TomSelect from '../../tom-select.js'; /** * Plugin: "input_autogrow" (Tom Select) * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this * file except in compliance with the L...
/* Tabulator v4.5.0 (c) Oliver Folkerd */ var Persistence = function Persistence(table) { this.table = table; //hold Tabulator object this.mode = ""; this.id = ""; // this.persistProps = ["field", "width", "visible"]; this.defWatcherBlock = false; this.config = {}; this.readFunc = false; this.writeFunc = false...
/*! * OOUI v0.40.0 * https://www.mediawiki.org/wiki/OOUI * * Copyright 2011–2020 OOUI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * * Date: 2020-07-30T22:39:58Z */ ( function ( OO ) { 'use strict'; /** * Toolbars are complex interface components that permit us...
'use strict'; describe('VBoxLayout', ()=>{ it('should construct a BoxLayout with VERTICAL orientation', ()=>{ let w1 = new ST.Widgets.Panel(); w1.layout = new ST.Layouts.VBoxLayout(w1); expect(w1.layout.orientation).to.equal(ST.VERTICAL); }); });
import { select as d3_select } from 'd3-selection'; import { svgIcon, svgTagClasses } from '../svg'; import { utilFunctor } from '../util'; export function uiPresetIcon(context) { var preset, geometry, sizeClass = 'medium'; function isSmall() { return sizeClass === 'small'; } function prese...
function loadAndBind(name, file) { module.exports[name] = require(__dirname+'/'+file); }; loadAndBind('registerUser', 'register_user.js'); loadAndBind('listUsers', 'list_users.js'); loadAndBind('listUserExternalAccounts', 'list_user_external_accounts.js'); loadAndBind('addExternalAccount', 'add_external_account.js'...
function AudioLine(manager){ this._init(manager); } AudioLine.prototype.constructor = AudioLine; AudioLine.prototype._init = function(manager){ this.manager = manager; this.available = true; this.audio = null; this.htmlAudio = null; this.webAudio = null; this.loop = false; this.paused ...
import React from "react"; let Method = ({ response }) => ( <div>Please do not contact us by {response.params.method}</div> ); export default Method;
/* global module:false */ module.exports = function (grunt) { // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), watch: { options: { livereload: true, }, html: { files: ['*.html', 'step*/...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M9.12 14.47V9.53H8.09v2.88L6.03 9.53H5v4.94h1.03v-2.88l2.1 2.88zM13.24 10.57V9.53h-3.3v4.94h3.3v-1.03h-2.06v-.91h2.06v-1.04h-2.06v-.92zM14.06 9....
alert("hello :-)");
_papersheet= $(".papersheet"); _trigger= $(".papersheet__trigger"); _trigger.click(anchorsOnOff); function anchorsOnOff() { if (_papersheet.hasClass("opened")) { $(this).parent(".papersheet").stop().removeClass("opened"); $(this).children("i").stop().removeClass("lf-close").toggleClass( "lf-tip"...
"use strict"; var core_1 = require('@angular/core'); exports.FirebaseUrl = new core_1.OpaqueToken('FirebaseUrl'); exports.FirebaseRef = new core_1.OpaqueToken('FirebaseRef'); exports.FirebaseAuthConfig = new core_1.OpaqueToken('FirebaseAuthConfig'); //# sourceMappingURL=tokens.js.map
import { createStructuredSelector } from 'reselect'; const currencySelector = state => state.account.get('currency'); const balanceSelector = state => +state.account.get('balance'); export default createStructuredSelector({ currency: currencySelector, balance: balanceSelector, });
file:/home/charlike/dev/glob-fs/fixtures/a/u9.js
import { helper as FromNowHelper } from "./-from-now"; import Moment from "moment"; export const helper = FromNowHelper.extend({ _compute( params, hash ) { return new Moment( params[0] ).fromNow( hash.suffix || params[1] ); } });
import { DDPRateLimiter } from 'meteor/ddp-rate-limiter'; // 依名稱對個別 method 做額外限制 export function limitMethod(name, number = 20, interval = 60000) { const type = 'method'; DDPRateLimiter.addRule( { type, name, clientAddress }, number, interval ); } // 依名稱對個別 subscription 做額外限制 export function limitSu...
var Stream = require('stream') var splicer = require('labeled-stream-splicer') var parse = require('./parse') var split = require('split2') var JSONStream = require('JSONStream') module.exports = log function log() { var stream = splicer.obj([ 'split', [split()], 'parse', [parse()], 'format', [JSONStre...
/*Game.addToManifest({ end_prototype: "sprites/quote/end_prototype.png", gunshot: "sounds/gunshot.mp3" }); function Scene_EndPrototype(){ var self = this; Scene.call(self); // Layers, yo. var q1 = MakeSprite("blackout"); var q2 = MakeSprite("end_prototype"); // BANG Game.sounds.gunshot.play(); // Add 'e...
var data = [{img:"http://s.amazeui.org/media/i/demos/bing-1.jpg",desc:'<div class="am-slider-content"><h2 class="am-slider-title">远方 有一个地方 那里种有我们的梦想</h2><p>内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内容内</p></div><a class="am-slider-more">了解更多</a>'},{img:"http://s.amazeui.org/media/i/demos/bing-2.jpg",desc:'<div class="am-slider...
'use strict'; import $ from 'jquery'; import { onLoad } from './foundation.core.utils'; import { Keyboard } from './foundation.util.keyboard'; import { onImagesLoaded } from './foundation.util.imageLoader'; import { Plugin } from './foundation.core.plugin'; /** * Tabs module. * @module foundation.tabs * @requires f...
(function (angular, location) { "use strict"; //created socialPluginWidget module angular .module('socialPluginFilters', []) .filter('convertTimeFormat', [function () { return function (time) { var formattedTime = time; if (time && time.indexOf('a ...
var collection_1 = require('angular2/src/facade/collection'); var DomViewContainer = (function () { function DomViewContainer() { // The order in this list matches the DOM order. this.views = []; } DomViewContainer.prototype.contentTagContainers = function () { return this.views; }; DomV...
(function(UI){ "use strict"; var toggles = []; UI.component('toggle', { defaults: { target : false, cls : 'uk-hidden', animation : false, duration : 200 }, boot: function(){ // init code UI.ready(...
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2017 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define(['./Date','sap/ui/core/format/DateFormat'],function(D,a){"use strict";var b=D.extend("sap.ui.model.type.DateTime",{const...
$(function($) { $.ventoonirico = {}; $.ventoonirico.user = null; $.ventoonirico.urlPrefix = window.location.pathname.substring(1); $.ventoonirico.Game = Backbone.RelationalModel.extend({ urlRoot: $.ventoonirico.urlPrefix + '/api/games', relations: [ { t...
import _ from 'lodash'; const operators = { '===': (l, r) => _.isEqual(l, r), // allow comparing by value '!==': (l, r) => !_.isEqual(l, r), '<': (l, r) => l < r, '>': (l, r) => l > r, '<=': (l, r) => l <= r, '>=': (l, r) => l >= r, typeof: (l, r) => typeof l == r, regex: (l, r) => !!(new RegExp(r)).ex...
goog.provide('tictactoe.GameView'); goog.require('lime.Scene'); goog.require('lime.Layer'); goog.require('lime.Sprite'); goog.require('lime.Button'); goog.require('lime.RoundedRect'); goog.require('lime.Circle'); goog.require('lime.Label'); goog.require('lime.animation.Resize'); goog.require('lime.animation.FadeTo'); ...
import React from 'react'; import {children, optional, once} from '../Composite'; import Label from '../Label'; import Input from '../Input'; import InputAreaWithLabelComposite from '../Composite/InputAreaWithLabelComposite/InputAreaWithLabelComposite'; const TextField = ({...props, children}) => ( <InputAreaWithLab...
/** * jqPlot * Pure JavaScript plotting plugin using jQuery * * Version: 1.0.0b2_r1012 * * Copyright (c) 2009-2011 Chris Leonello * jqPlot is currently available for use in all personal or commercial projects * under both the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL * version 2.0 (http:...
/* * Copyright (C) 2012 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
import React, { Component } from 'react' class Home extends Component { render() { return ( <h2> It's Works </h2> ) } } export default Home
//>>built define(["dojo/_base/kernel","./entities","dojo/_base/array","dojo/_base/window","dojo/_base/sniff"],function(h,y,D,E,z){var p=h.getObject("dojox.html.format",!0);p.prettyPrint=function(p,l,n,A,F){var e=[],k=0,v=[],m="\t",f="",B=[],w,G=/[=]([^"']+?)(\s|>)/g,H=/style=("[^"]*"|'[^']*'|\S*)/gi,I=/[\w-]+=("[^"]*"|...
/** * @class Autolinker * @extends Object * * Utility class used to process a given string of text, and wrap the matches in * the appropriate anchor (&lt;a&gt;) tags to turn them into links. * * Any of the configuration options may be provided in an Object (map) provided * to the Autolinker constructor, which w...
var expect = require("chai").expect; var hooks = require("./hooks"); module.exports = function (helpers) { var component = helpers.mount(require.resolve("./index"), { name: "Frank" }); expect(component.el.querySelector(".foo .name").innerHTML).to.equal("Frank"); expect(hooks.getHookNames("foo")).to.deep.e...
$(document).ready(function() { function draw_sub_nav(formScope) { // Draws the proper sub navigation // Special cases for different nav drawing if (formScope == "orders") { draw_orders_nav(formScope); return; } else if (formScope == "users") { draw_users_nav(formScope); return; } // Controller that handl...
'use strict'; module.exports = { up: function (queryInterface, Sequelize) { return queryInterface.bulkInsert('Skus', [ { "name": "FOCUS B JR", "code": "FGJ01FOCUB", "categoryId": 1, "colorId": 4, "genderId": 3, "createdAt": new Date(), "updatedAt": new Date(...
const DrawCard = require('../../drawcard.js'); class RecruiterForTheWatch extends DrawCard { setupCardAbilities(ability) { this.persistentEffect({ match: this, effect: ability.effects.optionalStandDuringStanding() }); this.action({ title: 'Take control of...
import React from 'react' import { Dimmer, Image, Segment } from 'semantic-ui-react' const DimmerExampleActive = () => ( <Segment> <Dimmer active /> <p> <Image src='/assets/images/wireframe/short-paragraph.png' /> </p> <p> <Image src='/assets/images/wireframe/short-paragraph.png' /> ...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S9.3.1_A5_T2; * @section: 9.3.1, 15.7.1; * @assertion: The MV of StrDecimalLiteral::: - StrUnsignedDecimalLiteral is the negative * of the MV of StrUnsignedDecima...
/////////////////////////////////////////////////////////////////////////// // Copyright © Esri. 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.ap...
/*! * Ext JS Library 3.1.1 * Copyright(c) 2006-2010 Ext JS, LLC * licensing@extjs.com * http://www.extjs.com/license */ Ext.app.App = function(cfg){ Ext.apply(this, cfg); this.addEvents({ 'ready' : true, 'beforeunload' : true }); Ext.onReady(this.initApp, this); }; Ext.extend(Ext....
'use strict'; var gulp = require('gulp'); var merge = require('merge-stream'); var uglify = require('gulp-uglify'); var uglifycss = require('gulp-uglifycss'); var bower = require('gulp-bower'); var concat = require('gulp-concat'); var mainBowerFiles = require('main-bower-files'); var sass = require('gulp-sass'); var l...
/*! jQuery UI - v1.10.3 - 2013-09-04 * http://jqueryui.com * Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */ jQuery(function(e){e.datepicker.regional["pt-BR"]={closeText:"Fechar",prevText:"&#x3C;Anterior",nextText:"Próximo&#x3E;",currentText:"Hoje",monthNames:["Janeiro","Fevereiro","Março","Ab...
(function ($) { var link = '<a href="http://airstream.com/$1">$1</a>', list = [/\B(@[\w]*)/g, /\B(#[\w]*)/g]; $.fn.autolink = function () { return this.each(function () { var elm = $(this); $.each(list, function (i, regex) { elm.html(elm.html().replace(regex, link)); }); }); ...
// @flow const foo = require('./a'); module.exports = () => foo();
// Generated by LiveScript 1.5.0 /** * @package Static pages * @category modules * @author Nazar Mokrynskyi <nazar@mokrynskyi.com> * @license 0BSD */ (function(){ Polymer({ is: 'cs-static-pages-admin-pages-list', behaviors: [cs.Polymer.behaviors.Language('static_pages_')], properties: { cat...
/*! * jQuery FormHelp Plugin Sample * https://github.com/invetek/jquery-formhelp * * Copyright 2013 Loran Kloeze - Invetek * Released under the MIT license */ $(document).ready(function() { //Normal operation $.formHelp({pushpinEnabled: true}); //Operation with a class prefix $.formHelp( ...
'use strict'; const _ = require('lodash'), urlParse = require('url'), { replaceVersion } = require('clayutils'); let propagatingVersions = ['published', 'latest']; /** * @param {[string]} value */ function setPropagatingVersions(value) { propagatingVersions = value; } /** * @returns {[string]} */ function ...
console.log([1,2,3,4].slice(1)); console.log([].slice.call([1,2,3,4],1)); console.log([].slice.call({length: 3, 0: 1, 1: 2, 2: 3 }, 1));