Skip to content

Commit

Permalink
cleanup of extra whitespace which caused no-multi-spaces errors in ci…
Browse files Browse the repository at this point in the history
…rcleci
  • Loading branch information
gregallensworth committed Dec 4, 2015
1 parent d3fad60 commit afd0efe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/angular/service/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -466,10 +466,10 @@ function($ionicTemplateLoader, $ionicBackdrop, $q, $timeout, $rootScope, $ionicB
function showPrompt(opts) {
var scope = $rootScope.$new(true);
scope.data = {};
scope.data.fieldtype = opts.inputType ? opts.inputType : 'text';
scope.data.response = opts.defaultText ? opts.defaultText : '';
scope.data.fieldtype = opts.inputType ? opts.inputType : 'text';
scope.data.response = opts.defaultText ? opts.defaultText : '';
scope.data.placeholder = opts.inputPlaceholder ? opts.inputPlaceholder : '';
scope.data.maxlength = opts.maxLength ? parseInt(opts.maxLength) : '';
scope.data.maxlength = opts.maxLength ? parseInt(opts.maxLength) : '';
var text = '';
if (opts.template && /<[a-z][\s\S]*>/i.test(opts.template) === false) {
text = '<span>' + opts.template + '</span>';
Expand Down

0 comments on commit afd0efe

Please sign in to comment.