Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
c48010a9
Commit
c48010a9
authored
Jun 18, 2014
by
Romain Courteaud
Committed by
Jérome Perrin
Aug 11, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop unused variable.
parent
bb2b46ff
Changes
20
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
42 additions
and
42 deletions
+42
-42
Gruntfile.js
Gruntfile.js
+1
-3
dream/platform/src2/dream/InputModule_viewInputList.js
dream/platform/src2/dream/InputModule_viewInputList.js
+2
-2
dream/platform/src2/dream/Input_viewDocumentManagement.js
dream/platform/src2/dream/Input_viewDocumentManagement.js
+2
-2
dream/platform/src2/dream/Input_viewResultList.js
dream/platform/src2/dream/Input_viewResultList.js
+1
-1
dream/platform/src2/dream/Input_viewShiftSpreadsheet.js
dream/platform/src2/dream/Input_viewShiftSpreadsheet.js
+1
-1
dream/platform/src2/dream/Input_viewSimulation.js
dream/platform/src2/dream/Input_viewSimulation.js
+1
-1
dream/platform/src2/dream/Input_viewWipPartSpreadsheet.js
dream/platform/src2/dream/Input_viewWipPartSpreadsheet.js
+1
-1
dream/platform/src2/dream/Output_viewDebugJson.js
dream/platform/src2/dream/Output_viewDebugJson.js
+3
-3
dream/platform/src2/dream/Output_viewExitStatistics.js
dream/platform/src2/dream/Output_viewExitStatistics.js
+3
-3
dream/platform/src2/dream/Output_viewJobGantt.js
dream/platform/src2/dream/Output_viewJobGantt.js
+2
-2
dream/platform/src2/dream/Output_viewJobScheduleSpreadsheet.js
.../platform/src2/dream/Output_viewJobScheduleSpreadsheet.js
+1
-1
dream/platform/src2/dream/Output_viewQueueStatGraph.js
dream/platform/src2/dream/Output_viewQueueStatGraph.js
+4
-4
dream/platform/src2/dream/Output_viewStationUtilisationGraph.js
...platform/src2/dream/Output_viewStationUtilisationGraph.js
+4
-3
dream/platform/src2/dream/index.js
dream/platform/src2/dream/index.js
+4
-4
dream/platform/src2/dream/mixin_promise.js
dream/platform/src2/dream/mixin_promise.js
+1
-1
dream/platform/src2/handsontable/test.js
dream/platform/src2/handsontable/test.js
+3
-3
dream/platform/src2/jio_bridge/jiogadget.js
dream/platform/src2/jio_bridge/jiogadget.js
+1
-1
dream/platform/src2/jsplumb/jsplumb.js
dream/platform/src2/jsplumb/jsplumb.js
+1
-0
dream/platform/src2/list_field/listfield.js
dream/platform/src2/list_field/listfield.js
+3
-3
dream/platform/src2/string_field/stringfield.js
dream/platform/src2/string_field/stringfield.js
+3
-3
No files found.
Gruntfile.js
View file @
c48010a9
...
...
@@ -44,13 +44,11 @@ module.exports = function (grunt) {
maxlen
:
79
,
indent
:
2
,
maxerr
:
3
,
unparam
:
true
,
predef
:
[
'
window
'
,
'
document
'
]
},
exclude
:
'
<%= global_config.src %>/webodf_editor/**/*.*
'
}
}
},
...
...
dream/platform/src2/dream/InputModule_viewInputList.js
View file @
c48010a9
/*global
console,
rJS, RSVP, Handlebars, initGadgetMixin */
/*global rJS, RSVP, Handlebars, initGadgetMixin */
/*jslint nomen: true */
(
function
(
window
,
rJS
,
RSVP
,
Handlebars
,
initGadgetMixin
)
{
"
use strict
"
;
...
...
@@ -27,7 +27,7 @@
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
.
declareMethod
(
"
render
"
,
function
(
options
)
{
.
declareMethod
(
"
render
"
,
function
()
{
var
gadget
=
this
;
return
gadget
.
aq_allDocs
({
"
select_list
"
:
[
"
title
"
,
"
modified
"
]})
.
push
(
function
(
document_list
)
{
...
...
dream/platform/src2/dream/Input_viewDocumentManagement.js
View file @
c48010a9
/*global
console,
rJS, RSVP, jQuery,
/*global rJS, RSVP, jQuery,
promiseEventListener, initGadgetMixin */
(
function
(
window
,
rJS
,
RSVP
,
$
,
promiseEventListener
,
initGadgetMixin
)
{
...
...
@@ -94,7 +94,7 @@
"
_id
"
:
gadget
.
props
.
jio_key
});
})
.
push
(
function
(
result
)
{
.
push
(
function
()
{
return
gadget
.
whoWantToDisplayHome
();
})
.
push
(
function
(
url
)
{
...
...
dream/platform/src2/dream/Input_viewResultList.js
View file @
c48010a9
/*global
console,
rJS, RSVP, Handlebars, initGadgetMixin */
/*global rJS, RSVP, Handlebars, initGadgetMixin */
/*jslint nomen: true */
(
function
(
window
,
rJS
,
RSVP
,
Handlebars
,
initGadgetMixin
)
{
"
use strict
"
;
...
...
dream/platform/src2/dream/Input_viewShiftSpreadsheet.js
View file @
c48010a9
/*global
console,
rJS, RSVP, initGadgetMixin */
/*global rJS, RSVP, initGadgetMixin */
(
function
(
window
,
rJS
,
RSVP
,
initGadgetMixin
)
{
"
use strict
"
;
...
...
dream/platform/src2/dream/Input_viewSimulation.js
View file @
c48010a9
...
...
@@ -143,7 +143,7 @@
"
_mimetype
"
:
"
application/json
"
});
})
.
push
(
function
(
result
)
{
.
push
(
function
()
{
return
gadget
.
whoWantToDisplayThisDocument
(
gadget
.
props
.
jio_key
,
"
view_result
"
...
...
dream/platform/src2/dream/Input_viewWipPartSpreadsheet.js
View file @
c48010a9
/*global
console,
rJS, RSVP, initGadgetMixin */
/*global rJS, RSVP, initGadgetMixin */
(
function
(
window
,
rJS
,
RSVP
,
initGadgetMixin
)
{
"
use strict
"
;
...
...
dream/platform/src2/dream/Output_viewDebugJson.js
View file @
c48010a9
/*global
console, rJS, RSVP
, initGadgetMixin */
(
function
(
window
,
rJS
,
RSVP
,
initGadgetMixin
)
{
/*global
rJS
, initGadgetMixin */
(
function
(
window
,
rJS
,
initGadgetMixin
)
{
"
use strict
"
;
var
gadget_klass
=
rJS
(
window
);
...
...
@@ -32,4 +32,4 @@
});
}(
window
,
rJS
,
RSVP
,
initGadgetMixin
));
}(
window
,
rJS
,
initGadgetMixin
));
dream/platform/src2/dream/Output_viewExitStatistics.js
View file @
c48010a9
/*global
console, rJS, RSVP
, Handlebars,
/*global
rJS
, Handlebars,
initGadgetMixin */
/*jslint nomen: true */
(
function
(
window
,
rJS
,
RSVP
,
Handlebars
,
(
function
(
window
,
rJS
,
Handlebars
,
initGadgetMixin
)
{
"
use strict
"
;
...
...
@@ -151,4 +151,4 @@
gadget
.
props
.
element
.
innerHTML
=
result
;
});
});
}(
window
,
rJS
,
RSVP
,
Handlebars
,
initGadgetMixin
));
}(
window
,
rJS
,
Handlebars
,
initGadgetMixin
));
dream/platform/src2/dream/Output_viewJobGantt.js
View file @
c48010a9
/*global
console,
rJS, RSVP, jQuery, gantt,
/*global rJS, RSVP, jQuery, gantt,
initGadgetMixin */
/*jslint nomen: true */
/*jslint nomen: true
, unparam: true
*/
(
function
(
window
,
rJS
,
RSVP
,
$
,
gantt
,
initGadgetMixin
)
{
"
use strict
"
;
...
...
dream/platform/src2/dream/Output_viewJobScheduleSpreadsheet.js
View file @
c48010a9
/*global
console,
rJS, RSVP, moment, initGadgetMixin */
/*global rJS, RSVP, moment, initGadgetMixin */
/*jslint nomen: true */
(
function
(
window
,
rJS
,
RSVP
,
moment
,
initGadgetMixin
)
{
"
use strict
"
;
...
...
dream/platform/src2/dream/Output_viewQueueStatGraph.js
View file @
c48010a9
/*global
console, rJS, RSVP
, jQuery, initGadgetMixin */
/*jslint nomen: true */
(
function
(
window
,
rJS
,
RSVP
,
$
,
initGadgetMixin
)
{
/*global
rJS
, jQuery, initGadgetMixin */
/*jslint nomen: true
, unparam: true
*/
(
function
(
window
,
rJS
,
$
,
initGadgetMixin
)
{
"
use strict
"
;
function
queue_stat_widget
(
output_data
)
{
...
...
@@ -52,4 +52,4 @@
this
.
props
.
series
);
});
}(
window
,
rJS
,
RSVP
,
jQuery
,
initGadgetMixin
));
}(
window
,
rJS
,
jQuery
,
initGadgetMixin
));
dream/platform/src2/dream/Output_viewStationUtilisationGraph.js
View file @
c48010a9
/*global console, rJS, RSVP, jQuery, initGadgetMixin */
(
function
(
window
,
rJS
,
RSVP
,
$
,
initGadgetMixin
)
{
/*global rJS, jQuery, initGadgetMixin */
/*jslint unparam: true */
(
function
(
window
,
rJS
,
$
,
initGadgetMixin
)
{
"
use strict
"
;
function
station_utilisation_graph_widget
(
output_data
)
{
...
...
@@ -158,4 +159,4 @@
this
.
props
.
result_list
[
1
]
);
});
}(
window
,
rJS
,
RSVP
,
jQuery
,
initGadgetMixin
));
}(
window
,
rJS
,
jQuery
,
initGadgetMixin
));
dream/platform/src2/dream/index.js
View file @
c48010a9
/*global
console,
jQuery, rJS, RSVP, alert, Handlebars, initGadgetMixin */
/*global jQuery, rJS, RSVP, alert, Handlebars, initGadgetMixin */
/*jslint nomen: true */
(
function
(
window
,
$
,
rJS
,
RSVP
,
Handlebars
,
initGadgetMixin
)
{
"
use strict
"
;
...
...
@@ -313,7 +313,7 @@
});
})
.
allowPublicAcquisition
(
"
whoWantToDisplayHome
"
,
function
(
param_list
)
{
.
allowPublicAcquisition
(
"
whoWantToDisplayHome
"
,
function
()
{
// Hey, I want to display some URL
return
this
.
aq_pleasePublishMyState
({});
})
...
...
@@ -337,7 +337,7 @@
result
:
param_list
[
1
]
});
})
.
allowPublicAcquisition
(
"
getConfigurationDict
"
,
function
(
param_list
)
{
.
allowPublicAcquisition
(
"
getConfigurationDict
"
,
function
()
{
return
this
.
props
.
configuration_dict
;
})
...
...
@@ -345,7 +345,7 @@
// ready
/////////////////////////////////////////////////////////////////
// Precompile the templates while loading the first gadget instance
.
ready
(
function
(
g
)
{
.
ready
(
function
()
{
if
(
panel_template
===
undefined
)
{
// XXX Only works as root gadget
panel_template
=
Handlebars
.
compile
(
...
...
dream/platform/src2/dream/mixin_promise.js
View file @
c48010a9
/*global
console,
RSVP, FileReader */
/*global RSVP, FileReader */
(
function
(
window
,
RSVP
,
FileReader
)
{
"
use strict
"
;
...
...
dream/platform/src2/handsontable/test.js
View file @
c48010a9
/*global
asyncTest,
rJS, JSON, QUnit, jQuery*/
/*global rJS, JSON, QUnit, jQuery*/
(
function
(
asyncTest
,
rJS
,
JSON
,
QUnit
,
$
)
{
(
function
(
rJS
,
JSON
,
QUnit
,
$
)
{
"
use strict
"
;
var
start
=
QUnit
.
start
,
stop
=
QUnit
.
stop
,
...
...
@@ -56,4 +56,4 @@
});
});
}(
asyncTest
,
rJS
,
JSON
,
QUnit
,
jQuery
));
}(
rJS
,
JSON
,
QUnit
,
jQuery
));
dream/platform/src2/jio_bridge/jiogadget.js
View file @
c48010a9
/*global rJS, jIO
, console
*/
/*global rJS, jIO */
(
function
(
rJS
,
jIO
)
{
"
use strict
"
;
...
...
dream/platform/src2/jsplumb/jsplumb.js
View file @
c48010a9
...
...
@@ -18,6 +18,7 @@
* ==========================================================================*/
/*global RSVP, rJS, $, jsPlumb, Handlebars*/
/*jslint unparam: true */
(
function
(
RSVP
,
rJS
,
$
,
jsPlumb
,
Handlebars
)
{
"
use strict
"
;
...
...
dream/platform/src2/list_field/listfield.js
View file @
c48010a9
/*global window, rJS,
console, RSVP,
Handlebars */
/*global window, rJS, Handlebars */
/*jslint nomen: true */
(
function
(
window
,
rJS
,
console
,
RSVP
,
Handlebars
)
{
(
function
(
window
,
rJS
,
Handlebars
)
{
"
use strict
"
;
/////////////////////////////////////////////////////////////////
...
...
@@ -46,4 +46,4 @@
select
.
innerHTML
+=
tmp
;
});
}(
window
,
rJS
,
console
,
RSVP
,
Handlebars
));
}(
window
,
rJS
,
Handlebars
));
dream/platform/src2/string_field/stringfield.js
View file @
c48010a9
/*global window, rJS
, RSVP
*/
(
function
(
window
,
rJS
,
RSVP
)
{
/*global window, rJS */
(
function
(
window
,
rJS
)
{
"
use strict
"
;
rJS
(
window
)
...
...
@@ -24,4 +24,4 @@
return
result
;
});
}(
window
,
rJS
,
RSVP
));
}(
window
,
rJS
));
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