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
"use strict"; | |
/** | |
* Source: {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Status} | |
* HTTP response status codes indicate whether a specific HTTP request has been successfully completed. | |
*/ | |
export enum HttpStatusCode { | |
/** | |
* The HTTP 100 Continue informational status response code indicates that everything so far is OK and that the client should continue with the request or ignore it if it is already finished. | |
* To have a server check the request's headers, a client must send Expect: 100-continue as a header in its initial request and receive a 100 Continue status code in response before sending the body. |
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
<res:binder name='facility.(.+?)' /> | |
[[admission.facility.$1]] |
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
<IfModule mod_expires.c> | |
ExpiresActive On | |
ExpiresByType image/jpg "modification" | |
ExpiresByType image/jpeg "modification" | |
ExpiresByType image/gif "modification" | |
ExpiresByType image/png "modification" | |
ExpiresByType text/css "modification" | |
ExpiresByType application/pdf "modification" | |
ExpiresByType text/x-javascript "modification" | |
ExpiresByType application/x-shockwave-flash "modification" |
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
# Check if obj is realy object. | |
# Note: returns 'false' for 'null' | |
# (unlike 'typeof null' which returns 'object') | |
isObject = (obj) -> | |
type = typeof obj | |
type is 'function' || type is 'object' && !!obj | |
# Copy properties from source object | |
# to target object. | |
setProperties = (obj, source) -> |
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
// Query input | |
$tt-typeahead-width = 100% | |
$tt-query-height = 34px | |
$tt-query-shadow = inset 0 1px 1px rgba(0,0,0,0.075) | |
$tt-hint-color = #999 | |
// Dropdown list with data | |
$tt-dropdown-background = #fefefe | |
$tt-dropdown-border-radius = 3px | |
$tt-dropdown-shadow = 0 1px 3px 0 rgba(0,0,0,.2) | |
// Highlighted suggestion |
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
/** | |
* Set positioning properties (top|right|bottom|left). | |
* @param prop-value. String in format "top 10px". | |
*/ | |
.positioning-property(@prop-value) { | |
@property: extract(@prop-value, 1); | |
@value: extract(@prop-value, 2); | |
@{property}: @value; | |
} |