This library is still VERY incomplete. Do not use this yet.
Tablr is a lightweight, dependancy free, easy to use data table library.
@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: |
$mobile-dimensions: min-width 320px max-width 480px | |
$mobile-portrait: new-breakpoint($mobile-min $mobile-max orientation portait 6) |
.item { | |
padding: 0 18px; | |
border-top: 1px solid #ccc; | |
} | |
.item:first-of-type { | |
border-top: 0; | |
} |
var myApp = (function (app, $) { | |
'use strict'; | |
app.modules = app.modules || {}; | |
app.modules.myModule = { | |
foo: 1, | |
bar: 2, | |
baz: 3, | |
/** |
import * as d3 from "d3"; | |
export default class Chart { | |
private elements: Array<Element>; | |
constructor(target: string|Element|NodeList) { | |
this.elements = Chart.parseTarget(target); | |
} |
// 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"); |
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.selectedTokens = m.prop(Array.from(Array(this.tokens().length)) | |
.map(() => m.prop())); |
This library is still VERY incomplete. Do not use this yet.
Tablr is a lightweight, dependancy free, easy to use data table library.