squirrellyjs / squirrelly

Semi-embedded JS template engine that supports helpers, filters, partials, and template inheritance. 4KB minzipped, written in TypeScript ā›ŗ
https://squirrelly.js.org
MIT License
635 stars 83 forks source link

Add description of js native helper #29

Closed first-timers[bot] closed 6 years ago

first-timers[bot] commented 6 years ago

šŸ†•šŸ„ā˜ First Timers Only.

This issue is reserved for people who never contributed to Open Source before. We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you šŸ’

About First Timers Only.

šŸ¤” What you will need to know.

Nothing. This issue is meant to welcome you to Open Source :) We are happy to walk you through the process.

šŸ“‹ Step by Step

@@ -43,7 +43,7 @@ var nativeHelpers = {
       return ''
     }
   },
-  js: {
+  js: { // The js self-closing helper allows you to inject JavaScript straight into your template function
     selfClosing: function (param) {
       return param + ';'
     }
  1. If you are familiar with the terminal or would like to learn it, here is a great tutorial on how to send a pull request using the terminal.

  2. You can edit files directly in your browser

šŸ¤”ā“ Questions

Leave a comment below!

This issue was created by First-Timers-Bot.

nebrelbug commented 6 years ago

In addition, there needs to be a newline at the end of the file.

vidushi4 commented 6 years ago

Hi, I've created a PR for the same. Please review. Thank you