Skip to content

Commit

Permalink
Modifying code to fit Eta
Browse files Browse the repository at this point in the history
  • Loading branch information
nebrelbug committed Mar 24, 2020
1 parent 8b2432b commit a13b7bc
Show file tree
Hide file tree
Showing 54 changed files with 1,758 additions and 3,869 deletions.
4 changes: 2 additions & 2 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
}
],
"contributorsPerLine": 7,
"projectName": "squirrelly",
"projectOwner": "squirrellyjs",
"projectName": "eta",
"projectOwner": "nebrelbug",
"repoType": "github",
"repoHost": "https://github.com",
"skipCi": true,
Expand Down
4 changes: 2 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ These steps will guide you through contributing to this project:
- Clone it and install dependencies

```
git clone https://github.com/squirrellyjs/squirrelly
git clone https://github.com/nebrelbug/eta
npm install
```

Keep in mind that after running `npm install` the git repo is reset. So a good way to cope with this is to have a copy of the folder to push the changes, and the other to try them.

Make and commit your changes. Make sure the commands npm run build and npm run test:prod are working.

Finally send a [GitHub Pull Request](https://github.com/squirrellyjs/squirrelly/compare?expand=1) with a clear list of what you've done (read more [about pull requests](https://help.github.com/articles/about-pull-requests/)). Make sure all of your commits are atomic (one feature per commit).
Finally send a [GitHub Pull Request](https://github.com/nebrelbug/eta/compare?expand=1) with a clear list of what you've done (read more [about pull requests](https://help.github.com/articles/about-pull-requests/)). Make sure all of your commits are atomic (one feature per commit).
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: bengubler # Replace with a single Patreon username
open_collective: squirrelly # Replace with a single Open Collective username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<a href="https://squirrelly.js.org"><img src="https://cdn.jsdelivr.net/gh/squirrellyjs/squirrelly-logo/svg-minified/squirrelly-fit-acorn.svg" align="right" width="30%" alt="Squirrel"></a>

# squirrelly
# eta

<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->

[logo]: https://img.shields.io/badge/all_contributors-3-orange.svg "Number of contributors on All-Contributors"
[logo]: https://img.shields.io/badge/all_contributors-3-orange.svg 'Number of contributors on All-Contributors'

<!-- ALL-CONTRIBUTORS-BADGE:END -->

Expand Down
4 changes: 2 additions & 2 deletions browser-tests/benchmark.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<html lang="en" id="page-rendering-test">
<head>
<meta charset="utf-8" />
<title>Squirrelly Rendering Benchmarks</title>
<title>Eta Rendering Benchmarks</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1" />

Expand Down Expand Up @@ -100,7 +100,7 @@
<script src="https://unpkg.com/dot@1.1.3/doT.min.js"></script>
<script src="https://unpkg.com/ejs@3.0.1/ejs.min.js"></script>
<script src="https://unpkg.com/handlebars@4.7.3/dist/handlebars.min.js"></script>
<script src="../dist/browser/squirrelly.min.js"></script>
<script src="../dist/browser/eta.min.js"></script>
<script src="https://unpkg.com/mustache@4.0.0/mustache.min.js"></script>
<script src="https://pugjs.org/js/pug.js"></script>
<script src="https://unpkg.com/swig@1.4.2/dist/swig.min.js"></script>
Expand Down
8 changes: 4 additions & 4 deletions browser-tests/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
/>
<meta name="description" content="Test out Squirrelly code in the browser here" />
<script src="../dist/browser/squirrelly.dev.js"></script>
<meta name="description" content="Test out Eta templates in the browser here" />
<script src="../dist/browser/eta.dev.js"></script>
<style>
body {
background-color: #f4f4f4;
Expand Down Expand Up @@ -136,7 +136,7 @@
}
}
</style>
<title>Squirrelly Playground</title>
<title>Eta Playground</title>
</head>

<body>
Expand All @@ -159,7 +159,7 @@ <h2>
<h4>Template</h4>
<textarea autocomplete="off" id="template">
Hi
{{!console.log("Hope you like Squirrelly!");}}
{{!console.log("Hope you like Eta!");}}
{{it.htmlstuff}}

{{~foreach(it.obj) => key, val}}
Expand Down
Loading

0 comments on commit a13b7bc

Please sign in to comment.