This is the model heirarchy i had envision in scala..
/* Anything that is an epixa resource */
trait ResourceLike {
val $promise
def $reload
...
}| (function(){ | |
| var root = angular.element(document.body).injector().get('$rootScope'); | |
| function children(scope) { | |
| var arr = []; | |
| var head = scope.$$childHead; | |
| if (head) { | |
| arr.push(head); | |
| ir = head.$$nextSibling; | |
| while(ir) { |
| source 'https://rubygems.org' | |
| git_source(:github) do |repo_name| | |
| repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/") | |
| "https://github.com/#{repo_name}.git" | |
| end | |
| # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
| gem 'rails', '~> 5.1.3' |
Simple, minimalist design that focuses on the product. Shouldn't look like this: https://www.zazzle.com/create_your_own_paper_cup-256219456465905357
| <html> | |
| <!-- | |
| This example demonstrates Swiftype's App Search using a jQuery based | |
| auto-complete library, https://github.com/devbridge/jQuery-Autocomplete. | |
| --> | |
| <head> | |
| <style> | |
| body { | |
| display: flex; |
| const debounce = (() => { | |
| let wasCalled = false; | |
| let fn = null; | |
| return newFn => { | |
| fn = newFn; | |
| if (!wasCalled) { | |
| wasCalled = true; | |
| setTimeout(() => { |
| <StickyFacets> | |
| {({ facets }) => ( | |
| <React.Fragment> | |
| <Facet | |
| facets={facets} | |
| field="date_established" | |
| label="Date Established" | |
| view={SingleRangeSelectFacet} | |
| /> | |
| <Facet |
| import React from "react"; | |
| import AppSearchAPIConnector from "@elastic/search-ui-app-search-connector"; | |
| import { | |
| Facet, | |
| SearchProvider, | |
| SearchBox, | |
| Results, | |
| PagingInfo, | |
| ResultsPerPage, | |
| Paging |