selector {
property: value;
}
- Each selector is on its own line.
require "sinatra/base" | |
require "sinatra/namespace" | |
require "multi_json" | |
require "api/authentication" | |
require "api/error_handling" | |
require "api/pagination" | |
module Api | |
class Base < ::Sinatra::Base |
class InsetTextField < UITextField | |
attr :edgeInsets | |
def init | |
initWithFrame(CGRectZero) | |
end | |
def initWithFrame(frame) | |
super.tap do | |
@edgeInsets = [0, 0, 0, 0] |
{ | |
"red": { | |
"50": "#ffebee", | |
"100": "#ffcdd2", | |
"200": "#ef9a9a", | |
"300": "#e57373", | |
"400": "#ef5350", | |
"500": "#f44336", | |
"600": "#e53935", | |
"700": "#d32f2f", |
defmodule ScoutApm.Absinthe.Plug do | |
alias ScoutApm.Internal.Layer | |
def init(default), do: default | |
def call(conn, _default) do | |
ScoutApm.TrackedRequest.start_layer("Controller", action_name(conn)) | |
conn | |
|> Plug.Conn.register_before_send(&before_send/1) |
import { FC } from 'react'; | |
/** | |
* Utilities to make Typescript happy wrapping Zeego components with Tamagui's | |
* styled() components. These utils do nothing except assign Typescript types. | |
* | |
* Makes the following props optional and of `unknown` type: | |
* - children | |
* - key | |
* |