Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
c88aad55
Commit
c88aad55
authored
Feb 05, 2015
by
polesye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TNL-1353: Fix annotator dependency.
parent
f8130cc6
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
13 additions
and
18 deletions
+13
-18
lms/static/js/edxnotes/plugins/events.js
+1
-1
lms/static/js/edxnotes/plugins/scroller.js
+1
-1
lms/static/js/edxnotes/views/notes_factory.js
+1
-1
lms/static/js/edxnotes/views/shim.js
+1
-1
lms/static/js/edxnotes/views/toggle_notes_factory.js
+1
-1
lms/static/js/spec/edxnotes/plugins/events_spec.js
+1
-1
lms/static/js/spec/edxnotes/plugins/scroller_spec.js
+1
-1
lms/static/js/spec/edxnotes/views/notes_factory_spec.js
+1
-1
lms/static/js/spec/edxnotes/views/shim_spec.js
+1
-1
lms/static/js/spec/edxnotes/views/toggle_notes_factory_spec.js
+1
-1
lms/static/js/spec/edxnotes/views/visibility_decorator_spec.js
+1
-1
lms/static/js/spec/main.js
+2
-2
lms/static/require-config-lms.js
+0
-5
No files found.
lms/static/js/edxnotes/plugins/events.js
View file @
c88aad55
;(
function
(
define
,
undefined
)
{
'use strict'
;
define
([
'underscore'
,
'annotator'
,
'underscore.string'
'underscore'
,
'annotator
_1.2.9
'
,
'underscore.string'
],
function
(
_
,
Annotator
)
{
/**
* Modifies Annotator.Plugin.Store.annotationCreated to make it trigger a new
...
...
lms/static/js/edxnotes/plugins/scroller.js
View file @
c88aad55
;(
function
(
define
,
undefined
)
{
'use strict'
;
define
([
'jquery'
,
'underscore'
,
'annotator'
],
function
(
$
,
_
,
Annotator
)
{
define
([
'jquery'
,
'underscore'
,
'annotator
_1.2.9
'
],
function
(
$
,
_
,
Annotator
)
{
/**
* Adds the Scroller Plugin which scrolls to a note with a certain id and
* opens it.
...
...
lms/static/js/edxnotes/views/notes_factory.js
View file @
c88aad55
;(
function
(
define
,
undefined
)
{
'use strict'
;
define
([
'jquery'
,
'underscore'
,
'annotator'
,
'js/edxnotes/utils/logger'
,
'jquery'
,
'underscore'
,
'annotator
_1.2.9
'
,
'js/edxnotes/utils/logger'
,
'js/edxnotes/views/shim'
,
'js/edxnotes/plugins/scroller'
,
'js/edxnotes/plugins/events'
],
function
(
$
,
_
,
Annotator
,
NotesLogger
)
{
...
...
lms/static/js/edxnotes/views/shim.js
View file @
c88aad55
;(
function
(
define
,
undefined
)
{
'use strict'
;
define
([
'jquery'
,
'underscore'
,
'annotator'
,
'js/edxnotes/utils/utils'
'jquery'
,
'underscore'
,
'annotator
_1.2.9
'
,
'js/edxnotes/utils/utils'
],
function
(
$
,
_
,
Annotator
,
Utils
)
{
var
_t
=
Annotator
.
_t
;
...
...
lms/static/js/edxnotes/views/toggle_notes_factory.js
View file @
c88aad55
...
...
@@ -2,7 +2,7 @@
'use strict'
;
define
([
'jquery'
,
'underscore'
,
'backbone'
,
'gettext'
,
'annotator'
,
'js/edxnotes/views/visibility_decorator'
'annotator
_1.2.9
'
,
'js/edxnotes/views/visibility_decorator'
],
function
(
$
,
_
,
Backbone
,
gettext
,
Annotator
,
EdxnotesVisibilityDecorator
)
{
var
ToggleNotesView
=
Backbone
.
View
.
extend
({
events
:
{
...
...
lms/static/js/spec/edxnotes/plugins/events_spec.js
View file @
c88aad55
define
([
'jquery'
,
'underscore'
,
'js/common_helpers/ajax_helpers'
,
'js/spec/edxnotes/helpers'
,
'annotator'
,
'logger'
,
'js/edxnotes/views/notes_factory'
'annotator
_1.2.9
'
,
'logger'
,
'js/edxnotes/views/notes_factory'
],
function
(
$
,
_
,
AjaxHelpers
,
Helpers
,
Annotator
,
Logger
,
NotesFactory
)
{
'use strict'
;
describe
(
'EdxNotes Events Plugin'
,
function
()
{
...
...
lms/static/js/spec/edxnotes/plugins/scroller_spec.js
View file @
c88aad55
define
([
'jquery'
,
'underscore'
,
'annotator'
,
'js/edxnotes/views/notes_factory'
,
'jquery'
,
'underscore'
,
'annotator
_1.2.9
'
,
'js/edxnotes/views/notes_factory'
,
'js/spec/edxnotes/custom_matchers'
],
function
(
$
,
_
,
Annotator
,
NotesFactory
,
customMatchers
)
{
'use strict'
;
...
...
lms/static/js/spec/edxnotes/views/notes_factory_spec.js
View file @
c88aad55
define
([
'annotator'
,
'js/edxnotes/views/notes_factory'
,
'js/common_helpers/ajax_helpers'
,
'annotator
_1.2.9
'
,
'js/edxnotes/views/notes_factory'
,
'js/common_helpers/ajax_helpers'
,
'js/spec/edxnotes/helpers'
,
'js/spec/edxnotes/custom_matchers'
],
function
(
Annotator
,
NotesFactory
,
AjaxHelpers
,
Helpers
,
customMatchers
)
{
'use strict'
;
...
...
lms/static/js/spec/edxnotes/views/shim_spec.js
View file @
c88aad55
define
([
'jquery'
,
'underscore'
,
'annotator'
,
'js/edxnotes/views/notes_factory'
,
'jasmine-jquery'
'jquery'
,
'underscore'
,
'annotator
_1.2.9
'
,
'js/edxnotes/views/notes_factory'
,
'jasmine-jquery'
],
function
(
$
,
_
,
Annotator
,
NotesFactory
)
{
'use strict'
;
describe
(
'EdxNotes Shim'
,
function
()
{
...
...
lms/static/js/spec/edxnotes/views/toggle_notes_factory_spec.js
View file @
c88aad55
define
([
'jquery'
,
'annotator'
,
'js/common_helpers/ajax_helpers'
,
'js/edxnotes/views/visibility_decorator'
,
'jquery'
,
'annotator
_1.2.9
'
,
'js/common_helpers/ajax_helpers'
,
'js/edxnotes/views/visibility_decorator'
,
'js/edxnotes/views/toggle_notes_factory'
,
'js/spec/edxnotes/helpers'
,
'js/spec/edxnotes/custom_matchers'
,
'jasmine-jquery'
],
function
(
...
...
lms/static/js/spec/edxnotes/views/visibility_decorator_spec.js
View file @
c88aad55
define
([
'annotator'
,
'js/edxnotes/views/visibility_decorator'
,
'annotator
_1.2.9
'
,
'js/edxnotes/views/visibility_decorator'
,
'js/spec/edxnotes/helpers'
,
'js/spec/edxnotes/custom_matchers'
],
function
(
Annotator
,
VisibilityDecorator
,
Helpers
,
customMatchers
)
{
'use strict'
;
...
...
lms/static/js/spec/main.js
View file @
c88aad55
...
...
@@ -82,7 +82,7 @@
'js/student_profile/profile'
:
'js/student_profile/profile'
,
// edxnotes
'annotator'
:
'xmodule_js/common_static/js/vendor/edxnotes/annotator-full.min'
'annotator
_1.2.9
'
:
'xmodule_js/common_static/js/vendor/edxnotes/annotator-full.min'
},
shim
:
{
'gettext'
:
{
...
...
@@ -511,7 +511,7 @@
]
},
// Student Notes
'annotator'
:
{
'annotator
_1.2.9
'
:
{
exports
:
'Annotator'
,
deps
:
[
'jquery'
]
}
...
...
lms/static/require-config-lms.js
View file @
c88aad55
...
...
@@ -145,11 +145,6 @@
]
},
// End of needed by OVA
},
map
:
{
"js/edxnotes/*"
:
{
"annotator"
:
"annotator_1.2.9"
}
}
};
...
...
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