Stryzhevskyi / redditreader

UA Web Challenge VII semi final task (Front-end developer | JavaScript Middle/Senior)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reddit Reader

###Build

bower install && npm install
bower #build + watch
bower dist #build with r.js + UglifyJS2
./bin/icons ./src/img/icon.png #build images

###Technologies & Tools & Libraries

###Tips

var App = require('app');
/*show short info about caches*/
App.sw.getStatus().then(function(data){
   console.log(data);
});
/*add data to dynamic cache*/
App.sw.cacheUrls([
   'https://www.reddit.com/r/funny/comments/334w6q.json?limit=200&sort=top'
]).then(function(data){
   console.log(data);
});
/*delete data from cashes (all)*/
App.sw.deleteUrls([
   'https://www.reddit.com/r/funny/comments/334w6q.json?limit=200&sort=top'
]).then(function(data){
   console.log(data)
});

About

UA Web Challenge VII semi final task (Front-end developer | JavaScript Middle/Senior)


Languages

Language:JavaScript 97.4%Language:CSS 1.8%Language:HTML 0.7%Language:Shell 0.1%