Skip to content

Commit

Permalink
clean source to actually match .editorconfig so such changes wouldn't…
Browse files Browse the repository at this point in the history
… clutter actual functional commits any more
  • Loading branch information
jiemakel committed Sep 13, 2014
1 parent ee65e59 commit a7d68c5
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions app/index.jade
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ html(lang="en")
// endbuild
title snapper

body(ng-app="app")
.ui.dimmer.page(ng-class="{active:authOpen}"): .ui.modal.transition.visible
h3.header Authentication required
Expand All @@ -35,7 +35,7 @@ html(lang="en")
input(type='password', ng-model="password")
.actions
button.ui.green.button(ng-click="setAuth()") Ok
button.ui.red.button(ng-click="dismissAuth()") Cancel
button.ui.red.button(ng-click="dismissAuth()") Cancel
main(ui-view="")
// build:js(app) scripts/vendor.js
// bower:js
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/config.ls
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ angular.module('app', ['http-auth-interceptor','toastr','ngAnimate','ngStorage',
url: '/?data&restEndpoint&sparqlEndpoint&graphIRI&configuration',
templateUrl: 'partials/main.html',
controller: 'MainCtrl'
$urlRouterProvider.otherwise('/')
$urlRouterProvider.otherwise('/')
.config (toastrConfig) ->
angular.extend toastrConfig,
allowHtml: false
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/sparql/sparqlService.ls
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,4 @@ angular.module('fi.seco.sparql',[])
else '"' + value + '"^^<'+binding.datatype+'>'
else if (binding['xml:lang']) then '"' + value + '"@' + binding['xml:lang']
else '"' + value + '"'
)
)
8 changes: 4 additions & 4 deletions app/scripts/turtle/turtle.ls
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ CodeMirror.defineMode "turtle", (config) ->
state.curPos = "MLL"
stream.eatWhile(/[^"]/)
"string-2"
else
else
state.tokenize = tokenLiteral(ch)
(if error then state.tokenize(stream, state) + " error" else state.tokenize(stream, state))
else if /[{}\(\),\.;\[\]]/.test(ch)
Expand Down Expand Up @@ -182,7 +182,7 @@ CodeMirror.defineMode "turtle", (config) ->
else if curPunc is "{"
pushContext state, "}", stream.column!
else if /[\]\}\)]/.test(curPunc)
while state.context and state.context.type is "pattern" then popContext state
while state.context and state.context.type is "pattern" then popContext state
popContext state if state.context and curPunc is state.context.type
else if curPunc is "." and state.context and state.context.type is "pattern"
popContext state
Expand All @@ -197,7 +197,7 @@ CodeMirror.defineMode "turtle", (config) ->
indent: (state, textAfter) ->
firstChar = textAfter and textAfter.charAt(0)
context = state.context
while context and context.type is "pattern" then if /[\]\}]/.test(firstChar) then context = context.prev
while context and context.type is "pattern" then if /[\]\}]/.test(firstChar) then context = context.prev
closing = context and firstChar is context.type
unless context
return (if state.indent isnt 0 then state.indent else indentUnit) if curPunc is ";"
Expand All @@ -209,4 +209,4 @@ CodeMirror.defineMode "turtle", (config) ->
else
context.indent + ((if closing then 0 else indentUnit))

CodeMirror.defineMIME "text/turtle", "turtle"
CodeMirror.defineMIME "text/turtle", "turtle"
26 changes: 13 additions & 13 deletions app/styles/main.styl
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
.CodeMirror {
height: auto;
border-top: 1px solid black;
border-bottom: 1px solid black;
}
.CodeMirror {
height: auto;
border-top: 1px solid black;
border-bottom: 1px solid black;
}

.CodeMirror-scroll {
max-height: 90vh;
}
.CodeMirror-scroll {
max-height: 90vh;
}

.CodeMirror-activeline [title] {
position:relative
}

.clearfix
.clearfix
clear:both

.CodeMirror-activeline [title].cm-matchhighlight:after {
content: attr(title);
padding: 4px 8px;
color: #333;
position:absolute;
white-space: nowrap;
left: 30%;
white-space: nowrap;
left: 30%;
top: -180%;
border-radius: 5px;
box-shadow: 0px 0px 4px #222;
border-radius: 5px;
box-shadow: 0px 0px 4px #222;
color: #999;
background-color : white;
}
Expand Down
2 changes: 1 addition & 1 deletion gulp/build.ls
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require!{
gulp
gulp
nib
}
$ = require("gulp-load-plugins")!
Expand Down
2 changes: 1 addition & 1 deletion gulp/wiredep.ls
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ gulp.task \wiredep:scripts, ->
.pipe(wiredep(directory: "app/bower_components"))
.pipe(gulp.dest("app"))

gulp.task \wiredep, <[wiredep:styles wiredep:scripts]>
gulp.task \wiredep, <[wiredep:styles wiredep:scripts]>

0 comments on commit a7d68c5

Please sign in to comment.