Skip to content
Critical-path CSS optimized weather app
JavaScript CSS
Find file
Failed to load latest commit information.
app `$http` already returns a promise Jul 20, 2014
output Strip extra font output Jul 21, 2014
.bowerrc Initial work Jul 20, 2014
.gitignore Initial work Jul 19, 2014
README.md Update after screenshot. Jul 20, 2014
bower.json Initial work Jul 19, 2014
filter.js Initial work Jul 19, 2014
gulpfile.js Clean-up build file. Jul 20, 2014
package.json

README.md

Weather App

A simple app built with angular, underscore and gulp to query weather information for the top 100 US cities.

The application makes use of the Open Weather API. It's forked from this original implementation with additions to add critical-path CSS optimisation, ng-annotations and other minor fixes.

Live demos of both a normal build and critical-css optimized build are both available.

Before:

After:

Installation

  • cd into the project directory and run npm install
  • Then run gulp
  • Open a browser at localhost:8080.

Usage

Normal build:

$ gulp build

Build with critical-path CSS:

$ gulp critical
Something went wrong with that request. Please try again.