TV Configuration for TAL.
npm install --save tal-config
The connect middleware will automatically update the HTTP response
MIME-Type as well as populating a
res.locals.tal object (see below).
var config = require'tal-config';console.logconfiggetJSON'devices' 'panasonic-tv_2013'; // -> TAL JSON config for Panasonic HbbTV 2013's model
Use it in conjunction with
node-tal to make your Connect/Express routes
var express = require'express';var app = express;var tal = require'tal';var talConfig = require'tal-config';appget'/tvApp' talmiddlewaretalConfig;applisten;
Simply run the tests using the following command.
If you add a feature and don't have any knowledge in testing, propose your code anyway. Explain what you want to achieve, what are the edge cases and we'll do our best to fill the blanks.
Copyright 2014 British Broadcasting Corporation
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.