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
| how do you cast the result of the following call to the Type of Slideshow ?, please: | |
| getSlideshows():FirebaseListObservable<Slideshow> { | |
| return this._af.database.list('/slideshows', {}) // returns type: | |
| } | |
| error: | |
| Type 'FirebaseListObservable<any[]>' cannot be converted to type 'Slideshow'. |
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
| I have the following class which should represent one Collection in Firebase: | |
| ``` | |
| export class Slideshow { | |
| index: number; | |
| name: string; | |
| slides; | |
| } | |
| ``` | |
| When I click a list of Slideshows , one slideshow is set as selected slideshow. |
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
| var test = { | |
| autoplay: true, | |
| dots: true, | |
| slidesToShow:1 | |
| }; | |
| /*var test2 = { | |
| accessibility:true | |
| adaptiveHeight:false | |
| arrows: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
| Process: Maschine 2 [1011] | |
| Path: /Applications/Native Instruments/*/Maschine 2.app/Contents/MacOS/Maschine 2 | |
| Identifier: com.native-instruments.Maschine 2 | |
| Version: 2.5.0 [R5213] (2.5.0 [R5213], Copyright © 2016 Native Instruments GmbH) | |
| Code Type: X86-64 (Native) | |
| Parent Process: ??? [1] | |
| Responsible: Maschine 2 [1011] | |
| User ID: 501 | |
| Date/Time: 2016-10-09 14:31:48.554 +0200 |
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
| when I try this : | |
| <link href="{{ ['assets/scss/theme.scss'] | theme }}" rel="stylesheet"> | |
| I get : | |
| /* preg_match() expects parameter 2 to be string, array given */ | |
| whats wrong ? | |
| related: | |
| https://octobercms.com/docs/markup/filter-theme |
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
| # DOWNLOADS | |
| liner_services_downloads: | |
| label: Liner Services Downloads | |
| type: repeater | |
| tab: Downloads | |
| form: | |
| fields: | |
| title: | |
| default: Document | |
| placeholder: The title of the document |
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 React from "react"; | |
| export interface CommentFormProps { } | |
| export interface CommentFormAppState {author:any,text:any } | |
| export class CommentForm extends React.Component<CommentFormProps, CommentFormAppState>{ | |
| constructor(props: any) { | |
| super(props); |
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
| handleAuthorChange(e) { | |
| this.setState({ author: e.target.value }); | |
| } | |
| [ts] | |
| Argument of type '{ author: any; }' is not assignable to parameter of type 'CommentFormAppState'. | |
| Property 'text' is missing in type '{ author: any; }'. | |
| (property) author: any |
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 React from "react"; | |
| import * as ReactDOM from "react-dom"; | |
| import { CommentForm } from "./CommentForm"; | |
| import { CommentList } from "./CommentList"; | |
| declare let $:any; | |
| export interface CommentBoxProps { data:any, url:any, pollInterval:any } | |
| interface AppState { data:any} |
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
| @font-face { | |
| font-family: Grotesk; | |
| src: url(wp-content/themes/lay-child/Akzidenz_Grotesk_CE_Roman.ttf); | |
| } | |
| #maquee_text { | |
| font-family: Grotesk !important; | |
| } |