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
<#@ template debug="true" hostspecific="true" language="C#" #> | |
<#@ output extension=".d.ts" #> | |
<# /* Update this line to match your version of SignalR */ #> | |
<#@ assembly name="$(SolutionDir)\packages\Microsoft.AspNet.SignalR.Core.1.0.0-rc1\lib\net40\Microsoft.AspNet.SignalR.Core.dll" #> | |
<# /* Load the current project's DLL to make sure the DefaultHubManager can find things */ #> | |
<#@ assembly name="$(TargetPath)" #> | |
<#@ assembly name="System.Core" #> | |
<#@ assembly name="System.Web" #> | |
<#@ assembly name="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" #> | |
<#@ assembly name="System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" #> |
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
ыапвапывапвап |
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
#include "stdafx.h" | |
#include <stdio.h> | |
# include <stdlib.h> | |
#include <locale.h> | |
void sortq(void* *a1, long n, int(*cmp)(void*, void*)) | |
{ | |
void* p; | |
void* t; | |
int i, j; | |
if (n < 2) /*обязательно */ |
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
#include "stdafx.h" | |
#define _CRT_SECURE_NO_WARNINGS | |
#pragma once | |
#pragma warning(disable:4996) | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <locale.h> | |
#include <string.h> | |
#include <malloc.h> |
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 webpack = require("webpack"); | |
module.exports = { | |
entry: { | |
vendorJquery: ['jquery'], // names of modules (name of module, which u use for import statement in ts/js) | |
vendorReact: ['react', 'react-dom'], // names of modules (name of module, which u use for import statement in ts/js) | |
app: './scripts/app/app.tsx', | |
models: "./scripts/models/country.ts", | |
components: ["./scripts/components/countryTable.tsx", "./scripts/components/countryTableRow.tsx"], | |
}, |
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
// Type definitions for react-dropzone | |
// Project: https://github.com/paramaggarwal/react-dropzone | |
// Definitions by: Mathieu Larouche Dube <https://github.com/matdube> | |
// Definitions: https://github.com/Vooban/DefinitelyTyped | |
///<reference path='../react/react.d.ts' /> | |
declare module ReactDropzone { | |
import React = __React; | |
interface DropzoneProps { |
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 Dropzone from 'react-dropzone'; | |
class DropzoneDemo extends React.Component<{}, {}> { | |
onDrop(files) { | |
console.log('Received files: ', files); | |
} | |
render() { | |
return ( |
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
interface SyncAction { | |
type: any; | |
} | |
interface AsyncAction { | |
(dispatch: (action: SyncAction | AsyncAction)=> any, getState:()=> AppState): void | |
} |
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
export function connect<P,S,T extends constructorof<ElementClass<P,S>>>(mapStateToProps?: MapStateToProps<P>, | |
mapDispatchToProps?: MapDispatchToPropsFunction|MapDispatchToPropsObject, | |
mergeProps?: MergeProps, | |
options?: Options): ClassDecorator<P,S,T>; |
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 { Component } from 'react'; | |
import { Store, Dispatch, ActionCreator } from 'redux'; | |
import { connect as reduxConnect} from 'react-redux'; | |
export class ElementClass<P, S> extends Component<P, S> { } | |
export interface ClassDecorator<P, S, T> { | |
<P, S, T extends constructorof<ElementClass<P, S>>>(component: T): T | |
} | |
interface MapStateToProps<P> { | |
(state: any, ownProps?: any): P; | |
} |
OlderNewer