Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd1fd8fc

Browse files
committed
style fixes for windows
1 parent7dfd637 commitd1fd8fc

File tree

9 files changed

+10
-8
lines changed

9 files changed

+10
-8
lines changed
File renamed without changes.

‎lib/components/Start/Welcome/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
varReact=require('react');
33
varpath_1=require('path');
44
varindex_1=require('../../index');
5-
varimagePath=path_1.resolve(__dirname,'../../../../','styles','coderoad.jpg');
5+
varimagePath=path_1.join(__dirname,'../../../../','img','coderoad.jpg');
66
varstyles={
77
backgroundImage:"url(\""+imagePath+"\")",
88
backgroundRepeat:'no-repeat',

‎lib/components/Tutorials/LoadTutorials/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var LoadTutorials = (function (_super) {
2323
_super.apply(this,arguments);
2424
}
2525
LoadTutorials.prototype.render=function(){
26-
return(React.createElement(FlatButton_1.default,{style:{margin:'0 90px'},label:'Check for Tutorials',secondary:true,onTouchTap:this.props.tutorialsFind}));
26+
return(React.createElement(FlatButton_1.default,{label:'Check for Tutorials',secondary:true,onTouchTap:this.props.tutorialsFind}));
2727
};
2828
LoadTutorials=__decorate([
2929
react_redux_1.connect(null,function(dispatch){

‎lib/components/Tutorials/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ var UpdateTutorial_1 = require('./UpdateTutorial');
66
varSelectTutorial_1=require('./SelectTutorial');
77
varstyles={
88
padding:'10px',
9+
textAlign:'center',
910
};
1011
exports.Tutorials=function(_a){
1112
vartutorials=_a.tutorials;

‎src/components/Start/Welcome/index.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import*asReactfrom'react';
2-
import{resolve}from'path';
2+
import{join}from'path';
33
import{RouteButton}from'../../index';
4+
import{store}from'../../../store';
45

5-
constimagePath=resolve(
6-
__dirname,'../../../../','styles','coderoad.jpg'
6+
constimagePath=join(
7+
__dirname,'../../../../','img','coderoad.jpg'
78
);
89

910
conststyles={

‎src/components/Tutorials/LoadTutorials/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ export class LoadTutorials extends React.Component<{
1414
render(){
1515
return(
1616
<FlatButton
17-
style={{margin:'0 90px'}}
1817
label='Check for Tutorials'
1918
secondary={true}
2019
onTouchTap={this.props.tutorialsFind}

‎src/components/Tutorials/SelectTutorial/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function displayName(name: string): string {
2525
};
2626
})
2727
exportclassSelectTutorialextendsReact.Component<{
28-
tutorial:CR.Tutorial,selectTutorial?:any
28+
tutorial:Tutorial.Info,selectTutorial?:any
2929
},{}>{
3030
render(){
3131
const{tutorial, selectTutorial}=this.props;

‎src/components/Tutorials/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {SelectTutorial} from './SelectTutorial';
88

99
conststyles={
1010
padding:'10px',
11+
textAlign:'center',
1112
};
1213

1314
exportconstTutorials:React.StatelessComponent<{

‎src/typings/cr/tutorial.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
declarenamespaceTutorial{
22
interfaceInfo{
3-
title:string;
3+
name:string;
44
version:string;
55
latest?:boolean;
66
description?:string;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp