Fixes #67, decimal inputs for function parameters (like scale)
This commit is contained in:
1 parent
bd4b75f5d8
commit
0a8b9bad4f
3 files changed
+3
-3
No files matched your search
@@ -20,7 +20,7 @@
|
||||
<div ng-switch-when="int">
|
||||
<input
|
||||
type="number"
|
||||
placeholder="seconds"
|
||||
step="any"
|
||||
focus-me="true"
|
||||
class="input-mini"
|
||||
ng-change="functionParamsChanged(func)" ng-model-onblur
|
||||
|
||||
@@ -172,7 +172,7 @@ define([
|
||||
|
||||
return {
|
||||
type: 'number',
|
||||
value: parseInt(this.consumeToken().value, 10)
|
||||
value: parseFloat(this.consumeToken().value)
|
||||
};
|
||||
},
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ define([
|
||||
|
||||
it('should return function categories', function() {
|
||||
var catIndex = gfunc.getCategories();
|
||||
expect(catIndex.Special.length).to.equal(8);
|
||||
expect(catIndex.Special.length).to.be.greaterThan(8);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user