Ignore:
Timestamp:
03/13/13 17:07:58 (12 years ago)
Author:
hendrikvanantwerpen
Message:

Added grunt tasks and code cleanup.

Added grunt for less and jshint procesing.
Cleanup of code to pass jshint (one bug found :).

Location:
Dev/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk

    • Property svn:ignore
      •  

        old new  
        11data
        22nbproject
         3node_modules
  • Dev/trunk/client

    • Property svn:externals
      •  

        old new  
        1 dojo http://svn.dojotoolkit.org/src/tags/release-1.8.0/dojo
        2 dijit http://svn.dojotoolkit.org/src/tags/release-1.8.0/dijit
        3 dojox http://svn.dojotoolkit.org/src/tags/release-1.8.0/dojox
        4 util http://svn.dojotoolkit.org/src/tags/release-1.8.0/util
         1dojo http://svn.dojotoolkit.org/src/tags/release-1.8.3/dojo
         2dijit http://svn.dojotoolkit.org/src/tags/release-1.8.3/dijit
         3dojox http://svn.dojotoolkit.org/src/tags/release-1.8.3/dojox
         4util http://svn.dojotoolkit.org/src/tags/release-1.8.3/util
  • Dev/trunk/client/qed/pages/surveys.js

    r422 r426  
    6868        refreshDrafts: function() {
    6969            this.draftsContainer.set('content','');
    70             when(store.query("_design/surveys/_view/drafts")
    71                     ,lang.hitch(this,function(surveys){
     70            when(store.query("_design/surveys/_view/drafts"),
     71                    lang.hitch(this,function(surveys) {
    7272                this.draftsTab.set('title','Drafts ('+surveys.length+')');
    7373                array.forEach(surveys,function(survey){
     
    110110        refreshPublished: function() {
    111111            this.publishedContainer.set('content','');
    112             when(store.query("_design/surveys/_view/published")
    113                     ,lang.hitch(this,function(surveys){
     112            when(store.query("_design/surveys/_view/published"),
     113                    lang.hitch(this, function(surveys) {
    114114                this.publishedTab.set('title','Published ('+surveys.length+')');
    115115                array.forEach(surveys,function(survey){
     
    138138        refreshRuns: function() {
    139139            this.runsContainer.set('content','');
    140             when(store.query("_design/default/_view/by_type",{key:'SurveyRun'})
    141                     ,lang.hitch(this,function(surveyRuns){
     140            when(store.query("_design/default/_view/by_type",{key:'SurveyRun'}),
     141                    lang.hitch(this,function(surveyRuns){
    142142                this.runsTab.set('title','Runs ('+surveyRuns.length+')');
    143143                array.forEach(surveyRuns,function(surveyRun){
Note: See TracChangeset for help on using the changeset viewer.