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 Y from 'yjs'; | |
import { proxy } from 'valtio/vanilla'; | |
import { bindProxyAndYMap } from '../src/index'; | |
describe('issue #14', () => { | |
it('nested map direct set', async () => { | |
const doc = new Y.Doc(); | |
const p = proxy({ items: { item1: { color: 'blue' } } }); | |
const m = doc.getMap('map'); |
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
<script type="text/javascript"> | |
var tag = document.createElement("script"); | |
tag.setAttribute("type", "text/javascript"); | |
tag.setAttribute("src", "http://" + window.location.hostname + ":48626/takana.js"); | |
tag.setAttribute("data-project", "eindx-prototype-discover"); | |
document.body.appendChild(tag); | |
</script> |
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
path = require 'path' | |
module.exports = (grunt) -> | |
grunt.initConfig | |
clean: | |
css: 'public/styles/application.css' | |
sass: | |
dist: | |
files: |
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
--- | |
BUNDLE_WITHOUT: test:development | |
BUNDLE_CACHE_ALL: true |
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
// Generates a striped background | |
@function gradient-stops($grid-columns, $color: $visual-grid-color) { | |
$transparent: rgba(0,0,0,0); | |
$column-width: flex-grid(1, $grid-columns); | |
$gutter-width: flex-gutter($grid-columns); | |
$column-offset: $column-width; | |
$values: ($transparent 0, $color 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
<html> | |
<head> | |
<title></title> | |
<link rel="stylesheet" type="text/css" href="page.css"> | |
</head> | |
<body> | |
<article> | |
<header> |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
.fb-login { | |
font-family: "Helvetica Neue"; | |
background: -webkit-linear-gradient(#6F8ECB,#5973AB); | |
padding: 1rem 2rem; | |
box-shadow: inset 0px 1px 3px rgba(255,255,255,0.25), inset 0px -1px 1px rgba(255,255,255,0.25); | |
color: white; |
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
/** | |
* Slider | |
*/ | |
* { | |
margin: 0; | |
padding: 0; | |
} | |
html { |
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 Foursquare | |
def self.table_name_prefix | |
'foursquare_' | |
end | |
def self.config_yml | |
yml = YAML.load File.open(Rails.root.join('config', 'foursquare.yml')).read | |
yml[Rails.env] | |
end |