Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jio-main
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
Hardik Juneja
jio-main
Commits
45d2bb30
Commit
45d2bb30
authored
Jun 13, 2013
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
queries: naming conventions
parent
5f88fd5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
src/queries/tool.js
src/queries/tool.js
+9
-9
No files found.
src/queries/tool.js
View file @
45d2bb30
...
@@ -44,10 +44,10 @@ function newClass() {
...
@@ -44,10 +44,10 @@ function newClass() {
if
(
that
.
hasOwnProperty
(
key
))
{
if
(
that
.
hasOwnProperty
(
key
))
{
if
(
typeof
that
[
key
]
===
"
function
"
)
{
if
(
typeof
that
[
key
]
===
"
function
"
)
{
Object
.
defineProperty
(
that
,
key
,
{
Object
.
defineProperty
(
that
,
key
,
{
configurable
:
option
.
secure_methods
?
false
:
true
,
"
configurable
"
:
option
.
secure_methods
?
false
:
true
,
enumerable
:
option
.
hide_methods
?
false
:
true
,
"
enumerable
"
:
option
.
hide_methods
?
false
:
true
,
writable
:
option
.
secure_methods
?
false
:
true
,
"
writable
"
:
option
.
secure_methods
?
false
:
true
,
value
:
that
[
key
]
"
value
"
:
that
[
key
]
});
});
}
}
}
}
...
@@ -63,11 +63,11 @@ function newClass() {
...
@@ -63,11 +63,11 @@ function newClass() {
if
(
that
.
hasOwnProperty
(
key
))
{
if
(
that
.
hasOwnProperty
(
key
))
{
if
(
typeof
that
[
key
]
===
"
function
"
)
{
if
(
typeof
that
[
key
]
===
"
function
"
)
{
Object
.
defineProperty
(
that
,
key
,
{
Object
.
defineProperty
(
that
,
key
,
{
configurable
:
option
.
secure_static_methods
===
false
?
"
configurable
"
:
option
.
secure_static_methods
===
true
:
false
,
false
?
true
:
false
,
enumerable
:
option
.
hide_static_methods
?
false
:
true
,
"
enumerable
"
:
option
.
hide_static_methods
?
false
:
true
,
writable
:
option
.
secure_static_methods
===
false
?
true
:
false
,
"
writable
"
:
option
.
secure_static_methods
===
false
?
true
:
false
,
value
:
that
[
key
]
"
value
"
:
that
[
key
]
});
});
}
}
}
}
...
...
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