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 |
|---|---|---|---|---|---|---|---|---|
```php
<?php
namespace App\Jobs;
use App\Models\Attendee;
/**
* Generate a single ticket for 1 attendee
*/
class GenerateTicketJob extends GenerateTicketsJobBase
{
/**
* Create a new job instance.
*
* @return void
*/
public function __construct(Attendee $attendee)
{
$this->a... | /content/code_sandbox/app/Jobs/GenerateTicketJob.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 125 |
```php
<?php
namespace App\Jobs;
use App\Mail\SendOrderNotificationMail;
use App\Models\Order;
use App\Services\Order as OrderService;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\Ser... | /content/code_sandbox/app/Jobs/SendOrderNotificationJob.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 255 |
```php
<?php
namespace App\Jobs;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use Log;
use PDF;
class GenerateTicketsJobBase implements ShouldQueue
{
use Dispat... | /content/code_sandbox/app/Jobs/GenerateTicketsJobBase.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 509 |
```php
<?php
namespace App\Jobs;
use App\Mail\SendMessageToAttendeeMail;
use App\Models\Attendee;
use App\Models\Event;
use Carbon\Carbon;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue... | /content/code_sandbox/app/Jobs/SendMessageToAttendeeJob.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 410 |
```php
<?php
namespace App\Jobs;
use App\Mail\SendOrderAttendeeTicketMail;
use App\Models\Attendee;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use Config;
use Mail... | /content/code_sandbox/app/Jobs/SendOrderAttendeeTicketJob.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 242 |
```php
<?php
namespace App\Jobs;
use App\Mail\SendOrderConfirmationMail;
use App\Models\Order;
use App\Services\Order as OrderService;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\Ser... | /content/code_sandbox/app/Jobs/SendOrderConfirmationJob.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 262 |
```php
<?php
namespace App\Jobs;
use App\Mail\SendMessageToAttendeesMail;
use App\Models\Attendee;
use App\Models\Event;
use App\Models\Message;
use Carbon\Carbon;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQu... | /content/code_sandbox/app/Jobs/SendMessageToAttendeesJob.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 400 |
```php
<?php
namespace App\Commands;
abstract class Command
{
//
}
``` | /content/code_sandbox/app/Commands/Command.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 17 |
```php
<?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylor@laravel.com>
*/
define('LARAVEL_START', microtime(true));
/*
|your_sha256_hash----------
| Register The Auto Loader
|your_sha256_hash----------
|
| Composer provides a convenient, automatically ... | /content/code_sandbox/public/index.php | php | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 352 |
```css
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
body {
margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
display: block;
}
audio,
canvas,
progress,
video {
display: inline-block;
vertic... | /content/code_sandbox/public/css/app.css | css | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 39,883 |
```less
html, body {
height: 100%;
}
body {
font-family: sans-serif;
}
table {
margin: 0;
}
label.required::after {
content: '*';
color: red;
padding-left: 3px;
font-size: 9px;
}
@media (min-width: 1200px) {
.container {
width: 960px;
}
}
section.container {
padding: 40px;
background-colo... | /content/code_sandbox/public/assets/stylesheet/public.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 2,953 |
```less
@import "base.less";
/*BEGIN UI*/
@import 'icons/iconfont/style.css';
@import "less/ui/helper.less";
@import "less/ui/form.less";
@import "less/ui/button.less";
@import "less/ui/dropdown.less";
@import "less/ui/labelbadge.less";
@import "less/ui/typography.less";
@import "less/ui/icon.less";
@import "less/ui/... | /content/code_sandbox/public/assets/stylesheet/frontend.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 171 |
```css
[v-cloak] { display: none }
::-webkit-input-placeholder { /* WebKit browsers */
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
opacity: 1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
}
body {
background-color: #2E3254;
}
... | /content/code_sandbox/public/assets/stylesheet/check_in.css | css | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 2,169 |
```less
/*
-----------------------------------------------------
MANAGE ORGANISERS
-----------------------------------------------------
*/
.page-title .title .organiser_logo {
position: absolute;
height: 45px;
right: 20px;
top: 5px;
bottom: 5px;
}
.page-title .title .organiser_logo img {
ma... | /content/code_sandbox/public/assets/stylesheet/custom.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 2,108 |
```css
body {
min-height: 100%;
}
.humane,
.humane-flatty {
position: fixed;
-moz-transition: all 0.4s ease-in-out;
-webkit-transition: all 0.4s ease-in-out;
-ms-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
z-index: 100000;
filter: progid:DXI... | /content/code_sandbox/public/assets/stylesheet/application.css | css | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 41,316 |
```css
.ticket {
/*page-break-after: always;*/
padding: 10px;
border: 1px solid #000;
width: 700px;
margin: 0 auto;
margin-top: 20px;
background: #000;
position: relative;
height: 330px;
font-size: 12px;
color: #999;
border-left-width: 3px;
border-left-color: #000;
... | /content/code_sandbox/public/assets/stylesheet/ticket.css | css | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 705 |
```less
@import "base.less";
/*BEGIN LAYOUT*/
@import "less/layout/global.less";
@import "less/layout/header.less";
@import "less/layout/header-mq.less";
@import "less/layout/sidebar.less";
@import "less/layout/sidebar-mq.less";
@import "less/layout/maincontent.less";
@import "less/layout/maincontent-mq.less";
/*END L... | /content/code_sandbox/public/assets/stylesheet/application.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 316 |
```less
//
// Variables
// --------------------------------------------------
//== Colors
//
//## Gray and brand colors for use across Bootstrap.
@gray-darker: lighten(#000, 13.5%); // #222
@gray-dark: lighten(#000, 20%); // #333
@gray: lighten(#000, 33.5%); // #555
@gray-... | /content/code_sandbox/public/assets/stylesheet/bootstrap_custom_variables.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 6,409 |
```less
@attendize-base-color: #2E3254; //2BA0D5
@default: lighten(@attendize-base-color, 20%);
@primary: lighten(@attendize-base-color, 10%);
@success: lighten(@attendize-base-color, 18%);
@info: #63D3E9;
@warning: #FFD66A;
@inverse: #2a2a2a;
@danger: #ED5466;
@teal: #00b6ad;
@facebook: #3b5998;
@twitter: #55acee;
@d... | /content/code_sandbox/public/assets/stylesheet/variables.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 478 |
```less
body{
direction: rtl;
}
.sidebar{
&.sidebar-left{
&.sidebar-menu{
right: 0;
}
}
&.sidebar-menu{
& + #main {
padding-right: 220px;
padding-left: 0;
}
}
}
#header{
&.navbar{
& > .navbar-header {
fl... | /content/code_sandbox/public/assets/stylesheet/application-rtl.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 322 |
```css
body {
min-height: 100%;
}
.humane,
.humane-flatty {
position: fixed;
-moz-transition: all 0.4s ease-in-out;
-webkit-transition: all 0.4s ease-in-out;
-ms-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
z-index: 100000;
filter: progid:DXI... | /content/code_sandbox/public/assets/stylesheet/frontend.css | css | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 2,793 |
```less
@import "../../vendor/bootstrap/less/bootstrap.less";
// Copied the bootstrap vars file to allow customisation
@import "bootstrap_custom_variables.less";
@import "variables.less";
@import "mixin.less";
``` | /content/code_sandbox/public/assets/stylesheet/base.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 45 |
```css
``` | /content/code_sandbox/public/assets/stylesheet/qrcode-check-in.css | css | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 2 |
```css
body{
direction: rtl;
}
.sidebar.sidebar-left.sidebar-menu{
right: 0;
}
.sidebar.sidebar-menu + #main {
padding-right: 220px;
padding-left: 0;
}
#header.navbar > .navbar-header {
float: right;
}
#header.navbar > .navbar-toolbar {
margin-right: 220px;
margin-left: unset;
}
.nav{
... | /content/code_sandbox/public/assets/stylesheet/application-rtl.css | css | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 276 |
```less
/* ----------------------------
*
* Modal
*
* --------------------------- */
.modal-content {
background-color: @white;
border: none;
border-radius: @border-radius;
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2);
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2);
}
.modal-header {
borde... | /content/code_sandbox/public/assets/stylesheet/less/ui/modal.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 306 |
```less
/* ----------------------------
*
* Alert
*
* --------------------------- */
.alert {
padding: 10px;
background: @white !important;
border-left-width: 4px;
}
.alert-dismissable {
padding-right: 10px;
.close {
right: 0px;
}
}
/* success */
.alert-success {
color: darken... | /content/code_sandbox/public/assets/stylesheet/less/ui/alert.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 389 |
```less
/* ----------------------------
*
* Icons
*
* --------------------------- */
``` | /content/code_sandbox/public/assets/stylesheet/less/ui/icon.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 13 |
```less
/* ----------------------------
*
* Dropdown Menu
*
* --------------------------- */
.dropdown-menu {
font-size: 13px;
border-color: @border-color;
padding: 5px 0px;
border-radius: @border-radius + 1;
-webkit-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
box-shadow: 0px 1px 3px 0px... | /content/code_sandbox/public/assets/stylesheet/less/ui/dropdown.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 577 |
```less
/* ----------------------------
*
* Helper Class
*
* --------------------------- */
/* Margin */
.ma15 { margin: 15px !important; }
.ma10 { margin: 10px !important; }
.ma5 { margin: 5px !important; }
.nm { margin: 0px !important; }
.ma-15 { margin: -15px !important; }
.ma-10 { margin: -10px !important; }
.m... | /content/code_sandbox/public/assets/stylesheet/less/ui/helper.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 866 |
```less
``` | /content/code_sandbox/public/assets/stylesheet/less/ui/well.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 1 |
```less
/* ----------------------------
*
* Button & Link
*
* --------------------------- */
/* anchor reset */
a {
color: @primary;
text-decoration: none;
&:hover,
&:focus,
&:active {
color: darken(@primary, 5%);
outline: 0;
text-decoration: none;
}
}
/* button r... | /content/code_sandbox/public/assets/stylesheet/less/ui/button.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 2,949 |
```less
/* ----------------------------
*
* Panel
*
* --------------------------- */
.panel {
/* max-width: 100%; required by text ellipsis */
position: relative;
border-width: 1px;
border-color: @border-color;
border-bottom-width: 2px;
border-bottom-color: darken(@border-color, 5%);
bo... | /content/code_sandbox/public/assets/stylesheet/less/ui/panel.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 5,162 |
```less
/* ----------------------------
*
* Label & Badge & Icons
*
* --------------------------- */
.badge, .label {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
display: inline-block;
font-size: 11px;
font-weight: bold;
line-height: 1.7;
height: 18px;
padding: 0px 5px;
... | /content/code_sandbox/public/assets/stylesheet/less/ui/labelbadge.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 341 |
```less
/* ----------------------------
*
* Typography
*
* --------------------------- */
body,
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
font-family: @font-family;
}
h1 > small,
h2 > small,
h3 > small,
h4 > small,
h5 > small,
h6 > small {
color: inherit;
}
/* Helper
-----------... | /content/code_sandbox/public/assets/stylesheet/less/ui/typography.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 944 |
```less
/* ----------------------------
*
* Custom Scrollbar
*
* --------------------------- */
.scrollrail {
opacity: 1 !important;
background-color: rgba(0, 0, 0, 0.05) !important;
border: 0px !important;
border-radius: 0px !important;
}
.scrollbar {
opacity: 1 !important;
background-color... | /content/code_sandbox/public/assets/stylesheet/less/ui/scrollbar.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 124 |
```less
/* ----------------------------
*
* Forms
*
* --------------------------- */
.form-control {
font-size: 13px;
border: 1px solid @border-color;
line-height: normal;
-moz-box-shadow: none;
box-shadow: none;
border-radius: @border-radius;
color: @input-color;
&.form-control-min... | /content/code_sandbox/public/assets/stylesheet/less/ui/form.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 3,077 |
```less
/* ----------------------------
*
* Table
*
* --------------------------- */
.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
vertical-align: middle;
border-color: @border-color;
pad... | /content/code_sandbox/public/assets/stylesheet/less/ui/table.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 2,661 |
```less
/* ----------------------------
*
* Page Header
*
* --------------------------- */
.page-title {
padding: 10px 15px 10px 15px;
margin: -15px;
background-color: #F7F7F7;
border-bottom: 1px solid @border-color;
border-top: 1px solid @border-color;
margin-bottom: 15px;
position: re... | /content/code_sandbox/public/assets/stylesheet/less/ui/pageheader.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 674 |
```less
/* ----------------------------
*
* To Top Scroller
*
* --------------------------- */
.totop {
position: fixed;
z-index: 998;
bottom: 10px;
right: 25px; //Avoid scrollbars on Laptops
display: block;
width: 80px;
height: 40px;
line-height: 40px;
background-color: fade(@at... | /content/code_sandbox/public/assets/stylesheet/less/ui/totop.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 241 |
```less
/* ----------------------------
*
* Nav
*
* --------------------------- */
.nav > li h1,
.nav > li h2,
.nav > li h3,
.nav > li h4,
.nav > li h5,
.nav > li h6 {
margin: 0px;
}
.nav > li > a:hover,
.nav > li > a:focus,
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
background-color: t... | /content/code_sandbox/public/assets/stylesheet/less/ui/nav.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 798 |
```less
/* ----------------------------
*
* List Group
*
* --------------------------- */
.list-group-header {
font-weight: 600;
padding: 10px 15px;
color: lighten(@dark, 20%);
font-size: 14px;
}
.list-group-item {
border: 1px solid @border-color;
}
a.list-group-item.active,
a.list-group-item.a... | /content/code_sandbox/public/assets/stylesheet/less/ui/listgroup.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 442 |
```less
/* ----------------------------
*
* Progress Bar
*
* --------------------------- */
.progress {
display: block;
margin-bottom: 15px;
background-color: darken(@maincontent-base-color, 2%);
box-shadow: none;
-webkit-box-shadow: none;
// Size
// -----------------------------------... | /content/code_sandbox/public/assets/stylesheet/less/ui/progressbar.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 209 |
```less
@media (min-width: @screen-md-min) {
#main {
//padding-top: 0px;
}
.sidebar {
&.sidebar-menu {
+ #main {
padding-left: @sidebar-width;
}
}
}
#header.navbar {
~ #main {
padding-top: 0px;
}
}
#h... | /content/code_sandbox/public/assets/stylesheet/less/layout/maincontent-mq.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 202 |
```less
/* Sidebar Transition */
.csstransforms3d.sidebar-open-ltr {
.sidebar-left {
.translate3d(@sidebar-width, 0, 0);
}
}
.no-csstransforms3d.sidebar-open-ltr {
.sidebar-left {
right: auto;
left: 0px;
}
}
.csstransforms3d.sidebar-open-rtl {
.sidebar-right {
.tran... | /content/code_sandbox/public/assets/stylesheet/less/layout/sidebar.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 1,127 |
```less
/* Push left */
#main {
position: relative;
.transition(transform 0.2s ease);
}
#header.navbar {
~ #main {
padding-top: @header-height;
}
}
#header.navbar{
&.navbar-fixed-top {
~ #main {
padding-top: @header-height + @header-height;
}
}
}
/* Push right... | /content/code_sandbox/public/assets/stylesheet/less/layout/maincontent.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 243 |
```less
/* Push right */
.csstransforms3d.sidebar-open-ltr {
#header.navbar {
.translate3d(@sidebar-width, 0, 0);
}
}
.no-csstransforms3d.sidebar-open-ltr {
#header.navbar {
left: @sidebar-width;
right: auto;
}
}
/* Push left */
.csstransforms3d.sidebar-open-rtl {
#header.nav... | /content/code_sandbox/public/assets/stylesheet/less/layout/header.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 2,479 |
```less
@media (min-width: @screen-md-min) {
/* Sidebar Transition */
.csstransforms3d.sidebar-open-ltr {
.sidebar-left {
&.sidebar-menu {
.translate3d(@sidebar-width, 0, 0);
}
}
}
.no-csstransforms3d.sidebar-open-ltr {
.sidebar-left {
... | /content/code_sandbox/public/assets/stylesheet/less/layout/sidebar-mq.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 1,071 |
```less
// * =========================================================== *
// < LESSHat >
// * =========================================================== *
//
// Made with Energy drinks in Prague, Czech Republic.
// Handcrafted by Petr Brzek, lesshat.com
// Wor... | /content/code_sandbox/public/assets/stylesheet/mixin.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 109,799 |
```less
html {
position: relative;
z-index: 1;
min-height: 100%;
}
.sidebar-open-rtl,
.sidebar-open-ltr {
overflow: hidden;
}
body {
font-size: @font-size-global;
min-height: 100%;
background-color: @maincontent-base-color;
color: @attendize-base-color;
}
@media (min-width: @screen-xs) ... | /content/code_sandbox/public/assets/stylesheet/less/layout/global.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 176 |
```less
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
#header.navbar {
> .navbar-toolbar {
background-color: lighten(@attendize-base-color, 15%);
color: @white;
}
}
}
/* ----------------------------
*
* Template Header - screen-md
*
* --------... | /content/code_sandbox/public/assets/stylesheet/less/layout/header-mq.less | less | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 1,509 |
```css
@font-face {
font-family: 'iconfont';
src:url('fonts/iconfont.eot');
src:url('fonts/iconfont.eot?#iefix') format('embedded-opentype'),
url('fonts/iconfont.svg#iconfont') format('svg'),
url('fonts/iconfont.woff') format('woff'),
url('fonts/iconfont.ttf') format('truetype');
font-weight: normal;
font-st... | /content/code_sandbox/public/assets/stylesheet/icons/iconfont/style.css | css | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 21,703 |
```javascript
/*! iFrame Resizer (iframeSizer.contentWindow.min.js) - v3.5.16 - 2018-01-21
* Desc: Include this file in any page being loaded into an iframe
* to force the iframe to resize to the content size.
* Requires: iframeResizer.min.js on host page.
*/
!function(a){"use strict";function b(a,b,c){"a... | /content/code_sandbox/public/assets/javascript/iframeSizer.contentWindow.min.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 4,112 |
```javascript
/*! Attendize - v1.0.0 - 2015-03-16 */function toggleSubmitDisabled($submitButton){return $submitButton.hasClass("disabled")?void $submitButton.attr("disabled",!1).removeClass("disabled").val($submitButton.data("original-text")):void $submitButton.data("original-text",$submitButton.val()).attr("disabled",... | /content/code_sandbox/public/assets/javascript/frontend.min.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 56,155 |
```javascript
$(function () {
/*
* --------------------------
* Set up all our required plugins
* --------------------------
*/
/* Datepicker */
$(document).ajaxComplete(function () {
$('#DatePicker').remove();
var $div = $("<div>", {id: "DatePicker"});
$("body"... | /content/code_sandbox/public/assets/javascript/app.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 3,295 |
```javascript
var checkinApp = new Vue({
el: '#app',
data: {
attendees: [],
searchTerm: '',
searchResultsCount: 0,
showScannerModal: false,
workingAway: false,
isInit: false,
isScanning: false,
videoElement: $('video#scannerVideo')[0],
canv... | /content/code_sandbox/public/assets/javascript/check_in.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 1,185 |
```javascript
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=... | /content/code_sandbox/public/assets/javascript/frontend.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 65,193 |
```javascript
function getAjaxFormConfig(form) {
var $form = form;
var $submitButton = $form.find('input[type=submit]');
toggleSubmitDisabled($submitButton);
var ajaxFormConf = {
delegation: true,
beforeSerialize: function (jqForm, options) {
window.doSubmit = true;
... | /content/code_sandbox/public/assets/javascript/app-public.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 3,338 |
```javascript
/*
* Modernizr tests which native CSS3 and HTML5 features are available in
* the current UA and makes the results available to you in two ways:
* as properties on a global Modernizr object, and as classes on the
* <html> element. This information allows you to progressively enhance
* your pages with ... | /content/code_sandbox/public/assets/javascript/backend.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 85,349 |
```javascript
//! moment.js
//! version : 2.13.0
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.am... | /content/code_sandbox/public/vendor/moment/moment.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 32,959 |
```javascript
//! moment.js
//! version : 2.13.0
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.moment=b()}(this,function(){"use str... | /content/code_sandbox/public/vendor/moment/min/moment.min.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 17,625 |
```javascript
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ? factory(require('../moment')) :
typeof define === 'function' && define.amd ? define(['moment'], factory) :
factory(global.moment)
}(this, function (moment) { 'use ... | /content/code_sandbox/public/vendor/moment/min/locales.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 70,820 |
```javascript
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
global.moment = factory()
}(this, function () { 'use strict';
var hookCallback;
function utils_hoo... | /content/code_sandbox/public/vendor/moment/min/moment-with-locales.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 103,931 |
```javascript
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["moment"],b):b(a.moment)}(this,function(a){"use strict";
//! moment.js locale configuration
//! locale : belarusian (be)
//! author : Dmitry... | /content/code_sandbox/public/vendor/moment/min/locales.min.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 45,437 |
```javascript
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.moment=b()}(this,function(){"use strict";function a(){return ce.apply(null,arguments)}function b(a){ce=a}function c(a){return a instanceof Array||"[object Array]"===Obje... | /content/code_sandbox/public/vendor/moment/min/moment-with-locales.min.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 63,207 |
```javascript
//! moment.js
//! version : 2.13.0
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
import { hooks as moment, setHookCallback } from './lib/utils/hooks';
moment.version = '2.13.0';
import {
min,
max,
now,
isMoment,
momentPrototype as ... | /content/code_sandbox/public/vendor/moment/src/moment.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 463 |
```javascript
import { formatMoment } from '../format/format';
import { hooks } from '../utils/hooks';
import isFunction from '../utils/is-function';
hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ';
hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]';
export function toString () {
return this.clone().locale('en').form... | /content/code_sandbox/public/vendor/moment/src/lib/moment/format.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 264 |
```javascript
export var now = function () {
return Date.now ? Date.now() : +(new Date());
};
``` | /content/code_sandbox/public/vendor/moment/src/lib/moment/now.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 22 |
```javascript
import { isValid as _isValid } from '../create/valid';
import extend from '../utils/extend';
import getParsingFlags from '../create/parsing-flags';
export function isValid () {
return _isValid(this);
}
export function parsingFlags () {
return extend({}, getParsingFlags(this));
}
export function... | /content/code_sandbox/public/vendor/moment/src/lib/moment/valid.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 78 |
```javascript
import { Moment } from './constructor';
export function clone () {
return new Moment(this);
}
``` | /content/code_sandbox/public/vendor/moment/src/lib/moment/clone.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 21 |
```javascript
import { getLocale } from '../locale/locales';
import { deprecate } from '../utils/deprecate';
// If passed a locale key, it will set the locale for this
// instance. Otherwise, it will return the locale configuration
// variables for this instance.
export function locale (key) {
var newLocaleData;
... | /content/code_sandbox/public/vendor/moment/src/lib/moment/locale.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 217 |
```javascript
import { createLocal } from '../create/local';
import { createUTC } from '../create/utc';
import { createInvalid } from '../create/valid';
import { isMoment } from './constructor';
import { min, max } from './min-max';
import { now } from './now';
import momentPrototype from './prototype';
function creat... | /content/code_sandbox/public/vendor/moment/src/lib/moment/moment.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 146 |
```javascript
import { isMoment } from './constructor';
import { normalizeUnits } from '../units/aliases';
import { createLocal } from '../create/local';
import isUndefined from '../utils/is-undefined';
export function isAfter (input, units) {
var localInput = isMoment(input) ? input : createLocal(input);
if (... | /content/code_sandbox/public/vendor/moment/src/lib/moment/compare.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 512 |
```javascript
import { hooks } from '../utils/hooks';
import hasOwnProp from '../utils/has-own-prop';
import isUndefined from '../utils/is-undefined';
import getParsingFlags from '../create/parsing-flags';
// Plugins that add properties should also add the key here (null value),
// so we can properly clone ourselves.
... | /content/code_sandbox/public/vendor/moment/src/lib/moment/constructor.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 501 |
```javascript
import { createLocal } from '../create/local';
import { cloneWithOffset } from '../units/offset';
import isFunction from '../utils/is-function';
export function calendar (time, formats) {
// We want to compare the start of today, vs this.
// Getting start-of-today depends on whether we're local/u... | /content/code_sandbox/public/vendor/moment/src/lib/moment/calendar.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 227 |
```javascript
import { Moment } from './constructor';
var proto = Moment.prototype;
import { add, subtract } from './add-subtract';
import { calendar } from './calendar';
import { clone } from './clone';
import { isBefore, isBetween, isSame, isAfter, isSameOrAfter, isSameOrBefore } from './compare';
import { diff } f... | /content/code_sandbox/public/vendor/moment/src/lib/moment/prototype.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 1,269 |
```javascript
import { createDuration } from '../duration/create';
import { createLocal } from '../create/local';
import { isMoment } from '../moment/constructor';
export function from (time, withoutSuffix) {
if (this.isValid() &&
((isMoment(time) && time.isValid()) ||
createLocal(time).is... | /content/code_sandbox/public/vendor/moment/src/lib/moment/from.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 127 |
```javascript
import { get, set } from './get-set';
import { setMonth } from '../units/month';
import { createDuration } from '../duration/create';
import { deprecateSimple } from '../utils/deprecate';
import { hooks } from '../utils/hooks';
import absRound from '../utils/abs-round';
// TODO: remove 'name' arg after ... | /content/code_sandbox/public/vendor/moment/src/lib/moment/add-subtract.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 421 |
```javascript
export function creationData() {
return {
input: this._i,
format: this._f,
locale: this._locale,
isUTC: this._isUTC,
strict: this._strict
};
}
``` | /content/code_sandbox/public/vendor/moment/src/lib/moment/creation-data.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 50 |
```javascript
import { deprecate } from '../utils/deprecate';
import isArray from '../utils/is-array';
import { createLocal } from '../create/local';
import { createInvalid } from '../create/valid';
export var prototypeMin = deprecate(
'moment().min is deprecated, use moment.max instead. path_to_url
function... | /content/code_sandbox/public/vendor/moment/src/lib/moment/min-max.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 433 |
```javascript
import { normalizeUnits } from '../units/aliases';
export function startOf (units) {
units = normalizeUnits(units);
// the following switch intentionally omits break keywords
// to utilize falling through the cases.
switch (units) {
case 'year':
this.month(0);
/* falls... | /content/code_sandbox/public/vendor/moment/src/lib/moment/start-end-of.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 358 |
```javascript
import { normalizeUnits } from '../units/aliases';
import { hooks } from '../utils/hooks';
import isFunction from '../utils/is-function';
export function makeGetSet (unit, keepTime) {
return function (value) {
if (value != null) {
set(this, unit, value);
hooks.updateOf... | /content/code_sandbox/public/vendor/moment/src/lib/moment/get-set.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 263 |
```javascript
import { createDuration } from '../duration/create';
import { createLocal } from '../create/local';
import { isMoment } from '../moment/constructor';
export function to (time, withoutSuffix) {
if (this.isValid() &&
((isMoment(time) && time.isValid()) ||
createLocal(time).isVa... | /content/code_sandbox/public/vendor/moment/src/lib/moment/to.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 127 |
```javascript
export function valueOf () {
return this._d.valueOf() - ((this._offset || 0) * 60000);
}
export function unix () {
return Math.floor(this.valueOf() / 1000);
}
export function toDate () {
return this._offset ? new Date(this.valueOf()) : this._d;
}
export function toArray () {
var m = thi... | /content/code_sandbox/public/vendor/moment/src/lib/moment/to-type.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 199 |
```javascript
import absFloor from '../utils/abs-floor';
import { cloneWithOffset } from '../units/offset';
import { normalizeUnits } from '../units/aliases';
export function diff (input, units, asFloat) {
var that,
zoneDelta,
delta, output;
if (!this.isValid()) {
return NaN;
}
... | /content/code_sandbox/public/vendor/moment/src/lib/moment/diff.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 569 |
```javascript
import { configFromISO } from './from-string';
import { configFromArray } from './from-array';
import { getParseRegexForToken } from '../parse/regex';
import { addTimeToArrayFromToken } from '../parse/token';
import { expandFormat, formatTokenFunctions, formattingTokens } from '../format/format';
import... | /content/code_sandbox/public/vendor/moment/src/lib/create/from-string-and-format.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 890 |
```javascript
import { createLocalOrUTC } from './from-anything';
export function createLocal (input, format, locale, strict) {
return createLocalOrUTC(input, format, locale, strict, false);
}
``` | /content/code_sandbox/public/vendor/moment/src/lib/create/local.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 45 |
```javascript
function defaultParsingFlags() {
// We need to deep clone this object.
return {
empty : false,
unusedTokens : [],
unusedInput : [],
overflow : -2,
charsLeftOver : 0,
nullInput : false,
invalidMonth : null,
... | /content/code_sandbox/public/vendor/moment/src/lib/create/parsing-flags.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 142 |
```javascript
import { daysInMonth } from '../units/month';
import { YEAR, MONTH, DATE, HOUR, MINUTE, SECOND, MILLISECOND, WEEK, WEEKDAY } from '../units/constants';
import getParsingFlags from '../create/parsing-flags';
export default function checkOverflow (m) {
var overflow;
var a = m._a;
if (a && getP... | /content/code_sandbox/public/vendor/moment/src/lib/create/check-overflow.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 374 |
```javascript
import extend from '../utils/extend';
import { createUTC } from './utc';
import getParsingFlags from '../create/parsing-flags';
import some from '../utils/some';
export function isValid(m) {
if (m._isValid == null) {
var flags = getParsingFlags(m);
var parsedParts = some.call(flags.pa... | /content/code_sandbox/public/vendor/moment/src/lib/create/valid.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 276 |
```javascript
import { configFromStringAndFormat } from './from-string-and-format';
import { hooks } from '../utils/hooks';
import { deprecate } from '../utils/deprecate';
import getParsingFlags from './parsing-flags';
// iso 8601 regex
// 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000... | /content/code_sandbox/public/vendor/moment/src/lib/create/from-string.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 1,258 |
```javascript
import { copyConfig } from '../moment/constructor';
import { configFromStringAndFormat } from './from-string-and-format';
import getParsingFlags from './parsing-flags';
import { isValid } from './valid';
import extend from '../utils/extend';
// date from string and array of format strings
export function... | /content/code_sandbox/public/vendor/moment/src/lib/create/from-string-and-array.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 335 |
```javascript
import { normalizeObjectUnits } from '../units/aliases';
import { configFromArray } from './from-array';
import map from '../utils/map';
export function configFromObject(config) {
if (config._d) {
return;
}
var i = normalizeObjectUnits(config._i);
config._a = map([i.year, i.month... | /content/code_sandbox/public/vendor/moment/src/lib/create/from-object.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 117 |
```javascript
import { hooks } from '../utils/hooks';
import { createDate, createUTCDate } from './date-from-array';
import { daysInYear } from '../units/year';
import { weekOfYear, weeksInYear, dayOfYearFromWeeks } from '../units/week-calendar-utils';
import { YEAR, MONTH, DATE, HOUR, MINUTE, SECOND, MILLISECOND } fro... | /content/code_sandbox/public/vendor/moment/src/lib/create/from-array.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 1,300 |
```javascript
export function createDate (y, m, d, h, M, s, ms) {
//can't just apply() to create a date:
//path_to_url
var date = new Date(y, m, d, h, M, s, ms);
//the date constructor remaps years 0-99 to 1900-1999
if (y < 100 && y >= 0 && isFinite(date.getFullYear())) {
date.setFullYear(y... | /content/code_sandbox/public/vendor/moment/src/lib/create/date-from-array.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 188 |
```javascript
import isArray from '../utils/is-array';
import isDate from '../utils/is-date';
import map from '../utils/map';
import { createInvalid } from './valid';
import { Moment, isMoment } from '../moment/constructor';
import { getLocale } from '../locale/locales';
import { hooks } from '../utils/hooks';
import c... | /content/code_sandbox/public/vendor/moment/src/lib/create/from-anything.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 694 |
```javascript
import { createLocalOrUTC } from './from-anything';
export function createUTC (input, format, locale, strict) {
return createLocalOrUTC(input, format, locale, strict, true).utc();
}
``` | /content/code_sandbox/public/vendor/moment/src/lib/create/utc.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 47 |
```javascript
export var match1 = /\d/; // 0 - 9
export var match2 = /\d\d/; // 00 - 99
export var match3 = /\d{3}/; // 000 - 999
export var match4 = /\d{4}/; // 0000 - 9999
export var match6 = /[+-]?\d{6}/; // -999999 - 99... | /content/code_sandbox/public/vendor/moment/src/lib/parse/regex.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 777 |
```javascript
import hasOwnProp from '../utils/has-own-prop';
import toInt from '../utils/to-int';
var tokens = {};
export function addParseToken (token, callback) {
var i, func = callback;
if (typeof token === 'string') {
token = [token];
}
if (typeof callback === 'number') {
func = f... | /content/code_sandbox/public/vendor/moment/src/lib/parse/token.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 225 |
```javascript
import absFloor from './abs-floor';
export default function toInt(argumentForCoercion) {
var coercedNumber = +argumentForCoercion,
value = 0;
if (coercedNumber !== 0 && isFinite(coercedNumber)) {
value = absFloor(coercedNumber);
}
return value;
}
``` | /content/code_sandbox/public/vendor/moment/src/lib/utils/to-int.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 76 |
```javascript
export default function map(arr, fn) {
var res = [], i;
for (i = 0; i < arr.length; ++i) {
res.push(fn(arr[i], i));
}
return res;
}
``` | /content/code_sandbox/public/vendor/moment/src/lib/utils/map.js | javascript | 2016-03-03T01:33:10 | 2024-08-16T12:05:02 | Attendize | Attendize/Attendize | 3,955 | 50 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.