- Prioritizes simplicity of API
- Flash has a timer which causes it to die after few seconds (or given time)
- Flash timer stops when hovered
- Able to add flash
- Able to remove flash
- Able to flush flash
This file contains hidden or 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
| git init | |
| git remote add origin <GIT_REPOSITORY_LINK> | |
| git add . | |
| git commit -m "<MESSAGE>" | |
| git push origin master |
This file contains hidden or 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
| <?php | |
| // Home | |
| Route::get('/', '...'); | |
| // @link (ourdomain.com)/dashboard/* | |
| Route::group(['prefix' => 'dashboard'], function() { | |
| // For authentication purposes | |
| // No need for filter | |
| // @link (ourdomain.com)/dashboard/(login|logout) | |
| Route::get('login', '..'); |
This file contains hidden or 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
| <?php | |
| class PogiController extends BaseController { | |
| /** | |
| * Store. | |
| * @why Cause fock u thats why | |
| * @return my fock | |
| */ | |
| public function store() { |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Ateneo Hacks - Registration: {{ e($teamName) }}</title> | |
| <meta charset="utf-8"> | |
| <link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,700italic,400,300,600,700' rel='stylesheet' type='text/css'> | |
| <style> | |
| html, body { | |
| font-family: 'Open Sans', Helvetica, Helvetica Neue, serif, sans-serif; | |
| width: 500px; |
This file contains hidden or 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
| var MessageMixin = { | |
| componentDidMount: function() { | |
| this.tick() | |
| } | |
| tick: function() { | |
| var duration = 10000; | |
| var remove = this.remove.bind(this); | |
| var timer = setTimeout(remove, duration); | |
| this.setState({ timer: timer }); |
This file contains hidden or 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
| <?php | |
| require_once ('BaseController.php'); | |
| class FormsController extends BaseController | |
| { | |
| protected $formRepository; | |
| protected $employeeRepository; | |
| protected $formApplicationRepository; | |
| protected $leaveCreditsRepository; |
This file contains hidden or 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
| var Reflux = require('reflux'); | |
| module.exports = Reflux.createAction([ | |
| // other things | |
| onCreateSuccess, | |
| onCreateError | |
| ]); |
This file contains hidden or 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
| +(function(angular, undefined) { | |
| 'use strict'; | |
| angular | |
| .module('app') | |
| .filter('timestamp', filter); | |
| function filter() { | |
| return function filterFn(input) { | |
| return ( Date.parse(input) ); | |
| } |
This file contains hidden or 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
| // Our html would be, | |
| // <product-search="productCtrl.filter"></product-table> | |
| // <product-table="productCtrl.data"></product-table> | |
| // Controller As productCtrl | |
| angular | |
| .module('app') | |
| .controller('ProductController', ProductController); | |
| function ProductController($scope, $http) { |