Skip to content

Commit ae0660e

Browse files
committed
fix eslint errors
1 parent 1d9a458 commit ae0660e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

app/ns-ui-widgets-category/action-bar/icon-fonts/icon-fonts-page.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
const Observable = require("tns-core-modules/data/observable").Observable;
2-
const frameModule = require("tns-core-modules/ui/frame")
2+
const frameModule = require("tns-core-modules/ui/frame");
33
function onNavigatingTo(args) {
44
const page = args.object;
55
const vm = new Observable();
66
vm.set("title", "Icon Fonts \nAction Bar Example");
7-
vm.set("snippet", "<ActionBar title=\"Icon Fonts\" class=\"action-bar\"/>");
7+
vm.set("snippet", "<ActionBar title=\"Icon Fonts\" class=\"action-bar\"/>");
88
page.bindingContext = vm;
99
}
1010
function navigateBack() {

app/ns-ui-widgets-category/image/icon-fonts/icon-fonts-page.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ function containerLoaded(args) {
44
const container = args.object;
55
// >> image-icon-fonts-js
66
const newImage = new Image();
7-
const imageString = String.fromCharCode(0xF10B)
8-
newImage.src = "font://"+imageString;
7+
const imageString = String.fromCharCode(0xF10B);
8+
newImage.src = `font://${imageString}`;
99
newImage.className = "font-awesome font-size";
1010
newImage.width = 49;
1111
newImage.height = 49;

app/ns-ui-widgets-category/image/icon-fonts/icon-fonts-ts-page.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ export function containerLoaded(args: EventData) {
66
const container = <GridLayout>args.object;
77
// >> image-icon-fonts-ts
88
const newImage = new Image();
9-
const imageString = String.fromCharCode(0xF10B)
10-
newImage.src = "font://"+imageString;
9+
const imageString = String.fromCharCode(0xF10B);
10+
newImage.src = "font://" + imageString;
1111
newImage.className = "font-awesome font-size";
1212
newImage.width = 49;
1313
newImage.height = 49;

0 commit comments

Comments
 (0)