mirror of
https://github.com/0x1d/esp8266-laser.git
synced 2025-12-15 02:22:22 +01:00
change function declaration
This commit is contained in:
@@ -94,7 +94,7 @@ var $ = function(selector){
|
|||||||
select: (selector) => {
|
select: (selector) => {
|
||||||
return document.querySelectorAll(selector);
|
return document.querySelectorAll(selector);
|
||||||
},
|
},
|
||||||
link: function(node){
|
link: (node) => {
|
||||||
return (actuator) => {
|
return (actuator) => {
|
||||||
let update = function(endpoint, method, props) {
|
let update = function(endpoint, method, props) {
|
||||||
Sui.http.ajax({
|
Sui.http.ajax({
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ var Sui = {
|
|||||||
select: (selector) => {
|
select: (selector) => {
|
||||||
return document.querySelectorAll(selector);
|
return document.querySelectorAll(selector);
|
||||||
},
|
},
|
||||||
link: function(node){
|
link: (node) => {
|
||||||
return (actuator) => {
|
return (actuator) => {
|
||||||
let update = function(endpoint, method, props) {
|
let update = function(endpoint, method, props) {
|
||||||
Sui.http.ajax({
|
Sui.http.ajax({
|
||||||
|
|||||||
Reference in New Issue
Block a user