Comparing version 1.2.0 to 1.2.1
@@ -23,3 +23,3 @@ import { $ } from '../queryjs'; | ||
// plain toggle, using a <div> or <button> or <a> | ||
// data-i-toggle data-i-key="done" data-i-value="true" | ||
// <div data-i-toggle data-i-key="done" data-i-value="true"></div> | ||
// finds matching data-o-key-* and alternates between setting "true" and "" | ||
@@ -38,3 +38,3 @@ $.on("click", "[data-i-toggle]", function (event) { | ||
// <radio> AND <select> | ||
$.on("change", "[data-i][type='radio'], select[data-i]", function (event) { | ||
$.on("change", "[type='radio'][data-i], select[data-i]", function (event) { | ||
// get key name and value we want to change | ||
@@ -41,0 +41,0 @@ let keyName = event.currentTarget.getAttribute("name"); |
@@ -17,5 +17,3 @@ import { | ||
// * data-o-key (attribute value can be any string, but ideally camel cased with no spaces) | ||
// * data-o-value (attribute value can be any string) | ||
function getDataFromRootNode (rootNode) { | ||
@@ -22,0 +20,0 @@ |
@@ -217,3 +217,2 @@ // Parses strings that can have multiple parameters and sub-parameters embedded | ||
let parts = getParts(attributeString); | ||
console.log(parts) | ||
let extractedObjects = assembleResult(parts); | ||
@@ -220,0 +219,0 @@ |
{ | ||
"todoList": { | ||
"name": "New todo" | ||
"name": "New todo list" | ||
} | ||
} |
@@ -1,17 +0,18 @@ | ||
# Start the server | ||
# Get started | ||
1. `npm install` | ||
2. Rename the file `variables.env.example` to `variables.env` and fill it out | ||
3. `npm run dev` | ||
1. Go into your project directory | ||
# Play with Remake | ||
``` | ||
cd <project-dir> | ||
``` | ||
1. Open the `project-files` directory | ||
2. Read through `root.hbs` and `todo.hbs` to understand how remake works | ||
3. Start making your own app | ||
2. Start the project | ||
For a full tutorial on Remake, view this 30 minute video where we make a full Trello clone: https://www.youtube.com/watch?v=H_FvfswKufo | ||
``` | ||
npm run dev | ||
``` | ||
# Full Remake Docs | ||
[View the full Remake documentation here](https://remaketheweb.com) | ||
[View the full Remake documentation here](https://remaketheweb.com) |
{ | ||
"name": "remake", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Generate a full-stack Remake web app", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
552358
13549