This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var date = new Date() | |
| var j = date.getDate() | |
| var suf = ['th', 'st', 'nd', 'rd'] | |
| var v = j | |
| var S = (suf[(v-20) % 10] || suf[v] || suf[0]) | |
| var months = ['January','February','March','April','May','June','July','August','September','October','November','December'] | |
| var F = months[date.getMonth()] | |
| var Y = date.getFullYear() | |
| var formatted_date = (F + ' ' + j+S + ', ' + Y) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Type definitions for bootstrap-tour | |
| // Project: https://github.com/sorich87/bootstrap-tour/ | |
| // Definitions by: Matthew Palmer <https://github.com/mpalmr/> | |
| // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | |
| /** | |
| * @namespace bootstrap-tour | |
| */ | |
| declare module "bootstrap-tour" { | |
| import jQuery = require("jquery"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import * as d3 from "d3"; | |
| export default class Chart { | |
| private elements: Array<Element>; | |
| constructor(target: string|Element|NodeList) { | |
| this.elements = Chart.parseTarget(target); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var myApp = (function (app, $) { | |
| 'use strict'; | |
| app.modules = app.modules || {}; | |
| app.modules.myModule = { | |
| foo: 1, | |
| bar: 2, | |
| baz: 3, | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .item { | |
| padding: 0 18px; | |
| border-top: 1px solid #ccc; | |
| } | |
| .item:first-of-type { | |
| border-top: 0; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $mobile-dimensions: min-width 320px max-width 480px | |
| $mobile-portrait: new-breakpoint($mobile-min $mobile-max orientation portait 6) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @import "../vendor/neat/neat-helpers" | |
| // Mobile Phones | |
| $mobile: new-breakpoint(min-width 320px max-width 480px) | |
| $mobile-portrait: new-breakpoint(max-width 320px) | |
| $mobile-landscape: new-breakpoint(min-width 321px) | |
| // Tablets | |
| $tablet: new-breakpoint(min-width 768px max-width 1024px) | |
| //$tablet-portrait: |
NewerOlder