Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

A fun addition to your loading screen, based on The Sims

Notifications You must be signed in to change notification settings

miller-time/reticulating-splines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reticulating Splines

A fun addition to your loading screen, based on The Sims.

example

Installing

Install via bower:

    bower install reticulating-splines

Add script to your project:

    'reticulating-splines/dist/reticulating-splines.min.js'

Add dependency to your AngularJS module:

    angular.module('myModule', ['reticulatingSplines'])

Use the directive to display messages on an interval:

    <reticulating-splines
        theme="theme"
        interval="interval"
    </reticulating-splines>

Note: the attributes theme and interval are bound to the containing controller.

OR use the provided service to just get a random message:

    .controller('MyController', function($scope, spline) {
        $scope.theme = 'sims';
        $scope.randomMessage = spline($scope.theme);
    })

Available Themes

  • 'sims' - A collection of messages from The Sims
  • 'web' - A collection of web/management jargon (buzz words)

Development

First you'll need NodeJS, and then you'll need to do an npm install.

    gulp

This will watch for changes and build the minified script.

About

A fun addition to your loading screen, based on The Sims

Resources

Stars

Watchers

Forks

Packages

No packages published