repo
stringlengths
5
106
file_url
stringlengths
78
301
file_path
stringlengths
4
211
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 14:56:49
2026-01-05 02:23:25
truncated
bool
2 classes
lovell/sharp
https://github.com/lovell/sharp/blob/7b4c4762432b14c62676e860c8034b5cd326f464/lib/index.js
lib/index.js
/*! Copyright 2013 Lovell Fuller and others. SPDX-License-Identifier: Apache-2.0 */ const Sharp = require('./constructor'); require('./input')(Sharp); require('./resize')(Sharp); require('./composite')(Sharp); require('./operation')(Sharp); require('./colour')(Sharp); require('./channel')(Sharp); require('./output...
javascript
Apache-2.0
7b4c4762432b14c62676e860c8034b5cd326f464
2026-01-04T15:01:04.553051Z
false
lovell/sharp
https://github.com/lovell/sharp/blob/7b4c4762432b14c62676e860c8034b5cd326f464/lib/input.js
lib/input.js
/*! Copyright 2013 Lovell Fuller and others. SPDX-License-Identifier: Apache-2.0 */ const is = require('./is'); const sharp = require('./sharp'); /** * Justification alignment * @member * @private */ const align = { left: 'low', top: 'low', low: 'low', center: 'centre', centre: 'centre', right: 'h...
javascript
Apache-2.0
7b4c4762432b14c62676e860c8034b5cd326f464
2026-01-04T15:01:04.553051Z
true
lovell/sharp
https://github.com/lovell/sharp/blob/7b4c4762432b14c62676e860c8034b5cd326f464/lib/operation.js
lib/operation.js
/*! Copyright 2013 Lovell Fuller and others. SPDX-License-Identifier: Apache-2.0 */ const is = require('./is'); /** * How accurate an operation should be. * @member * @private */ const vipsPrecision = { integer: 'integer', float: 'float', approximate: 'approximate' }; /** * Rotate the output image. *...
javascript
Apache-2.0
7b4c4762432b14c62676e860c8034b5cd326f464
2026-01-04T15:01:04.553051Z
true
lovell/sharp
https://github.com/lovell/sharp/blob/7b4c4762432b14c62676e860c8034b5cd326f464/lib/output.js
lib/output.js
/*! Copyright 2013 Lovell Fuller and others. SPDX-License-Identifier: Apache-2.0 */ const path = require('node:path'); const is = require('./is'); const sharp = require('./sharp'); const formats = new Map([ ['heic', 'heif'], ['heif', 'heif'], ['avif', 'avif'], ['jpeg', 'jpeg'], ['jpg', 'jpeg'], ['jpe'...
javascript
Apache-2.0
7b4c4762432b14c62676e860c8034b5cd326f464
2026-01-04T15:01:04.553051Z
true
lovell/sharp
https://github.com/lovell/sharp/blob/7b4c4762432b14c62676e860c8034b5cd326f464/lib/is.js
lib/is.js
/*! Copyright 2013 Lovell Fuller and others. SPDX-License-Identifier: Apache-2.0 */ /** * Is this value defined and not null? * @private */ const defined = (val) => typeof val !== 'undefined' && val !== null; /** * Is this value an object? * @private */ const object = (val) => typeof val === 'object'; /** ...
javascript
Apache-2.0
7b4c4762432b14c62676e860c8034b5cd326f464
2026-01-04T15:01:04.553051Z
false
lovell/sharp
https://github.com/lovell/sharp/blob/7b4c4762432b14c62676e860c8034b5cd326f464/lib/sharp.js
lib/sharp.js
/*! Copyright 2013 Lovell Fuller and others. SPDX-License-Identifier: Apache-2.0 */ // Inspects the runtime environment and exports the relevant sharp.node binary const { familySync, versionSync } = require('detect-libc'); const { runtimePlatformArch, isUnsupportedNodeRuntime, prebuiltPlatforms, minimumLibvipsVe...
javascript
Apache-2.0
7b4c4762432b14c62676e860c8034b5cd326f464
2026-01-04T15:01:04.553051Z
false
lovell/sharp
https://github.com/lovell/sharp/blob/7b4c4762432b14c62676e860c8034b5cd326f464/lib/colour.js
lib/colour.js
/*! Copyright 2013 Lovell Fuller and others. SPDX-License-Identifier: Apache-2.0 */ const color = require('@img/colour'); const is = require('./is'); /** * Colourspaces. * @private */ const colourspace = { multiband: 'multiband', 'b-w': 'b-w', bw: 'b-w', cmyk: 'cmyk', srgb: 'srgb' }; /** * Tint the...
javascript
Apache-2.0
7b4c4762432b14c62676e860c8034b5cd326f464
2026-01-04T15:01:04.553051Z
false
lovell/sharp
https://github.com/lovell/sharp/blob/7b4c4762432b14c62676e860c8034b5cd326f464/lib/channel.js
lib/channel.js
/*! Copyright 2013 Lovell Fuller and others. SPDX-License-Identifier: Apache-2.0 */ const is = require('./is'); /** * Boolean operations for bandbool. * @private */ const bool = { and: 'and', or: 'or', eor: 'eor' }; /** * Remove alpha channels, if any. This is a no-op if the image does not have an alph...
javascript
Apache-2.0
7b4c4762432b14c62676e860c8034b5cd326f464
2026-01-04T15:01:04.553051Z
false
lovell/sharp
https://github.com/lovell/sharp/blob/7b4c4762432b14c62676e860c8034b5cd326f464/lib/utility.js
lib/utility.js
/*! Copyright 2013 Lovell Fuller and others. SPDX-License-Identifier: Apache-2.0 */ const events = require('node:events'); const detectLibc = require('detect-libc'); const is = require('./is'); const { runtimePlatformArch } = require('./libvips'); const sharp = require('./sharp'); const runtimePlatform = runtime...
javascript
Apache-2.0
7b4c4762432b14c62676e860c8034b5cd326f464
2026-01-04T15:01:04.553051Z
false
lovell/sharp
https://github.com/lovell/sharp/blob/7b4c4762432b14c62676e860c8034b5cd326f464/lib/libvips.js
lib/libvips.js
/*! Copyright 2013 Lovell Fuller and others. SPDX-License-Identifier: Apache-2.0 */ const { spawnSync } = require('node:child_process'); const { createHash } = require('node:crypto'); const semverCoerce = require('semver/functions/coerce'); const semverGreaterThanOrEqualTo = require('semver/functions/gte'); const ...
javascript
Apache-2.0
7b4c4762432b14c62676e860c8034b5cd326f464
2026-01-04T15:01:04.553051Z
false
lovell/sharp
https://github.com/lovell/sharp/blob/7b4c4762432b14c62676e860c8034b5cd326f464/lib/composite.js
lib/composite.js
/*! Copyright 2013 Lovell Fuller and others. SPDX-License-Identifier: Apache-2.0 */ const is = require('./is'); /** * Blend modes. * @member * @private */ const blend = { clear: 'clear', source: 'source', over: 'over', in: 'in', out: 'out', atop: 'atop', dest: 'dest', 'dest-over': 'dest-over',...
javascript
Apache-2.0
7b4c4762432b14c62676e860c8034b5cd326f464
2026-01-04T15:01:04.553051Z
false
lovell/sharp
https://github.com/lovell/sharp/blob/7b4c4762432b14c62676e860c8034b5cd326f464/lib/resize.js
lib/resize.js
/*! Copyright 2013 Lovell Fuller and others. SPDX-License-Identifier: Apache-2.0 */ const is = require('./is'); /** * Weighting to apply when using contain/cover fit. * @member * @private */ const gravity = { center: 0, centre: 0, north: 1, east: 2, south: 3, west: 4, northeast: 5, southeast: ...
javascript
Apache-2.0
7b4c4762432b14c62676e860c8034b5cd326f464
2026-01-04T15:01:04.553051Z
false
lovell/sharp
https://github.com/lovell/sharp/blob/7b4c4762432b14c62676e860c8034b5cd326f464/lib/constructor.js
lib/constructor.js
/*! Copyright 2013 Lovell Fuller and others. SPDX-License-Identifier: Apache-2.0 */ const util = require('node:util'); const stream = require('node:stream'); const is = require('./is'); require('./sharp'); // Use NODE_DEBUG=sharp to enable libvips warnings const debuglog = util.debuglog('sharp'); const queueLis...
javascript
Apache-2.0
7b4c4762432b14c62676e860c8034b5cd326f464
2026-01-04T15:01:04.553051Z
false
lovell/sharp
https://github.com/lovell/sharp/blob/7b4c4762432b14c62676e860c8034b5cd326f464/npm/from-local-build.js
npm/from-local-build.js
/*! Copyright 2013 Lovell Fuller and others. SPDX-License-Identifier: Apache-2.0 */ // Populate the npm package for the current platform with the local build const { copyFileSync, cpSync, readFileSync, writeFileSync, appendFileSync } = require('node:fs'); const { basename, join } = require('node:path'); const { ...
javascript
Apache-2.0
7b4c4762432b14c62676e860c8034b5cd326f464
2026-01-04T15:01:04.553051Z
false
lovell/sharp
https://github.com/lovell/sharp/blob/7b4c4762432b14c62676e860c8034b5cd326f464/npm/release-notes.js
npm/release-notes.js
const { readFileSync, writeFileSync } = require('node:fs'); const { version } = require('./package.json'); const versionWithoutPreRelease = version.replace(/-rc\.\d+$/, ''); const markdown = readFileSync(`./docs/src/content/docs/changelog/v${versionWithoutPreRelease}.md`, 'utf8'); const markdownWithoutFrontmatter = m...
javascript
Apache-2.0
7b4c4762432b14c62676e860c8034b5cd326f464
2026-01-04T15:01:04.553051Z
false
lovell/sharp
https://github.com/lovell/sharp/blob/7b4c4762432b14c62676e860c8034b5cd326f464/install/build.js
install/build.js
/*! Copyright 2013 Lovell Fuller and others. SPDX-License-Identifier: Apache-2.0 */ const { useGlobalLibvips, globalLibvipsVersion, log, spawnRebuild, } = require('../lib/libvips'); log('Attempting to build from source via node-gyp'); log('See https://sharp.pixelplumbing.com/install#building-from-source')...
javascript
Apache-2.0
7b4c4762432b14c62676e860c8034b5cd326f464
2026-01-04T15:01:04.553051Z
false
lovell/sharp
https://github.com/lovell/sharp/blob/7b4c4762432b14c62676e860c8034b5cd326f464/install/check.js
install/check.js
/*! Copyright 2013 Lovell Fuller and others. SPDX-License-Identifier: Apache-2.0 */ try { const { useGlobalLibvips } = require('../lib/libvips'); if (useGlobalLibvips() || process.env.npm_config_build_from_source) { process.exit(1); } } catch (err) { const summary = err.message.split(/\n/).slice(0, 1);...
javascript
Apache-2.0
7b4c4762432b14c62676e860c8034b5cd326f464
2026-01-04T15:01:04.553051Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/gulpfile.js
gulpfile.js
/******************************* Set-up *******************************/ let gulp = require('gulp'), // read user config to know what task to load config = require('./tasks/config/user'), // watch for file changes and build watch = require('./tasks/watch'), // build all ...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/karma.conf.js
karma.conf.js
// Karma configuration module.exports = function(config) { config.set({ // base path, that will be used to resolve files and exclude basePath: '', // frameworks to use frameworks: [ 'jasmine' ], // list of files / patterns to load in the browser files: [ // require jquery ...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/build.js
tasks/build.js
/******************************* Build Task *******************************/ let // dependencies gulp = require('gulp'), // config config = require('./config/user'), install = require('./config/project/install'), buildJS = require('./build/javascript'), buildCSS = requi...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/check-install.js
tasks/check-install.js
/******************************* Check Install *******************************/ var // node dependencies gulp = require('gulp'), fs = require('fs'), console = require('better-console'), install = require('./config/project/install'), checkInstall ; // export task check...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/install.js
tasks/install.js
/******************************* Install Task *******************************/ /* Install tasks For more notes * Runs automatically after npm update (hooks) * (NPM) Install - Will ask for where to put semantic (outside pm folder) * (NPM) Upgrade - Will look for semantic install, copy over fil...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/clean.js
tasks/clean.js
/******************************* Clean Task *******************************/ var gulp = require('gulp'), del = require('del'), config = require('./config/user'), tasks = require('./config/tasks'), {series, parallel} = gulp, clean ; // cleans distribution files clean = function(callback)...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/version.js
tasks/version.js
/******************************* Version Task *******************************/ let gulp = require('gulp'), release = require('./config/project/release'), {series, parallel} = gulp, version ; version = function(callback) { console.log(release.title + ' ' + release.version); }; /* Export with M...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/watch.js
tasks/watch.js
/******************************* Watch Task *******************************/ let gulp = require('gulp'), // node dependencies console = require('better-console'), fs = require('fs'), // gulp dependencies autoprefixer = require('gulp-autoprefixer'), chmod = requi...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/admin/publish.js
tasks/admin/publish.js
/******************************* Release All *******************************/ /* This task update all SUI individual component repos with new versions of components * Commits changes from create components to GitHub and Tags */ let gulp = require('gulp'), {series, parallel} = gulp, updateComponen...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/admin/release.js
tasks/admin/release.js
/******************************* Release *******************************/ let gulp = require('gulp'), {series, parallel} = gulp, build = require('../build'), // less/css distributions initComponents = require('./components/init'), createComponents = require('./components/c...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/admin/register.js
tasks/admin/register.js
/******************************* Register PM *******************************/ /* Task to register component repos with Package Managers * Registers component with bower * Registers component with NPM */ let // node dependencies process = require('child_process'), fs = require('fs'), npmP...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/admin/distributions/update.js
tasks/admin/distributions/update.js
/******************************* Update Repos *******************************/ /* This task update all SUI individual distribution repos with new versions of distributions * Commits changes from create repo * Pushes changes to GitHub * Tag new releases if version changed in main repo */ let gulp...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/admin/distributions/create.js
tasks/admin/distributions/create.js
/******************************* Create Distributions *******************************/ /* This will create individual distribution repositories for each SUI distribution * copy distribution files to release * update package.json file */ let gulp = require('gulp'), {series, parallel} = gul...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/admin/distributions/init.js
tasks/admin/distributions/init.js
/******************************* Init Dist Repos *******************************/ /* This task pulls the latest version of distribution from GitHub * Creates new repo if doesnt exist (locally & GitHub) * Adds remote it doesnt exists * Pulls latest changes from repo */ let gulp = require('gulp...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/admin/components/update.js
tasks/admin/components/update.js
/******************************* Update Repos *******************************/ /* This task update all SUI individual component repos with new versions of components * Commits changes from create repo * Pushes changes to GitHub * Tag new releases if version changed in main repo */ let gulp ...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/admin/components/create.js
tasks/admin/components/create.js
/******************************* Create Component Repos *******************************/ /* This will create individual component repositories for each SUI component * copy component files from release * create commonjs files as index.js for NPM release * create release notes that filter only items relate...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/admin/components/init.js
tasks/admin/components/init.js
/******************************* Init Repos *******************************/ /* This task pulls the latest version of each component from GitHub * Creates new repo if doesnt exist (locally & GitHub) * Adds remote it doesnt exists * Pulls latest changes from repo */ var gulp = require('gulp'...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/rtl/build.js
tasks/rtl/build.js
/******************************* Build Task *******************************/ var gulp = require('gulp'), // node dependencies fs = require('fs'), // gulp dependencies autoprefixer = require('gulp-autoprefixer'), chmod = require('gulp-chmod'), clone = require('g...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/rtl/watch.js
tasks/rtl/watch.js
/******************************* Watch Task *******************************/ let gulp = require('gulp'), // node deps console = require('better-console'), fs = require('fs'), // gulp deps autoprefixer = require('gulp-autoprefixer'), chmod = require('gulp-chmod')...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/build/css.js
tasks/build/css.js
/******************************* Build Task *******************************/ var gulp = require('gulp'), // node dependencies console = require('better-console'), fs = require('fs'), // gulp dependencies autoprefixer = require('gulp-autoprefixer'), chmod = requir...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/build/assets.js
tasks/build/assets.js
/******************************* Build Task *******************************/ var gulp = require('gulp'), // gulp dependencies chmod = require('gulp-chmod'), gulpif = require('gulp-if'), print = require('gulp-print').default, // config config = require('../con...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/build/javascript.js
tasks/build/javascript.js
/******************************* Build Task *******************************/ let gulp = require('gulp'), // node dependencies console = require('better-console'), fs = require('fs'), // gulp dependencies chmod = require('gulp-chmod'), flatten = require('gulp...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/collections/rtl.js
tasks/collections/rtl.js
/******************************* Define Sub-Tasks *******************************/ module.exports = function(gulp) { var // rtl buildRTL = require('./../rtl/build'), watchRTL = require('./../rtl/watch') ; gulp.task('watch-rtl', watchRTL); gulp.task('build-rtl', buildRTL); };
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/collections/build.js
tasks/collections/build.js
/******************************* Define Sub-Tasks *******************************/ module.exports = function(gulp) { let // build sub-tasks buildJS = require('./../build/javascript'), buildCSS = require('./../build/css'), buildAssets = require('./../build/assets') ; // in case...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/collections/admin.js
tasks/collections/admin.js
/******************************* Admin Task Collection *******************************/ /* This are tasks to be run by project maintainers - Creating Component Repos - Syncing with GitHub via APIs - Modifying package files */ /******************************* Tasks ***************************...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/collections/internal.js
tasks/collections/internal.js
/******************************* Internal Task Collection *******************************/ /* These tasks create packaged files from **dist** components Not intended to be called directly by a user because these do not build fresh from **src** */ module.exports = function(gulp) { var // node dependen...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/docs/build.js
tasks/docs/build.js
/******************************* Build Docs *******************************/ let gulp = require('gulp'), // node dependencies console = require('better-console'), fs = require('fs'), map = require('map-stream'), // gulp dependencies autoprefixer = require('gul...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/docs/metadata.js
tasks/docs/metadata.js
/******************************* Summarize Docs *******************************/ let // node dependencies console = require('better-console'), fs = require('fs'), YAML = require('yamljs') ; let data = {}; /** * Test for prefix in string. * @param {string} str * @param {s...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/docs/serve.js
tasks/docs/serve.js
/******************************* Serve Docs *******************************/ var gulp = require('gulp'), // node dependencies console = require('better-console'), fs = require('fs'), // gulp dependencies autoprefixer = require('gulp-autoprefixer'), chmod = requir...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/config/tasks.js
tasks/config/tasks.js
var console = require('better-console'), config = require('./user'), release = require('./project/release') ; module.exports = { banner : release.banner, log: { created: function(file) { return 'Created: ' + file; }, modified: function(file) { return 'Modified: ' + file; } }...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/config/user.js
tasks/config/user.js
/******************************* Set-up *******************************/ var // npm dependencies extend = require('extend'), fs = require('fs'), path = require('path'), requireDotFile = require('require-dot-file'), // semantic.json defaults defaults ...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/config/docs.js
tasks/config/docs.js
/******************************* Docs *******************************/ /* Paths used for "serve-docs" and "build-docs" tasks */ module.exports = { base: '', globs: { eco: '**/*.html.eco' }, paths: { clean: '../docs/out/dist/', source: { config : 'src/theme.config', def...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/config/defaults.js
tasks/config/defaults.js
/******************************* Default Paths *******************************/ module.exports = { // base path added to all other paths base : '', // base path when installed with npm pmRoot: 'semantic/', // octal permission for output files, i.e. 644 (false does not adjust) permission : 744,...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/config/admin/release.js
tasks/config/admin/release.js
/******************************* Release Settings *******************************/ // release settings module.exports = { // path to components for repos source : './dist/components/', // modified asset paths for component repos paths: { source : '../themes/default/assets/', output : 'ass...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/config/admin/github.js
tasks/config/admin/github.js
/******************************* GitHub Login *******************************/ /* Logs into GitHub using OAuth */ var fs = require('fs'), path = require('path'), { Octokit } = require('@octokit/rest'), // stores oauth info for GitHub API oAuthConfig = path.join(__dirname, 'oauth....
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/config/admin/oauth.example.js
tasks/config/admin/oauth.example.js
/* Used to import GitHub Auth Token To Automate GitHub Updates */ module.exports = { token : 'AN-OAUTH2-TOKEN', username : 'github-username', name : 'Your Name', email : 'user@email.com' };
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/config/admin/templates/css-package.js
tasks/config/admin/templates/css-package.js
var where = 'client' // Adds files only to the client ; Package.describe({ name : 'semantic:ui-css', summary : 'Semantic UI - CSS Release of Semantic UI', version : '{version}', git : 'git://github.com/Semantic-Org/Semantic-UI-CSS.git', }); Package.onUse(function(api) { api.versionsFrom('1.0'); ...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/config/admin/templates/less-package.js
tasks/config/admin/templates/less-package.js
var where = 'client' // Adds files only to the client ; Package.describe({ name : 'semantic:ui', summary : 'Semantic UI - LESS Release of Semantic UI', version : '{version}', git : 'git://github.com/Semantic-Org/Semantic-UI-LESS.git', }); Package.onUse(function(api) { api.versionsFrom('1.0'); ap...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/config/admin/templates/component-package.js
tasks/config/admin/templates/component-package.js
Package.describe({ name : 'semantic:ui-{component}', summary : 'Semantic UI - {Component}: Single component release', version : '{version}', git : 'git://github.com/Semantic-Org/UI-{Component}.git', }); Package.onUse(function(api) { api.versionsFrom('1.0'); api.addFiles([ {files} ], 'client')...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/config/project/release.js
tasks/config/project/release.js
/******************************* Release Config *******************************/ var requireDotFile = require('require-dot-file'), config, npmPackage, version ; /******************************* Derived Values *******************************/ try { config = requireDotFile('semantic.json')...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/config/project/config.js
tasks/config/project/config.js
/******************************* Set-up *******************************/ var extend = require('extend'), fs = require('fs'), path = require('path'), defaults = require('../defaults') ; /******************************* Exports *******************************/ module.expor...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/config/project/install.js
tasks/config/project/install.js
/******************************* Set-up *******************************/ var fs = require('fs'), path = require('path'), defaults = require('../defaults'), release = require('./release'), requireDotFile = require('require-dot-file') ; /************************...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/tasks/config/npm/gulpfile.js
tasks/config/npm/gulpfile.js
/******************************* Set-up *******************************/ let gulp = require('gulp'), // read user config to know what task to load config = require('./tasks/config/user'), // watch for file changes and build watch = require('./tasks/watch'), // build all ...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/src/definitions/behaviors/form.js
src/definitions/behaviors/form.js
/*! * # Semantic UI - Form Validation * http://github.com/semantic-org/semantic-ui/ * * * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ($, window, document, undefined) { 'use strict'; window = (typeof window != 'undefined' && window.Math == Math) ? window : (typeof ...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
true
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/src/definitions/behaviors/api.js
src/definitions/behaviors/api.js
/*! * # Semantic UI - API * http://github.com/semantic-org/semantic-ui/ * * * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ($, window, document, undefined) { 'use strict'; var window = (typeof window != 'undefined' && window.Math == Math) ? window : (typeof se...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
true
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/src/definitions/behaviors/visibility.js
src/definitions/behaviors/visibility.js
/*! * # Semantic UI - Visibility * http://github.com/semantic-org/semantic-ui/ * * * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ($, window, document, undefined) { 'use strict'; window = (typeof window != 'undefined' && window.Math == Math) ? window : (typeof self ...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
true
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/src/definitions/globals/site.js
src/definitions/globals/site.js
/*! * # Semantic UI - Site * http://github.com/semantic-org/semantic-ui/ * * * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ($, window, document, undefined) { $.site = $.fn.site = function(parameters) { var time = new Date().getTime(), performance ...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/src/definitions/modules/tab.js
src/definitions/modules/tab.js
/*! * # Semantic UI - Tab * http://github.com/semantic-org/semantic-ui/ * * * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ($, window, document, undefined) { 'use strict'; window = (typeof window != 'undefined' && window.Math == Math) ? window : (typeof self != 'und...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
true
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/src/definitions/modules/progress.js
src/definitions/modules/progress.js
/*! * # Semantic UI - Progress * http://github.com/semantic-org/semantic-ui/ * * * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ($, window, document, undefined) { 'use strict'; window = (typeof window != 'undefined' && window.Math == Math) ? window : (typeof self !=...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/src/definitions/modules/rating.js
src/definitions/modules/rating.js
/*! * # Semantic UI - Rating * http://github.com/semantic-org/semantic-ui/ * * * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ($, window, document, undefined) { 'use strict'; window = (typeof window != 'undefined' && window.Math == Math) ? window : (typeof self != '...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/src/definitions/modules/nag.js
src/definitions/modules/nag.js
/*! * # Semantic UI - Nag * http://github.com/semantic-org/semantic-ui/ * * * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ($, window, document, undefined) { 'use strict'; window = (typeof window != 'undefined' && window.Math == Math) ? window : (typeof self != 'und...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/src/definitions/modules/checkbox.js
src/definitions/modules/checkbox.js
/*! * # Semantic UI - Checkbox * http://github.com/semantic-org/semantic-ui/ * * * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ($, window, document, undefined) { 'use strict'; window = (typeof window != 'undefined' && window.Math == Math) ? window : (typeof self !=...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/src/definitions/modules/popup.js
src/definitions/modules/popup.js
/*! * # Semantic UI - Popup * http://github.com/semantic-org/semantic-ui/ * * * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ($, window, document, undefined) { 'use strict'; window = (typeof window != 'undefined' && window.Math == Math) ? window : (typeof self != 'u...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
true
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/src/definitions/modules/transition.js
src/definitions/modules/transition.js
/*! * # Semantic UI - Transition * http://github.com/semantic-org/semantic-ui/ * * * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ($, window, document, undefined) { 'use strict'; window = (typeof window != 'undefined' && window.Math == Math) ? window : (typeof self ...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
true
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/src/definitions/modules/accordion.js
src/definitions/modules/accordion.js
/*! * # Semantic UI - Accordion * http://github.com/semantic-org/semantic-ui/ * * * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ($, window, document, undefined) { 'use strict'; window = (typeof window != 'undefined' && window.Math == Math) ? window : (typeof self !...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/src/definitions/modules/dropdown.js
src/definitions/modules/dropdown.js
/*! * # Semantic UI - Dropdown * http://github.com/semantic-org/semantic-ui/ * * * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ($, window, document, undefined) { 'use strict'; window = (typeof window != 'undefined' && window.Math == Math) ? window : (typeof self !=...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
true
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/src/definitions/modules/modal.js
src/definitions/modules/modal.js
/*! * # Semantic UI - Modal * http://github.com/semantic-org/semantic-ui/ * * * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ($, window, document, undefined) { 'use strict'; window = (typeof window != 'undefined' && window.Math == Math) ? window : (typeof self != 'u...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/src/definitions/modules/sticky.js
src/definitions/modules/sticky.js
/*! * # Semantic UI - Sticky * http://github.com/semantic-org/semantic-ui/ * * * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ($, window, document, undefined) { 'use strict'; window = (typeof window != 'undefined' && window.Math == Math) ? window : (typeof self != '...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/src/definitions/modules/shape.js
src/definitions/modules/shape.js
/*! * # Semantic UI - Shape * http://github.com/semantic-org/semantic-ui/ * * * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ($, window, document, undefined) { 'use strict'; window = (typeof window != 'undefined' && window.Math == Math) ? window : (typeof self != 'u...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/src/definitions/modules/search.js
src/definitions/modules/search.js
/*! * # Semantic UI - Search * http://github.com/semantic-org/semantic-ui/ * * * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ($, window, document, undefined) { 'use strict'; window = (typeof window != 'undefined' && window.Math == Math) ? window : (typeof self != '...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
true
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/src/definitions/modules/embed.js
src/definitions/modules/embed.js
/*! * # Semantic UI - Embed * http://github.com/semantic-org/semantic-ui/ * * * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ($, window, document, undefined) { "use strict"; window = (typeof window != 'undefined' && window.Math == Math) ? window : (typeof self != 'u...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/src/definitions/modules/sidebar.js
src/definitions/modules/sidebar.js
/*! * # Semantic UI - Sidebar * http://github.com/semantic-org/semantic-ui/ * * * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ($, window, document, undefined) { 'use strict'; window = (typeof window != 'undefined' && window.Math == Math) ? window : (typeof self != ...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
true
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/src/definitions/modules/dimmer.js
src/definitions/modules/dimmer.js
/*! * # Semantic UI - Dimmer * http://github.com/semantic-org/semantic-ui/ * * * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ($, window, document, undefined) { 'use strict'; window = (typeof window != 'undefined' && window.Math == Math) ? window : (typeof self != '...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/test/helpers/jasmine-sinon.js
test/helpers/jasmine-sinon.js
/* global jasmine */ 'use strict'; (function(jasmine, beforeEach) { var sinon = (typeof require === 'function' && typeof module === 'object') ? require('sinon') : window.sinon, spyMatchers = 'called calledOnce calledTwice calledThrice calledBefore calledAfter calledOn alwaysCalledOn calledWith alwaysCalledWith...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/test/helpers/jasmine-clog.js
test/helpers/jasmine-clog.js
// Allow for console.log to not break IE if (typeof window.console == "undefined" || typeof window.console.log == "undefined") { window.console = { log : function() {}, info : function(){}, warn : function(){} }; } if(typeof window.console.group == 'undefined' || typeof window.console.groupEnd == 'unde...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/test/helpers/sinon.js
test/helpers/sinon.js
/** * Sinon.JS 1.9.1, 2014/04/03 * * @author Christian Johansen (christian@cjohansen.no) * @author Contributors: https://github.com/cjohansen/Sinon.JS/blob/master/AUTHORS * * (The BSD License) * * Copyright (c) 2010-2014, Christian Johansen, christian@cjohansen.no * All rights reserved. * * Redistribution an...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
true
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/test/helpers/jquery-events.js
test/helpers/jquery-events.js
(function($) { $.events = function(selector, root) { var s = []; $(selector || '*', root).addBack().each(function() { // the following line is the only change var e = $._data(this, 'events'); if(!e) return; s.push(this.tagName); if(this.id)...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/test/helpers/jasmine-jquery.js
test/helpers/jasmine-jquery.js
/*! Jasmine-jQuery: a set of jQuery helpers for Jasmine tests. Version 1.5.91 https://github.com/velesin/jasmine-jquery Copyright (c) 2010-2013 Wojciech Zawistowski, Travis Jeffery Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/test/coverage/PhantomJS 1.9.2 (Linux)/prettify.js
test/coverage/PhantomJS 1.9.2 (Linux)/prettify.js
window.PR_SHOULD_USE_CONTINUATION=true;(function(){var h=["break,continue,do,else,for,if,return,while"];var u=[h,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"];var p=[u,"catch,class,delete,false,import,new,ope...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/test/modules/checkbox.spec.js
test/modules/checkbox.spec.js
describe("UI Checkbox", function() { moduleTests({ module : 'checkbox', element : '.ui.checkbox' }); });
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/test/modules/video.spec.js
test/modules/video.spec.js
describe("UI Video", function() { moduleTests({ module : 'video', element : '.ui.video' }); });
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/test/modules/accordion.spec.js
test/modules/accordion.spec.js
describe("UI Accordion", function() { $.fn.dimmer.settings.debug = false; moduleTests({ module : 'accordion', element : '.ui.accordion' }); });
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/test/modules/module.spec.js
test/modules/module.spec.js
function moduleTests(ui) { var module = ui.module, element = ui.element, singleton = ui.singleton, name = $.fn[module].settings.name, testValue = 'Test', fixtures = jasmine.getFixtures(), originalSettings, $modules, $oneModule, $module, $clone ; // set fi...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/test/modules/transition.spec.js
test/modules/transition.spec.js
xdescribe("UI Transition", function() { moduleTests({ module : 'transition', element : '.ui.image' }); });
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/test/modules/search.spec.js
test/modules/search.spec.js
xdescribe("UI Search", function() { moduleTests({ module : 'search', element : '.ui.search' }); });
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/test/modules/modal.spec.js
test/modules/modal.spec.js
describe("UI Modal", function() { $.fn.dimmer.settings.debug = false; moduleTests({ module : 'modal', element : '.ui.modal' }); });
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/test/modules/sidebar.spec.js
test/modules/sidebar.spec.js
describe("UI Rating", function() { moduleTests({ module : 'rating', element : '.ui.rating' }); });
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/test/modules/popup.spec.js
test/modules/popup.spec.js
xdescribe("UI Popup", function() { moduleTests({ module : 'popup', element : 'i.icon' }); });
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/test/modules/shape.spec.js
test/modules/shape.spec.js
describe("UI Shape", function() { moduleTests({ module : 'shape', element : '.ui.shape' }); });
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/test/modules/dropdown.spec.js
test/modules/dropdown.spec.js
describe("UI Dropdown", function() { moduleTests({ module : 'dropdown', element : '.ui.dropdown' }); });
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/test/modules/tab.spec.js
test/modules/tab.spec.js
xdescribe("UI Tab", function() { moduleTests({ module : 'tab', element : '.ui.menu .item', singleton : true }); });
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/test/meteor/assets.js
test/meteor/assets.js
var assets = [ 'dist/themes/default/assets/images/flags.png', ]; // Check that the font files are downloadable. Meteor places assets at /packages/<packageName>/. assets.forEach(function (path) { Tinytest.addAsync('image ' + path + ' is shipped', function (test, done) { HTTP.get('/packages/semantic_ui/' + path, ...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false
Semantic-Org/Semantic-UI
https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/test/meteor/fonts.js
test/meteor/fonts.js
// Check that the font files are downloadable. Meteor places assets at /packages/<packageName>/. ['eot', 'otf', 'svg', 'ttf', 'woff'] .forEach(function (extension) { Tinytest.addAsync(extension + ' fonts are shipped', function (test, done) { HTTP.get('/packages/semantic_ui/dist/themes/default/assets/fonts/i...
javascript
MIT
597843ab84d565cccfd8fd7719416350ae73e734
2026-01-04T14:57:20.563160Z
false