text stringlengths 9 39.2M | dir stringlengths 26 295 | lang stringclasses 185
values | created_date timestamp[us] | updated_date timestamp[us] | repo_name stringlengths 1 97 | repo_full_name stringlengths 7 106 | star int64 1k 183k | len_tokens int64 1 13.8M |
|---|---|---|---|---|---|---|---|---|
```less
// Embeds responsive
//
// Credit: Nicolas Gallagher and SUIT CSS.
.embed-responsive {
position: relative;
display: block;
height: 0;
padding: 0;
overflow: hidden;
.embed-responsive-item,
iframe,
embed,
object {
position: absolute;
top: 0;
left: 0;
bottom: 0;
height: 100%... | /content/code_sandbox/public/vendor/bootstrap/less/responsive-embed.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 170 |
```less
//
// Component animations
// --------------------------------------------------
// Heads up!
//
// We don't use the `.opacity()` mixin here since it causes a bug with text
// fields in IE7-8. Source: path_to_url
.fade {
opacity: 0;
.transition(opacity .15s linear);
&.in {
opacity: 1;
}
}
.collap... | /content/code_sandbox/public/vendor/bootstrap/less/component-animations.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 155 |
```less
//
// Basic print styles
// --------------------------------------------------
// Source: path_to_url
@media print {
* {
text-shadow: none !important;
color: #000 !important; // Black prints faster: h5bp.com/s
background: transparent !important;
box-shadow: none !important;
}
a,
a:vis... | /content/code_sandbox/public/vendor/bootstrap/less/print.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 446 |
```less
//
// Scaffolding
// --------------------------------------------------
// Reset the box-sizing
//
// Heads up! This reset may cause conflicts with some third-party widgets.
// For recommendations on resolving such conflicts, see
// path_to_url#third-box-sizing
* {
.box-sizing(border-box);
}
*:before,
*:aft... | /content/code_sandbox/public/vendor/bootstrap/less/scaffolding.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 668 |
```less
//
// Typography
// --------------------------------------------------
// Headings
// -------------------------
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
font-family: @headings-font-family;
font-weight: @headings-font-weight;
line-height: @headings-line-height;
color: @headings-color;
... | /content/code_sandbox/public/vendor/bootstrap/less/type.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 1,715 |
```less
//
// Tooltips
// --------------------------------------------------
// Base class
.tooltip {
position: absolute;
z-index: @zindex-tooltip;
display: block;
visibility: visible;
font-size: @font-size-small;
line-height: 1.4;
.opacity(0);
&.in { .opacity(@tooltip-opacity); }
&.top { ma... | /content/code_sandbox/public/vendor/bootstrap/less/tooltip.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 714 |
```less
//
// Navbars
// --------------------------------------------------
// Wrapper and base class
//
// Provide a static navbar from which we expand to create full-width, fixed, and
// other navbar variations.
.navbar {
position: relative;
min-height: @navbar-height; // Ensure a navbar always shows (e.g., wi... | /content/code_sandbox/public/vendor/bootstrap/less/navbar.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 3,640 |
```less
//
// Navs
// --------------------------------------------------
// Base class
// --------------------------------------------------
.nav {
margin-bottom: 0;
padding-left: 0; // Override default ul/ol
list-style: none;
&:extend(.clearfix all);
> li {
position: relative;
display: block;
... | /content/code_sandbox/public/vendor/bootstrap/less/navs.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 1,257 |
```less
//
// Button groups
// --------------------------------------------------
// Make the div behave like a button
.btn-group,
.btn-group-vertical {
position: relative;
display: inline-block;
vertical-align: middle; // match .btn alignment given font-size hack above
> .btn {
position: relative;
flo... | /content/code_sandbox/public/vendor/bootstrap/less/button-groups.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 1,476 |
```less
//
// Popovers
// --------------------------------------------------
.popover {
position: absolute;
top: 0;
left: 0;
z-index: @zindex-popover;
display: none;
max-width: @popover-max-width;
padding: 1px;
text-align: left; // Reset given new insertion method
background-color: @popover-bg;
ba... | /content/code_sandbox/public/vendor/bootstrap/less/popovers.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 956 |
```less
//
// Badges
// --------------------------------------------------
// Base class
.badge {
display: inline-block;
min-width: 10px;
padding: 3px 7px;
font-size: @font-size-small;
font-weight: @badge-font-weight;
color: @badge-color;
line-height: @badge-line-height;
vertical-align: baseline;
wh... | /content/code_sandbox/public/vendor/bootstrap/less/badges.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 303 |
```less
//
// Tables
// --------------------------------------------------
table {
background-color: @table-bg;
}
th {
text-align: left;
}
// Baseline styles
.table {
width: 100%;
max-width: 100%;
margin-bottom: @line-height-computed;
// Cells
> thead,
> tbody,
> tfoot {
> tr {
> th,
... | /content/code_sandbox/public/vendor/bootstrap/less/tables.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 1,140 |
```less
//
// Modals
// --------------------------------------------------
// .modal-open - body class for killing the scroll
// .modal - container to scroll within
// .modal-dialog - positioning shell for the actual modal
// .modal-content - actual modal w/ bg and corners and shit
// Kill the scr... | /content/code_sandbox/public/vendor/bootstrap/less/modals.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 986 |
```less
//
// Close icons
// --------------------------------------------------
.close {
float: right;
font-size: (@font-size-base * 1.5);
font-weight: @close-font-weight;
line-height: 1;
color: @close-color;
text-shadow: @close-text-shadow;
.opacity(.2);
&:hover,
&:focus {
color: @close-color;... | /content/code_sandbox/public/vendor/bootstrap/less/close.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 176 |
```less
// WebKit-style focus
.tab-focus() {
// Default
outline: thin dotted;
// WebKit
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
``` | /content/code_sandbox/public/vendor/bootstrap/less/mixins/tab-focus.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 48 |
```less
// Responsive utilities
//
// More easily include all the states for responsive-utilities.less.
.responsive-visibility() {
display: block !important;
table& { display: table; }
tr& { display: table-row !important; }
th&,
td& { display: table-cell !important; }
}
.responsive-invisibility() {... | /content/code_sandbox/public/vendor/bootstrap/less/mixins/responsive-visibility.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 87 |
```less
// Alerts
.alert-variant(@background; @border; @text-color) {
background-color: @background;
border-color: @border;
color: @text-color;
hr {
border-top-color: darken(@border, 5%);
}
.alert-link {
color: darken(@text-color, 10%);
}
}
``` | /content/code_sandbox/public/vendor/bootstrap/less/mixins/alerts.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 75 |
```less
// Labels
.label-variant(@color) {
background-color: @color;
&[href] {
&:hover,
&:focus {
background-color: darken(@color, 10%);
}
}
}
``` | /content/code_sandbox/public/vendor/bootstrap/less/mixins/labels.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 48 |
```less
// Reset filters for IE
//
// When you need to remove a gradient background, do not forget to use this to reset
// the IE filter for IE9 and below.
.reset-filter() {
filter: e(%("progid:DXImageTransform.Microsoft.gradient(enabled = false)"));
}
``` | /content/code_sandbox/public/vendor/bootstrap/less/mixins/reset-filter.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 61 |
```less
// Form validation states
//
// Used in forms.less to generate the form validation CSS for warnings, errors,
// and successes.
.form-control-validation(@text-color: #555; @border-color: #ccc; @background-color: #f5f5f5) {
// Color the label and help text
.help-block,
.control-label,
.radio,
.checkbox... | /content/code_sandbox/public/vendor/bootstrap/less/mixins/forms.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 670 |
```less
// Panels
.panel-variant(@border; @heading-text-color; @heading-bg-color; @heading-border) {
border-color: @border;
& > .panel-heading {
color: @heading-text-color;
background-color: @heading-bg-color;
border-color: @heading-border;
+ .panel-collapse > .panel-body {
border-top-color... | /content/code_sandbox/public/vendor/bootstrap/less/mixins/panels.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 139 |
```less
// List Groups
.list-group-item-variant(@state; @background; @color) {
.list-group-item-@{state} {
color: @color;
background-color: @background;
a& {
color: @color;
.list-group-item-heading {
color: inherit;
}
&:hover,
&:focus {
color: @color;
... | /content/code_sandbox/public/vendor/bootstrap/less/mixins/list-group.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 139 |
```less
// Opacity
.opacity(@opacity) {
opacity: @opacity;
// IE8 filter
@opacity-ie: (@opacity * 100);
filter: ~"alpha(opacity=@{opacity-ie})";
}
``` | /content/code_sandbox/public/vendor/bootstrap/less/mixins/opacity.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 48 |
```less
// Progress bars
.progress-bar-variant(@color) {
background-color: @color;
// Deprecated parent class requirement as of v3.2.0
.progress-striped & {
#gradient > .striped();
}
}
``` | /content/code_sandbox/public/vendor/bootstrap/less/mixins/progress-bar.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 52 |
```less
// CSS image replacement
//
// Heads up! v3 launched with with only `.hide-text()`, but per our pattern for
// mixins being reused as classes with the same name, this doesn't hold up. As
// of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`.
//
// Source: path_to_url
// Deprecated as of v3.0.... | /content/code_sandbox/public/vendor/bootstrap/less/mixins/hide-text.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 158 |
```less
// Horizontal dividers
//
// Dividers (basically an hr) within dropdowns and nav lists
.nav-divider(@color: #e5e5e5) {
height: 1px;
margin: ((@line-height-computed / 2) - 1) 0;
overflow: hidden;
background-color: @color;
}
``` | /content/code_sandbox/public/vendor/bootstrap/less/mixins/nav-divider.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 77 |
```less
// Button variants
//
// Easily pump out default styles, as well as :hover, :focus, :active,
// and disabled options for all buttons
.button-variant(@color; @background; @border) {
color: @color;
background-color: @background;
border-color: @border;
&:hover,
&:focus,
&:active,
&.active,
.open ... | /content/code_sandbox/public/vendor/bootstrap/less/mixins/buttons.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 285 |
```less
// Typography
.text-emphasis-variant(@color) {
color: @color;
a&:hover {
color: darken(@color, 10%);
}
}
``` | /content/code_sandbox/public/vendor/bootstrap/less/mixins/text-emphasis.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 38 |
```less
// Framework grid generation
//
// Used only by Bootstrap to generate the correct number of grid classes given
// any value of `@grid-columns`.
.make-grid-columns() {
// Common styles for all sizes of grid columns, widths 1-12
.col(@index) when (@index = 1) { // initial
@item: ~".col-xs-@{index}, .col-... | /content/code_sandbox/public/vendor/bootstrap/less/mixins/grid-framework.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 916 |
```less
// Resize anything
.resizable(@direction) {
resize: @direction; // Options: horizontal, vertical, both
overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible`
}
``` | /content/code_sandbox/public/vendor/bootstrap/less/mixins/resize.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 52 |
```less
// Image Mixins
// - Responsive image
// - Retina image
// Responsive image
//
// Keep images from scaling beyond the width of their parents.
.img-responsive(@display: block) {
display: @display;
width: 100% \9; // Force IE10 and below to size SVG images correctly
max-width: 100%; // Part 1: Set a maxim... | /content/code_sandbox/public/vendor/bootstrap/less/mixins/image.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 324 |
```less
// Navbar vertical align
//
// Vertically center elements in the navbar.
// Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin.
.navbar-vertical-align(@element-height) {
margin-top: ((@navbar-height - @element-height) / 2);
margin-... | /content/code_sandbox/public/vendor/bootstrap/less/mixins/nav-vertical-align.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 92 |
```less
// Clearfix
//
// For modern browsers
// 1. The space content is one way to avoid an Opera bug when the
// contenteditable attribute is included anywhere else in the document.
// Otherwise it causes space to appear at the top and bottom of elements
// that are clearfixed.
// 2. The use of `table` rathe... | /content/code_sandbox/public/vendor/bootstrap/less/mixins/clearfix.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 154 |
```less
// Contextual backgrounds
.bg-variant(@color) {
background-color: @color;
a&:hover {
background-color: darken(@color, 10%);
}
}
``` | /content/code_sandbox/public/vendor/bootstrap/less/mixins/background-variant.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 40 |
```less
// Pagination
.pagination-size(@padding-vertical; @padding-horizontal; @font-size; @border-radius) {
> li {
> a,
> span {
padding: @padding-vertical @padding-horizontal;
font-size: @font-size;
}
&:first-child {
> a,
> span {
.border-left-radius(@border-radius);... | /content/code_sandbox/public/vendor/bootstrap/less/mixins/pagination.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 110 |
```less
// Grid system
//
// Generate semantic grid columns with these mixins.
// Centered container element
.container-fixed(@gutter: @grid-gutter-width) {
margin-right: auto;
margin-left: auto;
padding-left: (@gutter / 2);
padding-right: (@gutter / 2);
&:extend(.clearfix all);
}
// Creates a wrapper for ... | /content/code_sandbox/public/vendor/bootstrap/less/mixins/grid.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 880 |
```less
// Single side border-radius
.border-top-radius(@radius) {
border-top-right-radius: @radius;
border-top-left-radius: @radius;
}
.border-right-radius(@radius) {
border-bottom-right-radius: @radius;
border-top-right-radius: @radius;
}
.border-bottom-radius(@radius) {
border-bottom-right-radius: @ra... | /content/code_sandbox/public/vendor/bootstrap/less/mixins/border-radius.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 111 |
```less
// Vendor Prefixes
//
// All vendor mixins are deprecated as of v3.2.0 due to the introduction of
// Autoprefixer in our Gruntfile. They will be removed in v4.
// - Animations
// - Backface visibility
// - Box shadow
// - Box sizing
// - Content columns
// - Hyphens
// - Placeholder text
// - Transformations
/... | /content/code_sandbox/public/vendor/bootstrap/less/mixins/vendor-prefixes.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 1,648 |
```less
// Center-align a block level element
.center-block() {
display: block;
margin-left: auto;
margin-right: auto;
}
``` | /content/code_sandbox/public/vendor/bootstrap/less/mixins/center-block.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 31 |
```less
// Tables
.table-row-variant(@state; @background) {
// Exact selectors below required to override `.table-striped` and prevent
// inheritance to nested tables.
.table > thead > tr,
.table > tbody > tr,
.table > tfoot > tr {
> td.@{state},
> th.@{state},
&.@{state} > td,
&.@{state} > t... | /content/code_sandbox/public/vendor/bootstrap/less/mixins/table-row.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 207 |
```less
// Sizing shortcuts
.size(@width; @height) {
width: @width;
height: @height;
}
.square(@size) {
.size(@size; @size);
}
``` | /content/code_sandbox/public/vendor/bootstrap/less/mixins/size.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 42 |
```less
// Gradients
#gradient {
// Horizontal gradient, from left to right
//
// Creates two color stops, start and end, by specifying a color and position for each color stop.
// Color stops are not available in IE9 and below.
.horizontal(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-perc... | /content/code_sandbox/public/vendor/bootstrap/less/mixins/gradients.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 1,218 |
```less
// Text overflow
// Requires inline-block or block for proper styling
.text-overflow() {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
``` | /content/code_sandbox/public/vendor/bootstrap/less/mixins/text-overflow.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 40 |
```javascript
/*!
* Bootstrap Grunt task for generating raw-files.min.js for the Customizer
* path_to_url
*/
/* global btoa: true */
'use strict';
var fs = require('fs');
var btoa = require('btoa');
var glob = require('glob');
function getFiles(type) {
var files = {};
var recursive = (type === 'less');
var ... | /content/code_sandbox/public/vendor/bootstrap/grunt/bs-raw-files-generator.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 341 |
```javascript
/*!
* Bootstrap Grunt task for parsing Less docstrings
* path_to_url
*/
'use strict';
var markdown = require('markdown').markdown;
function markdown2html(markdownString) {
// the slice removes the <p>...</p> wrapper output by Markdown processor
return markdown.toHTML(markdownString.trim()).slice(... | /content/code_sandbox/public/vendor/bootstrap/grunt/bs-lessdoc-parser.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 1,450 |
```javascript
/*!
* Bootstrap Grunt task for Glyphicons data generation
* path_to_url
*/
'use strict';
var fs = require('fs');
module.exports = function generateGlyphiconsData(grunt) {
// Pass encoding, utf8, so `readFileSync` will return a string instead of a
// buffer
var glyphiconsFile = fs.readFileSync('l... | /content/code_sandbox/public/vendor/bootstrap/grunt/bs-glyphicons-data-generator.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 344 |
```yaml
[
# Docs: path_to_url
{
browserName: "safari",
platform: "OS X 10.9"
},
{
browserName: "chrome",
platform: "OS X 10.9"
},
{
browserName: "firefox",
platform: "OS X 10.9"
},
# Mac Opera not currently supported by Sauce Labs
{
browserName: "internet explorer",
... | /content/code_sandbox/public/vendor/bootstrap/grunt/sauce_browsers.yml | yaml | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 422 |
```javascript
/* ========================================================================
* Bootstrap: scrollspy.js v3.2.0
* path_to_url#scrollspy
* ========================================================================
* ======================================================================== */
+function ($) ... | /content/code_sandbox/public/vendor/bootstrap/js/scrollspy.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 1,088 |
```javascript
/* ========================================================================
* Bootstrap: tooltip.js v3.2.0
* path_to_url#tooltip
* Inspired by the original jQuery.tipsy by Jason Frame
* ========================================================================
* ========================================... | /content/code_sandbox/public/vendor/bootstrap/js/tooltip.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 3,459 |
```javascript
/* ========================================================================
* Bootstrap: affix.js v3.2.0
* path_to_url#affix
* ========================================================================
* ======================================================================== */
+function ($) {
'use... | /content/code_sandbox/public/vendor/bootstrap/js/affix.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 1,002 |
```javascript
/* ========================================================================
* Bootstrap: alert.js v3.2.0
* path_to_url#alerts
* ========================================================================
* ======================================================================== */
+function ($) {
'us... | /content/code_sandbox/public/vendor/bootstrap/js/alert.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 497 |
```javascript
/* ========================================================================
* Bootstrap: collapse.js v3.2.0
* path_to_url#collapse
* ========================================================================
* ======================================================================== */
+function ($) {
... | /content/code_sandbox/public/vendor/bootstrap/js/collapse.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 1,151 |
```javascript
/* ========================================================================
* Bootstrap: tab.js v3.2.0
* path_to_url#tabs
* ========================================================================
* ======================================================================== */
+function ($) {
'use st... | /content/code_sandbox/public/vendor/bootstrap/js/tab.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 679 |
```javascript
/* ========================================================================
* Bootstrap: modal.js v3.2.0
* path_to_url#modals
* ========================================================================
* ======================================================================== */
+function ($) {
'us... | /content/code_sandbox/public/vendor/bootstrap/js/modal.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 1,878 |
```javascript
/* ========================================================================
* Bootstrap: carousel.js v3.2.0
* path_to_url#carousel
* ========================================================================
* ======================================================================== */
+function ($) {
... | /content/code_sandbox/public/vendor/bootstrap/js/carousel.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 1,550 |
```javascript
/* ========================================================================
* Bootstrap: button.js v3.2.0
* path_to_url#buttons
* ========================================================================
* ======================================================================== */
+function ($) {
'... | /content/code_sandbox/public/vendor/bootstrap/js/button.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 685 |
```javascript
/* ========================================================================
* Bootstrap: dropdown.js v3.2.0
* path_to_url#dropdowns
* ========================================================================
* ======================================================================== */
+function ($) {... | /content/code_sandbox/public/vendor/bootstrap/js/dropdown.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 1,018 |
```javascript
/* ========================================================================
* Bootstrap: transition.js v3.2.0
* path_to_url#transitions
* ========================================================================
* ======================================================================== */
+function (... | /content/code_sandbox/public/vendor/bootstrap/js/transition.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 346 |
```javascript
/* ========================================================================
* Bootstrap: popover.js v3.2.0
* path_to_url#popovers
* ========================================================================
* ======================================================================== */
+function ($) {
... | /content/code_sandbox/public/vendor/bootstrap/js/popover.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 745 |
```css
/*!
* Bootstrap v3.2.0 (path_to_url
``` | /content/code_sandbox/public/vendor/bootstrap/dist/css/bootstrap.min.css | css | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 15 |
```css
/*!
* Bootstrap v3.2.0 (path_to_url
*/
.btn-default,
.btn-primary,
.btn-success,
.btn-info,
.btn-warning,
.btn-danger {
text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 0 rgba(255, 255, 255... | /content/code_sandbox/public/vendor/bootstrap/dist/css/bootstrap-theme.css | css | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 6,826 |
```css
/*!
* Bootstrap v3.2.0 (path_to_url
*/.btn-default,.btn-primary,.btn-success,.btn-info,.btn-warning,.btn-danger{text-shadow:0 -1px 0 rgba(0,0,0,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.btn-de... | /content/code_sandbox/public/vendor/bootstrap/dist/css/bootstrap-theme.min.css | css | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 5,903 |
```css
/*!
* Bootstrap v3.2.0 (path_to_url
*/
html {
font-family: sans-serif;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
body {
margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block;
}
audio,
canvas,
progress,
v... | /content/code_sandbox/public/vendor/bootstrap/dist/css/bootstrap.css | css | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 40,824 |
```javascript
/*!
* Bootstrap v3.2.0 (path_to_url
*/
if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransition... | /content/code_sandbox/public/vendor/bootstrap/dist/js/bootstrap.min.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 8,756 |
```javascript
/*!
* Bootstrap v3.2.0 (path_to_url
*/
if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript requires jQuery') }
/* ========================================================================
* Bootstrap: transition.js v3.2.0
* path_to_url#transitions
* ========================... | /content/code_sandbox/public/vendor/bootstrap/dist/js/bootstrap.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 14,123 |
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="path_to_url">
<script src="path_to_url"></script>
<script src="../lib/jquery.payment.js"></script>
<style type="text/css" media="screen">
.has-error input {
border-width: 2px;
}
.valid... | /content/code_sandbox/public/vendor/jquery.payment/example/index.html | html | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 756 |
```javascript
// Generated by CoffeeScript 1.7.1
(function() {
var $, cardFromNumber, cardFromType, cards, defaultFormat, formatBackCardNumber, formatBackExpiry, formatCardNumber, formatExpiry, formatForwardExpiry, formatForwardSlashAndSpace, hasTextSelected, luhnCheck, reFormatCVC, reFormatCardNumber, reFormatExpiry... | /content/code_sandbox/public/vendor/jquery.payment/lib/jquery.payment.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 5,211 |
```javascript
(function(){var t,e,n,r,a,o,i,l,u,s,c,h,p,g,v,f,d,m,y,C,T,w,$,D,S=[].slice,k=[].indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(e in this&&this[e]===t)return e;return-1};t=window.jQuery||window.Zepto||window.$,t.payment={},t.payment.fn={},t.fn.payment=function(){var e,n;return n=arguments[0],e=2... | /content/code_sandbox/public/vendor/jquery.payment/lib/jquery.payment.min.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 3,188 |
```coffeescript
assert = require('assert')
describe 'jquery.payment', ->
describe 'Validating a card number', ->
it 'should fail if empty', ->
topic = $.payment.validateCardNumber ''
assert.equal topic, false
it 'should fail if is a bunch of spaces', ->
topic = $.payment.validateCardNumber... | /content/code_sandbox/public/vendor/jquery.payment/test/specs.coffee | coffeescript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 3,801 |
```coffeescript
window = require('jsdom').jsdom().defaultView
global.$ = require('jquery')(window)
global.window = window
global.document = window.document
require('../src/jquery.payment')
require('./specs')
``` | /content/code_sandbox/public/vendor/jquery.payment/test/jquery.coffee | coffeescript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 44 |
```coffeescript
window = require('jsdom').jsdom().defaultView
global.window = window
global.document = window.document
global.getComputedStyle = window.getComputedStyle
global.$ = require('zeptojs')
window.$ = global.$
require('../src/jquery.payment')
require('./specs')
``` | /content/code_sandbox/public/vendor/jquery.payment/test/zepto.coffee | coffeescript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 58 |
```coffeescript
$ = window.jQuery or window.Zepto or window.$
$.payment = {}
$.payment.fn = {}
$.fn.payment = (method, args...) ->
$.payment.fn[method].apply(this, args)
# Utils
defaultFormat = /(\d{1,4})/g
$.payment.cards = cards = [
# Elo has a lot of bins scattered throughout bin-space. Some are one-off, and
... | /content/code_sandbox/public/vendor/jquery.payment/src/jquery.payment.coffee | coffeescript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 4,447 |
```javascript
var Vue = require('vue');
var Resource = require('../src');
Vue.use(Resource);
// require specs
require('./url.js');
require('./http.js');
require('./promise.js');
``` | /content/code_sandbox/public/vendor/vue-resource/test/index.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 38 |
```javascript
var Vue = require('vue');
describe('Vue.http', function () {
it('get: test.json', function (done) {
Vue.http.get('data/test.json').then(function (res) {
expect(res.ok).toBe(true);
expect(res.status).toBe(200);
expect(res.data.foo).toBe('bar');
... | /content/code_sandbox/public/vendor/vue-resource/test/http.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 333 |
```javascript
module.exports = {
entry: __dirname + "/index.js",
output: {
path: __dirname + "/",
filename: "specs.js"
}
};
``` | /content/code_sandbox/public/vendor/vue-resource/test/webpack.config.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 37 |
```javascript
var Promise = require('../src/promise');
var isNative = window.Promise !== undefined;
describe('Vue.promise ' + (isNative ? '(native)' : '(polyfill)'), function () {
it('then fulfill', function (done) {
Promise.resolve(1).then(function (value) {
expect(value).toBe(1);
... | /content/code_sandbox/public/vendor/vue-resource/test/promise.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 639 |
```javascript
var Vue = require('vue');
describe('Vue.url', function () {
it('data/:id', function () {
expect(Vue.url('data/:id')).toBe('data');
expect(Vue.url('data/:id', {id: 1})).toBe('data/1');
});
it('data{/id}', function () {
expect(Vue.url('data{/id}')).toBe('data');
... | /content/code_sandbox/public/vendor/vue-resource/test/url.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 215 |
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Vue Resource - Jasmine</title>
<link rel="shortcut icon" type="image/png" href="../node_modules/jasmine-core/images/jasmine_favicon.png">
<link rel="stylesheet" href="../node_modules/jasmine-core/lib/jasmine-core/jasmine.css">
<script src="... | /content/code_sandbox/public/vendor/vue-resource/test/index.html | html | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 159 |
```javascript
/**
* Install plugin.
*/
function install(Vue) {
var _ = require('./util');
_.config = Vue.config;
_.warning = Vue.util.warn;
_.nextTick = Vue.util.nextTick;
Vue.url = require('./url');
Vue.http = require('./http');
Vue.resource = require('./resource');
Vue.Promise = ... | /content/code_sandbox/public/vendor/vue-resource/src/index.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 228 |
```javascript
/**
* Utility functions.
*/
var _ = exports, array = [], console = window.console;
_.warn = function (msg) {
if (console && _.warning && (!_.config.silent || _.config.debug)) {
console.warn('[VueResource warn]: ' + msg);
}
};
_.error = function (msg) {
if (console) {
conso... | /content/code_sandbox/public/vendor/vue-resource/src/util.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 629 |
```javascript
/**
* Service for interacting with RESTful services.
*/
var _ = require('./util');
function Resource(url, params, actions, options) {
var self = this, resource = {};
actions = _.extend({},
Resource.actions,
actions
);
_.each(actions, function (action, name) {
... | /content/code_sandbox/public/vendor/vue-resource/src/resource.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 481 |
```javascript
/**
* Promise adapter.
*/
var _ = require('./util');
var PromiseObj = window.Promise || require('./lib/promise');
function Promise(executor, context) {
if (executor instanceof PromiseObj) {
this.promise = executor;
} else {
this.promise = new PromiseObj(executor.bind(context))... | /content/code_sandbox/public/vendor/vue-resource/src/promise.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 555 |
```javascript
/**
* URL Template v2.0.6 (path_to_url
*/
exports.expand = function (url, params, variables) {
var tmpl = this.parse(url), expanded = tmpl.expand(params);
if (variables) {
variables.push.apply(variables, tmpl.vars);
}
return expanded;
};
exports.parse = function (template) {... | /content/code_sandbox/public/vendor/vue-resource/src/lib/url-template.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 958 |
```javascript
/**
* Promises/A+ polyfill v1.1.4 (path_to_url
*/
var _ = require('../util');
var RESOLVED = 0;
var REJECTED = 1;
var PENDING = 2;
function Promise(executor) {
this.state = PENDING;
this.value = undefined;
this.deferred = [];
var promise = this;
try {
executor(function... | /content/code_sandbox/public/vendor/vue-resource/src/lib/promise.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 895 |
```javascript
/**
* Service for URL templating.
*/
var _ = require('../util');
var ie = document.documentMode;
var el = document.createElement('a');
function Url(url, params) {
var options = url, transform;
if (_.isString(url)) {
options = {url: url, params: params};
}
options = _.merge({... | /content/code_sandbox/public/vendor/vue-resource/src/url/index.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 593 |
```javascript
/**
* Query Parameter Transform.
*/
var _ = require('../util');
module.exports = function (options, next) {
var urlParams = Object.keys(_.url.options.params), query = {}, url = next(options);
_.each(options.params, function (value, key) {
if (urlParams.indexOf(key) === -1) {
... | /content/code_sandbox/public/vendor/vue-resource/src/url/query.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 122 |
```javascript
/**
* URL Template (RFC 6570) Transform.
*/
var UrlTemplate = require('../lib/url-template');
module.exports = function (options) {
var variables = [], url = UrlTemplate.expand(options.url, options.params, variables);
variables.forEach(function (key) {
delete options.params[key];
... | /content/code_sandbox/public/vendor/vue-resource/src/url/template.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 71 |
```javascript
/**
* Legacy Transform.
*/
var _ = require('../util');
module.exports = function (options, next) {
var variables = [], url = next(options);
url = url.replace(/(\/?):([a-z]\w*)/gi, function (match, slash, name) {
_.warn('The `:' + name + '` parameter syntax has been deprecated. Use t... | /content/code_sandbox/public/vendor/vue-resource/src/url/legacy.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 263 |
```javascript
/**
* Root Prefix Transform.
*/
var _ = require('../util');
module.exports = function (options, next) {
var url = next(options);
if (_.isString(options.root) && !url.match(/^(https?:)?\//)) {
url = options.root + '/' + url;
}
return url;
};
``` | /content/code_sandbox/public/vendor/vue-resource/src/url/root.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 70 |
```javascript
/**
* Mime Interceptor.
*/
var _ = require('../util');
module.exports = {
request: function (request) {
if (request.emulateJSON && _.isPlainObject(request.data)) {
request.headers['Content-Type'] = 'application/x-www-form-urlencoded';
request.data = _.url.params(r... | /content/code_sandbox/public/vendor/vue-resource/src/http/mime.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 158 |
```javascript
/**
* Interceptor factory.
*/
var _ = require('../util');
var Promise = require('../promise');
module.exports = function (handler, vm) {
return function (client) {
if (_.isFunction(handler)) {
handler = handler.call(vm, Promise);
}
return function (request) {... | /content/code_sandbox/public/vendor/vue-resource/src/http/interceptor.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 181 |
```javascript
/**
* Service for sending network requests.
*/
var _ = require('../util');
var Client = require('./client');
var Promise = require('../promise');
var interceptor = require('./interceptor');
var jsonType = {'Content-Type': 'application/json'};
function Http(url, options) {
var client = Client, req... | /content/code_sandbox/public/vendor/vue-resource/src/http/index.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 505 |
```javascript
/**
* JSONP Interceptor.
*/
var jsonpClient = require('./client/jsonp');
module.exports = {
request: function (request) {
if (request.method == 'JSONP') {
request.client = jsonpClient;
}
return request;
}
};
``` | /content/code_sandbox/public/vendor/vue-resource/src/http/jsonp.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 60 |
```javascript
/**
* Before Interceptor.
*/
var _ = require('../util');
module.exports = {
request: function (request) {
if (_.isFunction(request.beforeSend)) {
request.beforeSend.call(this, request);
}
return request;
}
};
``` | /content/code_sandbox/public/vendor/vue-resource/src/http/before.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 54 |
```javascript
/**
* HTTP method override Interceptor.
*/
module.exports = {
request: function (request) {
if (request.emulateHTTP && /^(PUT|PATCH|DELETE)$/i.test(request.method)) {
request.headers['X-HTTP-Method-Override'] = request.method;
request.method = 'POST';
}
... | /content/code_sandbox/public/vendor/vue-resource/src/http/method.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 75 |
```javascript
/**
* Timeout Interceptor.
*/
module.exports = function () {
var timeout;
return {
request: function (request) {
if (request.timeout) {
timeout = setTimeout(function () {
request.cancel();
}, request.timeout);
... | /content/code_sandbox/public/vendor/vue-resource/src/http/timeout.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 81 |
```javascript
/**
* CORS Interceptor.
*/
var _ = require('../util');
var xdrClient = require('./client/xdr');
var xhrCors = 'withCredentials' in new XMLHttpRequest();
var originUrl = _.url.parse(location.href);
module.exports = {
request: function (request) {
if (request.crossOrigin === null) {
... | /content/code_sandbox/public/vendor/vue-resource/src/http/cors.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 161 |
```javascript
/**
* Header Interceptor.
*/
var _ = require('../util');
module.exports = {
request: function (request) {
request.method = request.method.toUpperCase();
request.headers = _.extend({}, _.http.headers.common,
!request.crossOrigin ? _.http.headers.custom : {},
... | /content/code_sandbox/public/vendor/vue-resource/src/http/header.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 119 |
```javascript
/**
* XDomain client (Internet Explorer).
*/
var _ = require('../../util');
var Promise = require('../../promise');
module.exports = function (request) {
return new Promise(function (resolve) {
var xdr = new XDomainRequest(), response = {request: request}, handler;
request.cancel... | /content/code_sandbox/public/vendor/vue-resource/src/http/client/xdr.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 186 |
```javascript
/**
* Base client.
*/
var _ = require('../../util');
var Promise = require('../../promise');
var xhrClient = require('./xhr');
module.exports = function (request) {
var response = (request.client || xhrClient)(request);
return Promise.resolve(response).then(function (response) {
if ... | /content/code_sandbox/public/vendor/vue-resource/src/http/client/index.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 268 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.