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
['Baby','Mommy','Daddy','Grandma','Grandpa','Let\'s go hunt',].map((i,f,a)=>{l=a.length-1==f;console.log(`${l?`${i}`:`${i} shark`}, ${'doo, '.repeat(5)}doo\n`.repeat(3)+`${i} ${l?`\nRun away,...`:`shark!`}`)}); |
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
['Baby','Mommy','Daddy','Grandma','Grandpa','Let\'s go hunt',].map((i,f,a)=>{l=a.length-1==f;console.log(`${l?`${i}`:`${i} shark`}, ${'doo, '.repeat(5)}doo\n`.repeat(3)+`${i} ${l?`\nRun away,...`:`shark!`}`)}); |
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
(()=>{ | |
function select() { | |
document.getElementsByClassName('jfk-checkbox-checkmark')[0].click() | |
}; | |
function archive() { | |
function triggerMouseEvent(node, eventType) { | |
let clickEvent = document.createEvent('MouseEvents'); | |
clickEvent.initEvent(eventType, true, true); | |
node.dispatchEvent(clickEvent); |
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
core-toolbar { | |
font-family: RobotoDraft, sans-serif; | |
background-color: #4058A3; | |
box-shadow: 0px 3px 2px rgba(0, 0, 0, 0.2); | |
color: #fff; | |
font-size: 20px; | |
font-weight: 400; | |
height: 42px; | |
} |
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
Show hidden characters
{ | |
"dartsdk_path" : "//PATH//TO//SDK", | |
"dartlint_active" : true, | |
"dartlint_on_load" : true, | |
"dartlint_on_save" : true, | |
"dart_log_level": "debug" | |
} |
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
// Factory is a great place to keep the constructor and instance methods | |
app.factory('User', function() { | |
function User(username, email) { | |
this.username = username; | |
this.email = email; | |
} | |
User.prototype = { | |
printUser: function() { | |
console.log(this.username); | |
}, |