This file contains 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
// Errors on line 12 | |
// Operator '!==' cannot be applied to types 'boolean' and 'View'. | |
class Server { | |
currentView: View; | |
manualView: ManualView; | |
private showViewCommand(view: View, data?: string) { | |
let oldView = this.currentView; | |
this.currentView = view; |
This file contains 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
var loadData : function( urlEndpoint, callback ){ | |
var fullPath = this.baseUrl + urlEndpoint, | |
encodedString = utf8ToBase64( fullPath ), | |
$deferred; | |
if( typeof fbiApiHelper.cacheData[ encodedString ] !== 'undefined' ){ | |
if( typeof fbiApiHelper.cacheData[ encodedString ].readyState !== 'undefined' ){ | |
// XHR object, do as ususal | |
fbiApiHelper.cacheData[ encodedString ].done( function( response ){ | |
callback.call( this, response ); |
This file contains 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
.clear-nth( @selector, @n, @currentSelector: '', @i: 1 ) when ( mod( @i, @n + 1 ) = 0 ) and ( @i < 100 ){ | |
@updatedSelector: e( '@{currentSelector} + @{selector}' ); | |
@{updatedSelector} { | |
clear: both; | |
} | |
.clear-nth( @selector, @n, @updatedSelector, ( @i + 1 ) ); | |
} |
This file contains 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
@mixin customFluid($start, $end, $startValue, $endValue) { | |
$diff: $end - $start; | |
$valueDiff: $endValue - $startValue; | |
@for $i from 1 through $diff { | |
$currentStep: $diff - $i; | |
$currentValue: $endValue - ( $valueDiff / $diff ) * $currentStep; | |
@media (max-width: 800px + $currentStep) { | |
#start-page { | |
width: $currentValue; | |
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.