Skip to content

Commit

Permalink
Merge pull request #60 from SOCR/dev
Browse files Browse the repository at this point in the history
Release 0.1.5-alpha.7
#SOCRFW-261
  • Loading branch information
alxndrkalinin committed Apr 22, 2016
2 parents bc7f048 + bb8fc47 commit a4c27d3
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 16 deletions.
4 changes: 2 additions & 2 deletions app/index.jade
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ html(lang='en', ng-app='app')
link(rel='stylesheet', href='bower_components/bootstrap/dist/css/bootstrap.css')
// endbower
// bower:js
script(src='bower_components/jquery/dist/jquery.js')
script(src='bower_components/angular/angular.js')
script(src='bower_components/jquery-layout/source/stable/jquery.layout.js')
script(src='bower_components/jquery/dist/jquery.js')
script(src='bower_components/jquery-highlight/jquery.highlight.js')
script(src='bower_components/jquery-hoverintent/jquery.hoverIntent.js')
script(src='bower_components/datatables/media/js/jquery.dataTables.js')
Expand All @@ -42,6 +41,7 @@ html(lang='en', ng-app='app')
script(src='bower_components/wrangler/dw.js')
script(src='bower_components/bootstrap/dist/js/bootstrap.js')
script(src='bower_components/angular-bootstrap/ui-bootstrap-tpls.js')
script(src='bower_components/jquery-layout/source/stable/jquery.layout.js')
script(src='bower_components/jstat/dist/jstat.js')
script(src='bower_components/jsfeat/build/jsfeat.js')
// endbower
Expand Down
9 changes: 5 additions & 4 deletions app/scripts/analysis/getData/getData.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,6 @@ getData = angular.module('app_analysis_getData', [
# TODO: getData module shouldn't know about controllers listening for handsontable update
$scope.$emit 'update handsontable', data


# available SOCR Datasets
$scope.socrDatasets = [
id: 'IRIS'
Expand Down Expand Up @@ -444,6 +443,8 @@ getData = angular.module('app_analysis_getData', [
# adding listeners
$scope.$on 'update showStates', (obj, data) ->
_showState.set data
# TODO: fix this workaround for displaying copy-paste table
$scope.dataType = DATA_TYPES.FLAT if data is 'grid'

$scope.$on '$viewContentLoaded', ->
console.log 'get data main div loaded'
Expand Down Expand Up @@ -668,8 +669,8 @@ getData = angular.module('app_analysis_getData', [

DATA_TYPES = eventManager.getSupportedDataTypes()

currHeight = elem.height()
currWidth = elem.width()
currHeight = elem[0].offsetHeight
currWidth = elem[0].offsetWidth

#check if data is in the right format
# if arg? and typeof arg.data is 'object' and typeof arg.columns is 'object'
Expand Down Expand Up @@ -720,7 +721,7 @@ getData = angular.module('app_analysis_getData', [
try
# hook for pushing data changes to handsontable
# TODO: get rid of tight coupling :-/
ht = elem.handsontable obj
ht = $(elem).handsontable obj
window['inputCache'] = inputCache.ht = $(ht[0]).data('handsontable')
catch e
$exceptionHandler e
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/db/db.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ db.factory 'app_database_handler', [
res = _db.create dvData, obj.tableName
res
when DATA_TYPES.NESTED
nestedDb.save obj.data
nestedDb.save obj.dataFrame.data
true
else console.log '%cDATABASE: data type is unknown' , 'color:green'
else console.log '%cDATABASE: data type is unknown' , 'color:green'
Expand Down
6 changes: 3 additions & 3 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
"author": "Alexandr Kalinin<alxndrkalinin@gmail.com>, Selvam Palanimalai<selvam1991@gmail.com>",
"name": "SOCRAT",
"version": "v0.1.5-alpha.6",
"version": "v0.1.5-alpha.7",
"description": "Flexible HTML5/JS toolkit for interactive data analysis and visuzalization",
"homepage": "https://github.com/SOCR/SOCRAT",
"dependencies": {
"angular": "^1.5.0",
"jquery-layout": "~1.4.3",
"jquery-highlight": "~3.3.0",
"jquery-hoverintent": "https://github.com/briancherne/jquery-hoverIntent.git#~1.8.1",
"datatables": "DataTables#~1.10.11",
Expand All @@ -20,10 +19,11 @@
"angular-touch": "^1.5.0",
"angular-ui": "^0.4.0",
"angular-ui-router": "~0.2.18",
"ngHandsontable": "angular-ui-handsontable#~0.9.0",
"ngHandsontable": "angular-ui-handsontable#~0.10.0",
"wrangler": "https://github.com/alxndrkalinin/wrangler.git",
"bootstrap": "^3.3.6",
"angular-bootstrap": "^1.1.0",
"jquery-layout": "~1.4.3",
"jstat": "~1.5.2",
"jsfeat": "~0.0.8"
},
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"author": "Alexandr Kalinin<alxndrkalinin@gmail.com>, Selvam Palanimalai<selvam1991@gmail.com>",
"name": "SOCRAT",
"version": "v0.1.5-alpha.6",
"version": "v0.1.5-alpha.7",
"description": "Flexible HTML5/JS toolkit for interactive data analysis and visuzalization",
"homepage": "https://github.com/SOCR/SOCRAT",
"repository": {
Expand Down Expand Up @@ -35,7 +35,7 @@
"grunt-ng-annotate": "^2.0.1",
"grunt-svgmin": "^3.0.0",
"grunt-usemin": "^3.0.0",
"grunt-wiredep": "^2.0.0",
"grunt-wiredep": "^3.0.0",
"serve-static": "^1.10.2",
"jade": "^1.11.0",
"jasmine-core": "^2.4.1",
Expand All @@ -44,9 +44,9 @@
"karma": "^0.13.0",
"karma-coffee-preprocessor": "*",
"karma-jasmine": "*",
"karma-phantomjs2-launcher": "~0.4.0",
"karma-phantomjs2-launcher": "~0.5.0",
"less": "^2.5.3",
"phantomjs2": "~2.0.2",
"phantomjs2": "~2.2.0",
"time-grunt": "^1.0.0"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions test/karma.conf.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ module.exports = (config) ->
# list of files / patterns to load in the browser
files: [
# bower:js
'bower_components/jquery/dist/jquery.js'
'bower_components/angular/angular.js'
'bower_components/jquery-layout/source/stable/jquery.layout.js'
'bower_components/jquery/dist/jquery.js'
'bower_components/jquery-highlight/jquery.highlight.js'
'bower_components/jquery-hoverintent/jquery.hoverIntent.js'
'bower_components/datatables/media/js/jquery.dataTables.js'
Expand All @@ -41,6 +40,7 @@ module.exports = (config) ->
'bower_components/wrangler/dw.js'
'bower_components/bootstrap/dist/js/bootstrap.js'
'bower_components/angular-bootstrap/ui-bootstrap-tpls.js'
'bower_components/jquery-layout/source/stable/jquery.layout.js'
'bower_components/jstat/dist/jstat.js'
'bower_components/jsfeat/build/jsfeat.js'
'bower_components/angular-mocks/angular-mocks.js'
Expand Down

0 comments on commit a4c27d3

Please sign in to comment.