Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
5a0fa8c0
Commit
5a0fa8c0
authored
Mar 18, 2014
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added phantomjs karma test to run in travis
parent
0a6b393b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
9 deletions
+18
-9
package.json
+1
-1
src/app/services/graphite/lexer.js
+8
-7
tasks/default_task.js
+2
-0
tasks/options/karma.js
+7
-1
No files found.
package.json
View file @
5a0fa8c0
...
...
@@ -51,7 +51,7 @@
"npm"
:
"1.2.x"
},
"scripts"
:
{
"test"
:
"grunt"
"test"
:
"grunt
test
"
},
"license"
:
"Apache License"
}
src/app/services/graphite/lexer.js
View file @
5a0fa8c0
define
([
],
function
()
{
'underscore'
],
function
(
_
)
{
'use strict'
;
// This is auto generated from the unicode tables.
...
...
@@ -256,7 +257,7 @@ define([
return
(
/^
[
0-9a-fA-F
]
$/
).
test
(
str
);
}
var
readUnicodeEscapeSequence
=
function
()
{
var
readUnicodeEscapeSequence
=
_
.
bind
(
function
()
{
/*jshint validthis:true */
index
+=
1
;
...
...
@@ -282,9 +283,9 @@ define([
}
return
null
;
}
.
bind
(
this
);
}
,
this
);
var
getIdentifierStart
=
function
()
{
var
getIdentifierStart
=
_
.
bind
(
function
()
{
/*jshint validthis:true */
var
chr
=
this
.
peek
(
index
);
var
code
=
chr
.
charCodeAt
(
0
);
...
...
@@ -313,9 +314,9 @@ define([
}
return
null
;
}
.
bind
(
this
);
}
,
this
);
var
getIdentifierPart
=
function
()
{
var
getIdentifierPart
=
_
.
bind
(
function
()
{
/*jshint validthis:true */
var
chr
=
this
.
peek
(
index
);
var
code
=
chr
.
charCodeAt
(
0
);
...
...
@@ -339,7 +340,7 @@ define([
}
return
null
;
}
.
bind
(
this
);
}
,
this
);
char
=
getIdentifierStart
();
if
(
char
===
null
)
{
...
...
tasks/default_task.js
View file @
5a0fa8c0
// Lint and build CSS
module
.
exports
=
function
(
grunt
)
{
grunt
.
registerTask
(
'default'
,
[
'jshint:source'
,
'less:src'
]);
grunt
.
registerTask
(
'test'
,
[
'default'
,
'karma:test'
]);
};
\ No newline at end of file
tasks/options/karma.js
View file @
5a0fa8c0
module
.
exports
=
function
(
config
)
{
return
{
unit
:
{
dev
:
{
configFile
:
'src/test/karma.conf.js'
,
singleRun
:
false
,
browsers
:
[
'Chrome'
]
},
test
:
{
configFile
:
'src/test/karma.conf.js'
,
singleRun
:
true
,
browsers
:
[
'PhantomJS'
]
}
};
};
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment