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
| commit 15dcbaeee002f7236165fdf19710d22e82eac1bf | |
| Author: Jeff Fowler <jeff.fowler@peakon.com> | |
| Date: Mon Jan 15 11:21:54 2018 +0100 | |
| add alias test to attribute service | |
| diff --git a/tests/services/attribute/index.spec.js b/tests/services/attribute/index.spec.js | |
| index 8f179a62d..74720ac11 100644 | |
| --- a/tests/services/attribute/index.spec.js | |
| +++ b/tests/services/attribute/index.spec.js |
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
| Running "mochaTest:test" (mochaTest) task | |
| The topic model | |
| when retrieving titles woot | |
| on a driver topic | |
| ✓ should have a _title after memoization | |
| on an open-ended topic | |
| ✓ should have a _title after memoization | |
| on a value topic |
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
| Running "mochaTest:test" (mochaTest) task | |
| The topic model | |
| when retrieving titles woot | |
| on a driver topic | |
| ✓ should have a _title after memoization | |
| on an open-ended topic | |
| 1) should have a _title after memoization | |
| on a value topic |
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
| diff --git a/features.json b/features.json | |
| index 8f8bb4eb1..0fbb60c34 100644 | |
| --- a/features.json | |
| +++ b/features.json | |
| @@ -114,7 +114,7 @@ | |
| "key": "topicsExport", | |
| "name": "Topics Export", | |
| "criterias": { | |
| - "environment": "staging" | |
| + "environment": "production" |
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
| diff --git a/package.json b/package.json | |
| index 8ebfd6e6e..80500d61f 100644 | |
| --- a/package.json | |
| +++ b/package.json | |
| @@ -213,6 +213,7 @@ | |
| "heroku-postbuild": "node buildApps.js && grunt build && npm run dry-run && grunt rollbar-upload", | |
| "dry-run": "node dry-run.js", | |
| "lint": "./node_modules/.bin/lint-staged .", | |
| + "lint-apps": "cd apps && npm run lint:js", | |
| "ci": "NODE_ENV=test node ./node_modules/.bin/nyc --reporter=lcov grunt ci", |
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
| commit ac0b485745b3c819d4930ed01341531e04415030 | |
| Author: Jeff Fowler <jeff.fowler@peakon.com> | |
| Date: Fri Dec 22 13:34:47 2017 +0100 | |
| Adds lint-staged package | |
| This package runs the precommit linting hook only on staged js files, | |
| instead of on all files. | |
| Often I'll have many junky debuggery changes lying around that are not |
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
| const first = (i) => i ? i[0] : zero() | |
| const rest = (i) => i ? i.slice(1,i.length) : zero() | |
| function Result(v,i) { return {v, i} } | |
| // Parsers: functions that return a Result<match, remaining_input> or an error | |
| const zero = async (i) => { throw "zero" }; | |
| const item = async (i) => new Result(first(i), rest(i)); | |
| const result = (v) => async i => new Result(v, i); |
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
| ; ModuleID = 'hello' | |
| source_filename = "hello" | |
| target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" | |
| target triple = "x86_64-apple-darwin-unknown" | |
| %Allocator = type { void ({ i16, %"[]u8" }*, %Allocator*, i64, i64)*, void ({ i16, %"[]u8" }*, %Allocator*, %"[]u8"*, i64, i64)*, void (%Allocator*, %"[]u8"*)* } | |
| %"[]u8" = type { i8*, i64 } | |
| %File = type { i32 } | |
| %"[]&u8" = type { i8**, i64 } | |
| %OutStream = type { i16 (%OutStream*, %"[]u8"*)* } |
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
| const warn = @import("std").debug.warn; | |
| fn dangle1() -> &u8 { | |
| var x: u8 = 5; | |
| &x | |
| } | |
| fn dangle2() -> &u8 { | |
| var x: u8 = 5; | |
| const y: &u8 = &x; |
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
| class Derp | |
| def [](x) | |
| "lol whut" | |
| end | |
| end | |
| d = Derp.new | |
| p d[0] // "lol whut" |