Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eugene Shen
jio
Commits
77b9d102
Commit
77b9d102
authored
Aug 06, 2013
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
complex_queries.js not amd compatible -> fixed
parent
009bc48c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
23 deletions
+12
-23
src/queries/begin.js
src/queries/begin.js
+10
-3
src/queries/end.js
src/queries/end.js
+2
-20
No files found.
src/queries/begin.js
View file @
77b9d102
...
...
@@ -9,10 +9,17 @@
*
* @module complex_queries
*/
var
complex_queries
;
(
function
()
{
// define([module_name], [dependencies], module)
;
(
function
(
module
)
{
"
use strict
"
;
var
to_export
=
{},
module_name
=
"
complex_queries
"
;
if
(
typeof
define
===
'
function
'
&&
define
.
amd
)
{
return
define
(
module
);
}
window
.
complex_queries
=
module
();
}(
function
()
{
"
use strict
"
;
var
to_export
=
{};
/**
* Add a secured (write permission denied) property to an object.
*
...
...
src/queries/end.js
View file @
77b9d102
if
(
typeof
define
===
"
function
"
&&
define
.
amd
)
{
define
(
to_export
);
}
else
if
(
typeof
window
===
"
object
"
)
{
Object
.
defineProperty
(
window
,
module_name
,
{
configurable
:
false
,
enumerable
:
true
,
writable
:
false
,
value
:
to_export
});
}
else
if
(
typeof
exports
===
"
object
"
)
{
var
i
;
for
(
i
in
to_export
)
{
if
(
to_export
.
hasOwnProperty
(
i
))
{
exports
[
i
]
=
to_export
[
i
];
}
}
}
else
{
complex_queries
=
to_export
;
}
}());
return
to_export
;
}));
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