https://codereview.appspot.com/13884044/diff/9001/extensions/rules/tar_file_string_test.py File extensions/rules/tar_file_string_test.py (right): https://codereview.appspot.com/13884044/diff/9001/extensions/rules/tar_file_string_test.py#newcode29 extensions/rules/tar_file_string_test.py:29: class TarFileStringRuleUnitTests(unittest.TestCase): On 2013/09/27 05:38:17, s.z.w.lip wrote: > Did ...
11 years, 2 months ago
(2013-09-28 06:13:22 UTC)
#4
https://codereview.appspot.com/13884044/diff/9001/extensions/rules/tar_file_s...
File extensions/rules/tar_file_string_test.py (right):
https://codereview.appspot.com/13884044/diff/9001/extensions/rules/tar_file_s...
extensions/rules/tar_file_string_test.py:29: class
TarFileStringRuleUnitTests(unittest.TestCase):
On 2013/09/27 05:38:17, s.z.w.lip wrote:
> Did you change the number of tests in the test suite?
>
> (Please make sure that every test passes before submitting your code.)
Err... one test is failing. The name of the parameter in widget doesn't allow
'_'. Should I change the name or should we include '_' as well?
https://codereview.appspot.com/13884044/diff/9001/extensions/widgets/interact...
File
extensions/widgets/interactive/FileReadInputWithHints/static/js/FileReadInputWithHints.js
(right):
https://codereview.appspot.com/13884044/diff/9001/extensions/widgets/interact...
extensions/widgets/interactive/FileReadInputWithHints/static/js/FileReadInputWithHints.js:33:
$scope.$apply();
On 2013/09/27 05:38:17, s.z.w.lip wrote:
> Just checking: why do you need this? (What does not work?)
>
> Please add a comment to the file explaining this -- we are trying to remove
> $scope.$apply()'s in various places so it would help to have the context.he
The filename originally is an empty string. When the filename gets updated, the
updated value doesn't show up in the browser. So I'm doing $scope.$apply()
https://codereview.appspot.com/13884044/diff/9001/extensions/rules/tar_file_string_test.py File extensions/rules/tar_file_string_test.py (right): https://codereview.appspot.com/13884044/diff/9001/extensions/rules/tar_file_string_test.py#newcode29 extensions/rules/tar_file_string_test.py:29: class TarFileStringRuleUnitTests(unittest.TestCase): Ah. Yes, I think we can allow ...
11 years, 2 months ago
(2013-09-28 06:53:39 UTC)
#5
https://codereview.appspot.com/13884044/diff/9001/extensions/rules/tar_file_s...
File extensions/rules/tar_file_string_test.py (right):
https://codereview.appspot.com/13884044/diff/9001/extensions/rules/tar_file_s...
extensions/rules/tar_file_string_test.py:29: class
TarFileStringRuleUnitTests(unittest.TestCase):
Ah. Yes, I think we can allow '_'.
On 2013/09/28 06:13:22, sunu0000 wrote:
> On 2013/09/27 05:38:17, s.z.w.lip wrote:
> > Did you change the number of tests in the test suite?
> >
> > (Please make sure that every test passes before submitting your code.)
>
> Err... one test is failing. The name of the parameter in widget doesn't allow
> '_'. Should I change the name or should we include '_' as well?
https://codereview.appspot.com/13884044/diff/9001/extensions/widgets/interact...
File
extensions/widgets/interactive/FileReadInputWithHints/static/js/FileReadInputWithHints.js
(right):
https://codereview.appspot.com/13884044/diff/9001/extensions/widgets/interact...
extensions/widgets/interactive/FileReadInputWithHints/static/js/FileReadInputWithHints.js:33:
$scope.$apply();
Thanks for explaining! Hmm, that is actually unexpected. Can you put a comment
in this and the other JS file explaining this:
// The call to $scope.$apply() is needed because $scope.filename does not
// update automatically in the HTML template.
Then, one day in the future, I'll look into it :-)
Thanks!
On 2013/09/28 06:13:22, sunu0000 wrote:
> On 2013/09/27 05:38:17, s.z.w.lip wrote:
> > Just checking: why do you need this? (What does not work?)
> >
> > Please add a comment to the file explaining this -- we are trying to remove
> > $scope.$apply()'s in various places so it would help to have the context.he
>
> The filename originally is an empty string. When the filename gets updated,
the
> updated value doesn't show up in the browser. So I'm doing $scope.$apply()
>
Issue 13884044: Tar widget with hints
Created 11 years, 2 months ago by sunu0000
Modified 11 years, 2 months ago
Reviewers: s.z.w.lip
Base URL:
Comments: 18