Submit Search
Upload
Coffee script part 2
•
1 like
•
185 views
max peng
Follow
Coffeescript advanced; High order function;
Read less
Read more
Software
Report
Share
Report
Share
1 of 16
Download now
Download to read offline
Recommended
HOW TO EXTEND WEBPACK WITH YOUR OWN PLUGINS
HOW TO EXTEND WEBPACK WITH YOUR OWN PLUGINS
DevClub_lv
Visual Studio App Center: React Native A/B Testing
Visual Studio App Center: React Native A/B Testing
John M. Wargo
sampa.js start
sampa.js start
Thiago Avelino
Annotation processing
Annotation processing
Felipe Theodoro
QA to sous-Chef
QA to sous-Chef
Sajnikanth Suriyanarayanan
Introduction to saucelabs
Introduction to saucelabs
Sajnikanth Suriyanarayanan
Managing frontend libs in your php project
Managing frontend libs in your php project
Massimiliano Arione
freeCodeCamp Tokyo meetup 19
freeCodeCamp Tokyo meetup 19
健太 田上
Recommended
HOW TO EXTEND WEBPACK WITH YOUR OWN PLUGINS
HOW TO EXTEND WEBPACK WITH YOUR OWN PLUGINS
DevClub_lv
Visual Studio App Center: React Native A/B Testing
Visual Studio App Center: React Native A/B Testing
John M. Wargo
sampa.js start
sampa.js start
Thiago Avelino
Annotation processing
Annotation processing
Felipe Theodoro
QA to sous-Chef
QA to sous-Chef
Sajnikanth Suriyanarayanan
Introduction to saucelabs
Introduction to saucelabs
Sajnikanth Suriyanarayanan
Managing frontend libs in your php project
Managing frontend libs in your php project
Massimiliano Arione
freeCodeCamp Tokyo meetup 19
freeCodeCamp Tokyo meetup 19
健太 田上
Front End Development Workflow Tools
Front End Development Workflow Tools
Ahmed Elmehri
Nodejs
Nodejs
Ahmed Elmehri
Extending Gradle
Extending Gradle
Rene Gröschke
Std12 Chapter-1 Creating HTML Forms Using Kompozer
Std12 Chapter-1 Creating HTML Forms Using Kompozer
Ghanshyam Thakar
Django Deployer
Django Deployer
Colin Su
OpenText MBPM Q&A Webinar
OpenText MBPM Q&A Webinar
convedo Group
MJML API @ Paris API
MJML API @ Paris API
Julien Ernewein
Frontend asset management with Bower and Gulp.js
Frontend asset management with Bower and Gulp.js
Renan Gonçalves
NativeScript: mobile app. no webview.
NativeScript: mobile app. no webview.
Tomek Sułkowski
Cheap ci for javascript devs
Cheap ci for javascript devs
Kleyson Prado
Agile Systems Admin
Agile Systems Admin
Julian Simpson
Javantura - Object Oriented Programming in the Enterprise
Javantura - Object Oriented Programming in the Enterprise
Nicolas Fränkel
Migrating your Magento Frontend Skills to Magento 2
Migrating your Magento Frontend Skills to Magento 2
Arjen Miedema
Beginning Coding Vocabulary for Elementary Students
Beginning Coding Vocabulary for Elementary Students
Kimberly Bushman
Roberta randazzo gnulinuxmeeting 2016
Roberta randazzo gnulinuxmeeting 2016
Roberta Randazzo
Blog phrasal verbs
Blog phrasal verbs
Jenny Rojas
SelvaResume
SelvaResume
selvaganapathy chokkalingam
Abdul Aziz alhasni CV
Abdul Aziz alhasni CV
Abdulaziz Alhasani
TDC 2016 Trilha Testes - Floripa
TDC 2016 Trilha Testes - Floripa
Walmyr Lima e Silva Filho
Emerging Networking Technologies for Industrial Applications
Emerging Networking Technologies for Industrial Applications
Prasant Misra
Mahmoud Samy CV - IT Web Developer
Mahmoud Samy CV - IT Web Developer
Mahmoud Samy
Usando mind maps no planejamento de testes - TDC 2015
Usando mind maps no planejamento de testes - TDC 2015
Gabriel Oliveira
More Related Content
What's hot
Front End Development Workflow Tools
Front End Development Workflow Tools
Ahmed Elmehri
Nodejs
Nodejs
Ahmed Elmehri
Extending Gradle
Extending Gradle
Rene Gröschke
Std12 Chapter-1 Creating HTML Forms Using Kompozer
Std12 Chapter-1 Creating HTML Forms Using Kompozer
Ghanshyam Thakar
Django Deployer
Django Deployer
Colin Su
OpenText MBPM Q&A Webinar
OpenText MBPM Q&A Webinar
convedo Group
MJML API @ Paris API
MJML API @ Paris API
Julien Ernewein
Frontend asset management with Bower and Gulp.js
Frontend asset management with Bower and Gulp.js
Renan Gonçalves
NativeScript: mobile app. no webview.
NativeScript: mobile app. no webview.
Tomek Sułkowski
Cheap ci for javascript devs
Cheap ci for javascript devs
Kleyson Prado
Agile Systems Admin
Agile Systems Admin
Julian Simpson
Javantura - Object Oriented Programming in the Enterprise
Javantura - Object Oriented Programming in the Enterprise
Nicolas Fränkel
Migrating your Magento Frontend Skills to Magento 2
Migrating your Magento Frontend Skills to Magento 2
Arjen Miedema
Beginning Coding Vocabulary for Elementary Students
Beginning Coding Vocabulary for Elementary Students
Kimberly Bushman
What's hot
(14)
Front End Development Workflow Tools
Front End Development Workflow Tools
Nodejs
Nodejs
Extending Gradle
Extending Gradle
Std12 Chapter-1 Creating HTML Forms Using Kompozer
Std12 Chapter-1 Creating HTML Forms Using Kompozer
Django Deployer
Django Deployer
OpenText MBPM Q&A Webinar
OpenText MBPM Q&A Webinar
MJML API @ Paris API
MJML API @ Paris API
Frontend asset management with Bower and Gulp.js
Frontend asset management with Bower and Gulp.js
NativeScript: mobile app. no webview.
NativeScript: mobile app. no webview.
Cheap ci for javascript devs
Cheap ci for javascript devs
Agile Systems Admin
Agile Systems Admin
Javantura - Object Oriented Programming in the Enterprise
Javantura - Object Oriented Programming in the Enterprise
Migrating your Magento Frontend Skills to Magento 2
Migrating your Magento Frontend Skills to Magento 2
Beginning Coding Vocabulary for Elementary Students
Beginning Coding Vocabulary for Elementary Students
Viewers also liked
Roberta randazzo gnulinuxmeeting 2016
Roberta randazzo gnulinuxmeeting 2016
Roberta Randazzo
Blog phrasal verbs
Blog phrasal verbs
Jenny Rojas
SelvaResume
SelvaResume
selvaganapathy chokkalingam
Abdul Aziz alhasni CV
Abdul Aziz alhasni CV
Abdulaziz Alhasani
TDC 2016 Trilha Testes - Floripa
TDC 2016 Trilha Testes - Floripa
Walmyr Lima e Silva Filho
Emerging Networking Technologies for Industrial Applications
Emerging Networking Technologies for Industrial Applications
Prasant Misra
Mahmoud Samy CV - IT Web Developer
Mahmoud Samy CV - IT Web Developer
Mahmoud Samy
Usando mind maps no planejamento de testes - TDC 2015
Usando mind maps no planejamento de testes - TDC 2015
Gabriel Oliveira
The constrained application protocol (CoAP)
The constrained application protocol (CoAP)
Hamdamboy (함담보이)
Generative junji
Generative junji
Mitsuhisa Ohta
WSO2 Data Analytics Server - Product Overview
WSO2 Data Analytics Server - Product Overview
WSO2
The person I admire
The person I admire
NatashaLooL
Micro services Architecture with Vortex -- Part I
Micro services Architecture with Vortex -- Part I
Angelo Corsaro
AS Macro Revision: Macro Objectives and Conflicts
AS Macro Revision: Macro Objectives and Conflicts
tutor2u
APIdays 2016 - The State of Web API Languages
APIdays 2016 - The State of Web API Languages
Restlet
Viewers also liked
(15)
Roberta randazzo gnulinuxmeeting 2016
Roberta randazzo gnulinuxmeeting 2016
Blog phrasal verbs
Blog phrasal verbs
SelvaResume
SelvaResume
Abdul Aziz alhasni CV
Abdul Aziz alhasni CV
TDC 2016 Trilha Testes - Floripa
TDC 2016 Trilha Testes - Floripa
Emerging Networking Technologies for Industrial Applications
Emerging Networking Technologies for Industrial Applications
Mahmoud Samy CV - IT Web Developer
Mahmoud Samy CV - IT Web Developer
Usando mind maps no planejamento de testes - TDC 2015
Usando mind maps no planejamento de testes - TDC 2015
The constrained application protocol (CoAP)
The constrained application protocol (CoAP)
Generative junji
Generative junji
WSO2 Data Analytics Server - Product Overview
WSO2 Data Analytics Server - Product Overview
The person I admire
The person I admire
Micro services Architecture with Vortex -- Part I
Micro services Architecture with Vortex -- Part I
AS Macro Revision: Macro Objectives and Conflicts
AS Macro Revision: Macro Objectives and Conflicts
APIdays 2016 - The State of Web API Languages
APIdays 2016 - The State of Web API Languages
Recently uploaded
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
Christoph Pohl
Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...
Rob Geurden
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
BrainSell Technologies
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
Technogeeks
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Natan Silnitsky
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
OnePlan Solutions
Advantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your Business
Envertis Software Solutions
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
Akihiro Suda
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their Engineering
Hironori Washizaki
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
smiwainfosol
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
StefanoLambiase
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive Goal
Lionel Briand
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
Velvetech LLC
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Angel Borroy López
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
Diego Iván Oliveros Acosta
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
Hanief Utama
Post Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on Identity
team-WIBU
Large Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and Repair
Lionel Briand
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Cizo Technology Services
MYjobs Presentation Django-based project
MYjobs Presentation Django-based project
AnoyGreter
Recently uploaded
(20)
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
Simplifying Microservices & Apps - The art of effortless development - Meetup...
Simplifying Microservices & Apps - The art of effortless development - Meetup...
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Advantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your Business
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their Engineering
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive Goal
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
Post Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on Identity
Large Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and Repair
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
MYjobs Presentation Django-based project
MYjobs Presentation Django-based project
Coffee script part 2
1.
COFFEESCRIPT Max Peng @make_dream hwpeng@thoughtworks.com P a
r t t w o - a d v a n c e d
2.
ANGULAR SERVICES 2
3.
CONTROLLER & SERVICE
IN JAVASCRIPT 3
4.
CONTROLLER & SERVICE
IN COFFEESCRIPT 4
5.
CONTROLLER & SERVICE
IN COFFEESCRIPT 2 5
6.
CONTROLLER & SERVICE
IN COFFEESCRIPT 3.1 6
7.
CONTROLLER & SERVICE
IN COFFEESCRIPT 3.2 7
8.
DIRECTIVE Find out answer
here: 8
9.
AOP 9
10.
DECORATOR FROM PYTHON 10
11.
HOW CAN WE
DO IT IN JAVASCRIPT 11
12.
LOGGER CLASS 12
13.
LOGGER DECORATOR 13
14.
HOW TO USE
LOGGER 14
15.
THANKS 15
16.
REFERENCES 16 http://greengerong.com/blog/2015/09/12/coffeescriptban- ngcomponentfeng-zhuang/ http://greengerong.com/blog/2015/09/22/coffeescript-shi-xian-python- zhuang-huang-qi/ https://docs.angularjs.org/guide/di https://en.wikipedia.org/wiki/Higher-order_function https://en.wikipedia.org/wiki/Currying
Download now