-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed the event model, got updates working!
- Added some packages to make unit testing easier. Loaded by the karma config - added some formatting for the details table on the listen page - implemented isDirty and isNew. Dirty properties are tracked with JavaScript getters/setters - added a ton of unit tests for the Annotation class - the only way I could sort out the nightmare of JS props - Converted some exceptions to assertions in bawAnnotationViewer.js. Also - Also changed unit/converter calculation to work solely off metadata. This means it can be calculated before an image resource is loaded. Images are now stretched to fit. Warnings are still included for badly sized images. - FIxed by in invertPixels function - fleshed out the modelUpdatesServer stub - now with real live updating! w00t! - converted lastUpdate to $lastUpdate - this means the prop is ignored for equality checks. If included the model goes through an extra update loop... very inefficient
- Loading branch information
Showing
8 changed files
with
445 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
{ | ||
"author": "Anthony Truskinger", | ||
"name": "baw-client", | ||
"version": "0.0.4", | ||
"description": "The AngularJS client for the QUT Bioacoustics server", | ||
"licenses": { | ||
"type": "Apache", | ||
"url": "https://github.com/QutBioacoustics/baw-client/blob/master/LICENSE" | ||
}, | ||
"bugs": "https://github.com/QutBioacoustics/baw-client/issues", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/QutBioacoustics/baw-client.git" | ||
}, | ||
"//": "THE karma-chrome-launcher IS NEEDED TO LAUNCH CHROME PROPERLY ON WINDOWS. REMOVE WHEN PULL REQUEST COMPLETED https://github.com/karma-runner/karma-chrome-launcher", | ||
"devDependencies": { | ||
"grunt": "~0.4.1", | ||
"grunt-contrib-clean": "~0.4.1", | ||
"grunt-contrib-copy": "~0.4.1", | ||
"grunt-contrib-jshint": "~0.4.3", | ||
"grunt-contrib-concat": "~0.3.0", | ||
"grunt-contrib-watch": "~0.4.0", | ||
"grunt-contrib-uglify": "~0.2.0", | ||
"grunt-karma": "~0.7.0", | ||
"karma-chrome-launcher": "https://github.com/EE/karma-chrome-launcher/tarball/windows", | ||
"grunt-ngmin": "0.0.2", | ||
"grunt-html2js": "~0.1.3", | ||
"grunt-conventional-changelog": "~0.1.1", | ||
"grunt-bump": "0.0.6", | ||
"grunt-contrib-connect": "~0.5.0", | ||
"connect-modrewrite": "~0.5.7", | ||
"grunt-sass": "~0.7.0", | ||
"lodash": "~2.2.1" | ||
}, | ||
"private": true | ||
"author": "Anthony Truskinger", | ||
"name": "baw-client", | ||
"version": "0.0.4", | ||
"description": "The AngularJS client for the QUT Bioacoustics server", | ||
"licenses": { | ||
"type": "Apache", | ||
"url": "https://github.com/QutBioacoustics/baw-client/blob/master/LICENSE" | ||
}, | ||
"bugs": "https://github.com/QutBioacoustics/baw-client/issues", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/QutBioacoustics/baw-client.git" | ||
}, | ||
"//": "THE karma-chrome-launcher IS NEEDED TO LAUNCH CHROME PROPERLY ON WINDOWS. REMOVE WHEN PULL REQUEST COMPLETED https://github.com/karma-runner/karma-chrome-launcher", | ||
"devDependencies": { | ||
"grunt": "~0.4.1", | ||
"grunt-contrib-clean": "~0.4.1", | ||
"grunt-contrib-copy": "~0.4.1", | ||
"grunt-contrib-jshint": "~0.4.3", | ||
"grunt-contrib-concat": "~0.3.0", | ||
"grunt-contrib-watch": "~0.4.0", | ||
"grunt-contrib-uglify": "~0.2.0", | ||
"grunt-karma": "~0.7.0", | ||
"karma-chrome-launcher": "https://github.com/EE/karma-chrome-launcher/tarball/windows", | ||
"grunt-ngmin": "0.0.2", | ||
"grunt-html2js": "~0.1.3", | ||
"grunt-conventional-changelog": "~0.1.1", | ||
"grunt-bump": "0.0.6", | ||
"grunt-contrib-connect": "~0.5.0", | ||
"connect-modrewrite": "~0.5.7", | ||
"grunt-sass": "~0.7.0", | ||
"lodash": "~2.2.1" | ||
}, | ||
"private": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,4 +81,16 @@ | |
|
||
|
||
|
||
|
||
} | ||
|
||
|
||
.details-table { | ||
@extend .table; | ||
@extend .table-striped; | ||
@extend .table-bordered; | ||
|
||
tbody { | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.