Added a helper function to main.js for challenge making

This commit is contained in:
benmcmahon100
2015-08-14 23:57:43 +01:00
parent e6297de282
commit 3d42b09bca
2 changed files with 6 additions and 2 deletions

View File

@ -743,8 +743,8 @@ form.code span {
}
.scroll-locker {
overflow-x: auto;
overflow-y: scroll;
overflow-x: hidden;
overflow-y: auto;
}
.big-error-icon {

View File

@ -359,6 +359,10 @@ $(document).ready(function() {
}
});
function defCheck(a){
if(a !== 'undefined'){return(true);}else{return(false);}
}
var profileValidation = angular.module('profileValidation',
['ui.bootstrap']);
profileValidation.controller('profileValidationController', ['$scope', '$http',