Skip to content

Commit

Permalink
General project cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
wyze committed Apr 3, 2017
1 parent d79a251 commit d08ec46
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 17 deletions.
1 change: 0 additions & 1 deletion __tests__/reductive/store_test.re
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ describe "store" (fun _ => {
expect actual |> toEqual expected;
});

/* TODO: Review this behavior */
test "reducer handles Add action after Equals action" (fun _ => {
let state: Store.state = {
operations: [
Expand Down
2 changes: 1 addition & 1 deletion bsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "reasonable",
"name": "reason-calculator",
"reason": {
"react-jsx": true
},
Expand Down
5 changes: 5 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# reason-calculator

[![Website][website-image]][website-url]
[![Build Status][travis-image]][travis-url]
[![dependencies][deps-image]][deps-url]
[![devDependencies][depsdev-image]][depsdev-url]

Expand Down Expand Up @@ -45,6 +46,10 @@ MIT © [Neil Kistner](https://neilkistner.com)
[website-image]: https://img.shields.io/website-up-down-green-red/https/reason-calculator.surge.sh.svg?style=flat-square
[website-url]: https://reason-calculator.surge.sh

[travis-image]: https://img.shields.io/travis/wyze/reason-calculator.svg?style=flat-square
[travis-url]: https://travis-ci.org/wyze/reason-calculator


[deps-image]: https://img.shields.io/david/wyze/reason-calculator.svg?style=flat-square
[deps-url]: https://david-dm.org/wyze/reason-calculator

Expand Down
2 changes: 1 addition & 1 deletion src/components/OperationButton.re
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module OperationButton = {
};

let operator: string =
Styles.className (Styles.make background::"#ff8754" ());
Styles.make background::"#ff8754" () |> Styles.className;
let button className =>
Styles.merge [
Styles.button,
Expand Down
7 changes: 0 additions & 7 deletions src/reductive/operation.re
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@ type model = {
total: int,
};

/* (() -> 'a) -> (() -> 'a) -> list model -> 'a */
let isEmpty yes no lst =>
switch lst {
| [] => yes ()
| _ => no ()
};

/* string -> string -> Action.model -> int -> model */
let create left right symbol total =>
{ key: Random.bits () |> Util.toString, left, right, symbol, total };
Expand Down
7 changes: 0 additions & 7 deletions src/styles/styles.re
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,6 @@ let button: string =
flex::"25%"
fontSize::"1.5em"
lineHeight::"2"
/*fontWeight::"700"*/
outline::"none"
/*textAlign::"center"*/
/*textTransform::"uppercase"*/
/*-webkit-appearance: none;
-webkit-font-smoothing: antialiased;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);*/
/*width::"25%"*/
()
);

0 comments on commit d08ec46

Please sign in to comment.