1 | if snippet.type == 9 or snippet.type == 17 then |
2 | if not endsWith(snippet.text, 'return true') then |
3 | return {'append-line', 'return true'}
|
4 | end |
5 | end |
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
| ID | Author/Program | Comment | Date |
|---|---|---|---|
| 223 | #1000604 (pitcher) | 2015-08-18 00:51:43 | |
| 214 | #1000610 (pitcher) | Edit suggestion: !636 !629 main { static Object androidContext; static String programID; public static void main(String[] args) throws Exception { if snippet.type == 9 or snippet.type == 17 then if not endsWith(snippet.text, 'return true') then return {'append-line', 'return true'} end end }} | 2015-08-18 00:51:21 |
| Recognizer | Recognition Result | Visualize | Recalc |
|---|---|---|---|
| #308 | 155 | [visualize] |
| Snippet ID: | #168 |
| Snippet name: | "return true" suggester |
| Eternal ID of this version: | #168/1 |
| Text MD5: | d6ec8c72ea4ffa4afd6a8616b5f8b833 |
| Author: | stefan |
| Category: | |
| Type: | Lua code - Suggester |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2014-01-15 02:22:32 |
| Source code size: | 155 bytes / 5 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 6824 / 279 |
| Referenced in: | [show references] |