This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local templateHTML = {} | |
templateHTML.nowArticle = function(myTitre, myArticle, myImage, myURL, myAdresse, myTelephone) | |
local header = [[ | |
<!doctype html> | |
<html class="" lang="en"> | |
<head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lokal navGene = {} | |
lokala storyboard = kräver ("storyboard") | |
lokala widget = kräver ("widget") | |
lokal databas = kräver ("Databas") | |
lokal ui_news, ui_now, ui_yellow, ui_news_over, ui_now_over, ui_yellow_over | |
navGene.createNavGene = function () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local navGene = require "navGene" | |
-- Display objects added below will not respond to storyboard transitions | |
local ui_news, ui_now, ui_yellow, ui_news_over, ui_now_over, ui_yellow_over = navGene.createNavGene() | |
navGene.addEventTo(ui_now) | |
navGene.addEventTo(ui_news) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local navGene = {} | |
local storyboard = require ("storyboard") | |
local widget = require ("widget") | |
local dataBase = require ("dataBase") | |
local ui_news, ui_now, ui_yellow, ui_news_over, ui_now_over, ui_yellow_over | |
navGene.createNavGene = function() |