ga-wdi-boston / handlebars Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
- Make sure to note any questions you come acorss and we'll go over them as a class.
+ Make sure to note any questions you come across and we'll go over them as a class.
obvious reasons
Files moved around, so the lab needs the instructions changed.
https://wdi-my-library.herokuapp.com/books
Until moved to .wdibos.com
Add root key when teaching. Show how to access with root.
In the fist lab you have
What is happening in the scripts/index.js file?
the file you are referring to is actually in assets/scripts
:)
Already archived at https://github.com/ga-wdi-boston/handlebars/tree/archive/009-handlebars-client
Salvage issues: https://github.com/ga-wdi-boston/handlebars-client/issues
In the additional resources section at the end of the README, the link for Javascript is Sexy: Handlebars goes to the handlebars documentation (http://handlebarsjs.com/). I was able to find a handlebars write up on Javascript is Sexy that may have been the intended link.
Thanks,
Will
The third party api I am using, this - http://api.adviceslip.com/#object-slip-example, does not work in the deployed version because it has been blocked for not being over https. The error message says -
vendor.js:9678 Mixed Content: The page at 'https://maggicorp.github.io/front-end-full-stack/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://api.adviceslip.com/advice'. This request has been blocked; the content must be served over HTTPS.
Is there any way around this?
Put handlebars templates in their own directory
Unnecessary, and caused confusion last time.
Also makes more similar to htmlbars
Thoughts on opening an issue to reinclude helpers so it won’t be new when they get to ember?
[3:06]
If i remember correctly the argument for removing it was because so little people ended up using helpers, but I left that class before they entered ember week so if people ended up using it as Jeff mentioned maybe it would be useful to add it back.
Note: extension of slack convo with @gaand
Similar to closed issued #14
JS is Sexy link is incorrect and leads to handlebars docs and handelbar docs is not in proper format.
Javascript is Sexy: Handlebars
Handlebars Docs: (http://handlebarsjs.com/)
Should be
"cretivity"
"seperate"
The bullet 'What happens if you move the line that defines showBooksTemplate
?' Should be changed to 'What happens if you comment out the line that defines showBooksTemplate
?' in order to avoid confusion.
- Make a Delete request to the API when the Remove button is clicked and upon success it should remove the book from the page.
+ Make a Delete request to the API when the Remove button is clicked and upon success, it should remove the book from the page.
Should have a comma after success
Since you can't add events before you've rendered the template.
reference ga-wdi-boston/handlebars-client#8
when using helpers
fallback: path.join(__dirname, "helpers")
Tell how handlebars uses safe strings to prevent script injection attacks.
Came up during project 2 for 016 - Bernard inserted alerts
This repo uses .done
and .fail
. Change to .then
and .catch
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.