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
App.TimeAgoView = Ember.View.extend({ | |
tagName: 'abbr', | |
classNames: ['timeago'], | |
attributeBindings: ['title'], | |
title: null, | |
template: Ember.Handlebars.compile('{{view.output}}'), | |
output: function() { | |
return $.timeago(this.get('title')); |
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
App.TimeAgoView = Ember.View.extend({ | |
tagName: 'abbr', | |
classNames: ['timeago'], | |
attributeBindings: ['title'], | |
title: null, | |
didInsertElement: function () { | |
return $.timeago(this.get('title')); | |
} | |
}); |
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
javascript:(function(){editor=document.getElementById('ide_editor_view');editor.style.paddingBottom=0;sidebar=document.getElementById('ide_sidebar_view');sidebar.style.paddingBottom=0;console=document.getElementById('ide_console_view');console.parentNode.removeChild(console);})() |
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
#main #channels .channels-list-container #container ul.lists { | |
position: absolute; | |
left: 0; | |
top: 0; | |
white-space: nowrap; | |
-webkit-animation: moveSlideshow 360s linear infinite; | |
-moz-animation: moveSlideshow 360s linear infinite; | |
} | |
#main #channels .channels-list-container #container ul.lists li { |
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
#main #channels .channels-list-container #container ul.lists { | |
position: absolute; | |
left: 0; | |
top: 0; | |
height: 100%; | |
width: 300%; | |
-webkit-animation: moveSlideshow 360s linear infinite; | |
-moz-animation: moveSlideshow 360s linear infinite; | |
} |
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
{ | |
"name": "laravel/laravel", | |
"description": "The Laravel Framework.", | |
"keywords": ["framework", "laravel"], | |
"license": "MIT", | |
"require": { | |
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
/*jshint nonew:true, jquery:true, curly:true, latedef:true, unused:true, noarg:true, trailing:true, forin:true, noempty:true, quotmark:single, eqeqeq:true, strict:true, debug:true, bitwise:true, browser:true, devel:true, freeze:true */ |
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
private function sendWelcomeEmail(User $user) | |
{ | |
// Enabling pretend mode for developers | |
// Writing email in logs instead of really sending them. | |
if (App::environment('development')) { | |
Mail::pretend(); | |
} | |
$data = []; |
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
private function sendWelcomeEmail(User $user) | |
{ | |
// Enabling pretend mode for developers | |
// Writing email in logs instead of really sending them. | |
if (App::environment('development')) { | |
Mail::pretend(); | |
} | |
$data = []; |
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 | |
use Jenssegers\Mongodb\Model as Eloquent; | |
class AccessLog extends Eloquent { | |
protected $connection = 'mongodb'; | |
protected $collection = 'access_logs'; | |
} |