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
Array.from(document.getElementsByTagName('input')).forEach(i => i.checked = false) |
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
#!/bin/bash | |
# Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. | |
set -e | |
cd "`dirname "$0"`" | |
if [ ! -f Engine/Binaries/DotNET/GitDependencies.exe ]; then | |
echo "GitSetup ERROR: This script does not appear to be located \ | |
in the root UE4 directory and must be run from there." |
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
/** | |
* Created by ant on 16/04/2015. | |
*/ | |
'use strict'; | |
angular.module('project.widgets-grid').directive( | |
'gridScroll', function gridScrollDefinitionFn | |
($timeout, | |
DashboardGrid) | |
{ |
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 Customer extends Eloquent | |
{ | |
public function user() | |
{ | |
return $this->belongsTo('User'); | |
} | |
public function profession() |
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 Illuminate\Database\Migrations\Migration; | |
use Illuminate\Database\Schema\Blueprint; | |
class AddProfessionColumnToCustomersTable extends Migration { | |
/** | |
* Run the migrations. | |
* |
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 Illuminate\Database\Migrations\Migration; | |
use Illuminate\Database\Schema\Blueprint; | |
class CreateUsersTable extends Migration { | |
/** | |
* Run the migrations. | |
* |
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
module.exports = function(grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
clean: { | |
build: { | |
src: ['build'] | |
} | |
}, | |
copy: { |
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
angular.module('App').directive('topCatIcon', | |
function(TopCategories) { | |
return { | |
link: function(scope, element, attrs) { | |
var selectedColor = '#ffffff'; | |
var defaultColor = scope.topCat.colors.active; | |
//scope.$watch('TopCategories.selected', function(newsValue, oldValue) { | |
//if (TopCategories.selected.item == null) return; | |
element.css('color', scope.topCat.colors.active); |
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
angular.module('App').controller('OnlytomeCtrl', | |
function ($scope, $cookies, Http, $route, $location, $translate,Profile, Searches, ProfileSegments, TopCategories) { | |
$scope.mainNav = null; | |
$scope.subNav = null; | |
$scope.currentUser = null; | |
$scope.selectedTopCategory = null; | |
$scope.searches = []; | |
Http.authenticate().then( function(){ | |
Profile.load(); |
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
<form novalidate name="signupForm" ng-submit="onSingupSubmit()" ng-controller="SignupCtrl"> | |
<div class="account-form white-rounded-top"> | |
<h3 translate>PAGE_ACCOUNT.SIGNUP</h3> | |
<div ng-repeat="error in errors" class="alert alert-danger" translate>{{error}}</div> | |
<div ng-repeat="info in infos" class="alert alert-info" translate>{{info}}</div> | |
<div class="form-group" ng-class="{'has-error': signupForm.login.$invalid}"> | |
<input class="form-control" ng-model="account.login" type="email" name="login" placeholder="{{'PAGE_ACCOUNT.EMAIL' | translate }}" required> | |
<span class="help-block" ng-show="signupForm.login.$invalid" translate>PAGE_ACCOUNT.EMAIL_VALID_HELPER</span> | |
</div> | |
<div class="form-group" ng-class="{'has-error': signupForm.password.$invalid}"> |
NewerOlder