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 ( $ ) { | |
$.fn.addPasswordStrengthMeter = function(meter_el) { | |
var that = this; | |
if (typeof meter_el == 'undefined') { | |
meter_el = $('.password-strength-meter'); | |
} | |
var bars = meter_el.children(); |
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
{{-- This area is for mounting global JS objects. --}} | |
<script> | |
"use strict"; | |
/** | |
* Please keep App and its dependencies lean. It's loaded everywhere. | |
* | |
* @constructor |
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
// @see http://bdadam.com/blog/comparison-helper-for-handlebars.html | |
(function() { | |
function checkCondition(v1, operator, v2) { | |
switch(operator) { | |
case '==': | |
return (v1 == v2); | |
case '===': | |
return (v1 === v2); | |
case '!==': |
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 | |
namespace App; | |
use Illuminate\Database\Eloquent\Model as BaseModel; | |
/** | |
* Class Model | |
*/ | |
abstract class Model extends BaseModel |
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 | |
namespace App; | |
use App\Utils\Data; | |
use App\Utils\Str; | |
use Cache; | |
use Closure; | |
use DateTime; | |
use DB; |
OlderNewer