Skip to content

Commit

Permalink
doulbe quotes to single quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
Junco committed Dec 4, 2024
1 parent be9a9b5 commit 7918096
Show file tree
Hide file tree
Showing 6 changed files with 3,519 additions and 3,519 deletions.
16 changes: 8 additions & 8 deletions js/citta.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,10 @@ function renderCetasikaTable(y) {
cetasikaIdIndex[name] = child.id;
itemIndex[child.id] = renderCetasikaCell(x, y + rowHeight * 3, columnWidth, rowHeight * 2.5, name);
noteIndex[child.id] = {
"char_mark": child.char_mark,
"function": child.function,
"appearance": child.appearance,
"proximate_cause": child.proximate_cause,
'char_mark': child.char_mark,
'function': child.function,
'appearance': child.appearance,
'proximate_cause': child.proximate_cause,
};
x += columnWidth;
});
Expand Down Expand Up @@ -390,17 +390,17 @@ function setupHighlightsBehavior(cntt, ntt) {

let connections = itemGraph[itemId];
let item = itemIndex[itemId];
item.on("mouseover", function(event, d) {
item.on('mouseover', function(event, d) {
if (locked) return;
highlightsConnections(connections);
})
.on("mousemove", function(event) {
.on('mousemove', function(event) {
})
.on("mouseout", function() {
.on('mouseout', function() {
if (locked) return;
if (clearFunc) clearFunc();
})
.on("click", function() {
.on('click', function() {
if (locked && lockedItem === this) {
locked = false;
lockedItem = null;
Expand Down
10 changes: 5 additions & 5 deletions js/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ const rpSvg = container.select('#container4').append('svg')
.attr('width', svgWidth)
.attr('height', svgHeight);

const rpgSvg = container.select("#container5").append('svg')
const rpgSvg = container.select('#container5').append('svg')
.attr('class', 'svg-content')
.attr('width', svgWidth)
.attr('height', svgHeight);

const rpnSvg = container.select("#simulation");
const rpnSvg = container.select('#simulation');

const rpnlSvg = container.select("#simulation-notes");
const rpnlSvg = container.select('#simulation-notes');

const rpnsSvg = container.select("#container6").append('svg')
const rpnsSvg = container.select('#container6').append('svg')
.attr('class', 'svg-content')
.attr('width', svgWidth)
.attr('height', 1);
Expand Down Expand Up @@ -119,7 +119,7 @@ function renderTextBox(parent, x, y, w, h, bgColor, text, params = {}) {
let cell = renderCell(item, x, y, w, h, bgColor);
let textElement = renderText(item, x, y, w, h, text, params);
item.setText = function(newText) {
item.select("text").remove();
item.select('text').remove();
textElement = renderText(item, x, y, w, h, newText, params);
};
item.setColor = function(newColor) {
Expand Down
Loading

0 comments on commit 7918096

Please sign in to comment.