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
apply plugin: 'com.android.application' | |
android { | |
compileSdkVersion 22 | |
buildToolsVersion "21.1.2" | |
defaultConfig { | |
applicationId "com.ninjakod.mehmetyilmaz.mywallet" | |
minSdkVersion 14 | |
targetSdkVersion 22 |
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
apply plugin: 'com.android.library' | |
android { | |
compileSdkVersion 22 | |
buildToolsVersion "22.0.1" | |
defaultConfig { | |
minSdkVersion 9 | |
targetSdkVersion 22 | |
versionCode 120 | |
versionName "1.2.0" |
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
public static dynamic GetDynamicObject(Dictionary<string,object> properties) { | |
var dynamicObject = new ExpandoObject() as IDictionary<string, Object>; | |
foreach (var property in properties) { | |
dynamicObject.Add(property.Key,property.Value); | |
} | |
return dynamicObject; | |
} |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Bootstrap Example</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link href="css/StyleSheet1.css" rel="stylesheet" /> | |
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script> | |
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet" /> | |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> |
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
function MainSliderTrack() { | |
$('.da-slide').attrchange({ | |
trackValues: true, | |
callback: function (event) { | |
if ($(event.target).hasClass('da-slide-current')) { | |
$('#slider-container').removeClass(); | |
$('#slider-container').addClass('visible-lg-block visible-md-block'); |
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
useEffect(() => { | |
if(_.has(createQuestionRes, 'hasError') && !createQuestionRes.hasError){ | |
history.push(getMenuItem('QA').path); | |
} | |
}, [createQuestionRes]); |
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
const isInitialMount = useRef(true); | |
const createQuestionRes = useSelector( s => s.dialog.createQuestionRes); | |
useEffect(() => { | |
if(isInitialMount.current){ | |
isInitialMount.current = false; | |
}else{ // Trigger useEffect only on update (no in did mount) | |
if(_.has(createQuestionRes, 'hasError') && !createQuestionRes.hasError){ | |
history.push(getMenuItem('QA').path); | |
} |
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
npm i less less-loader react-app-rewired babel-plugin-import customize-cra |
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
"scripts": { | |
"start": "react-app-rewired start", | |
"build": "react-app-rewired build", | |
}, |
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
Show hidden characters
{"plugins": [[ | |
"import", | |
[{ | |
"libraryName": "antd", | |
"style": "css" | |
}] | |
]]} |
OlderNewer