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 cx from "clsx" | |
import { useEffect, useState } from "react" | |
import * as TabsPrimitive from "@radix-ui/react-tabs" | |
import { Icon } from "~/components/icon" | |
import { Select } from "~/components/select" | |
import { isNotEmpty } from "~/util" | |
import styles from "./styles.css" | |
/** | |
* |
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
(function (w) { | |
w.Yarder = { | |
Models : {}, | |
Views : {}, | |
Collections : {}, | |
Routers : {}, | |
Templates : {}, | |
Api : { | |
Resources : {} |
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
module.exports = function (grunt) { | |
grunt.initConfig({ | |
pkg : '<json:package.json>', | |
meta : { | |
banner : '// <%= pkg.name %>, v<%= pkg.version %> (<%= grunt.template.today("yyyy-mm-dd") %>)\n' + | |
'// https://github.com/ryexley/yarder\n' | |
}, |
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
(function(c, api, util) { | |
c.FilterableCollection = function (collection) { | |
var filtered = new collection.constructor(); | |
// Expects an object/hash argument that looks like the following example: | |
// criteria : { value : 'stringToSearchFor', fields : ['field1', 'field2'] } | |
filtered.filterLike = function (criteria) { | |
var items; | |
var match; |
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
(function (w) { | |
w.SortableCollection = Backbone.Collection.extend({ | |
initialize : function () { | |
_.bindAll(this); | |
}, | |
sortInfo : [], | |
comparator : function (a, b) { |