Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit d4d1b11f
authored
Jan 12, 2012
by
Meg Sharkey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version
1 parent
ec6b1206
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
lib/sequelize/model.js
package.json
lib/sequelize/model.js
View file @
d4d1b11
...
@@ -66,6 +66,7 @@ Model.prototype.save = function() {
...
@@ -66,6 +66,7 @@ Model.prototype.save = function() {
eventEmitter
.
emit
(
'success'
,
obj
)
eventEmitter
.
emit
(
'success'
,
obj
)
})
})
.
on
(
'failure'
,
function
(
err
)
{
eventEmitter
.
emit
(
'failure'
,
err
)
})
.
on
(
'failure'
,
function
(
err
)
{
eventEmitter
.
emit
(
'failure'
,
err
)
})
.
on
(
'sql'
,
function
(
sql
)
{
eventEmitter
.
emit
(
'sql'
,
sql
)
})
})
})
return
eventEmitter
.
run
()
return
eventEmitter
.
run
()
}
else
{
}
else
{
...
...
package.json
View file @
d4d1b11
{
{
"name"
:
"sqlize"
,
"name"
:
"sqlize"
,
"description"
:
"Modified version of sequelize - MySQL ORM for Node.JS"
,
"description"
:
"Modified version of sequelize - MySQL ORM for Node.JS"
,
"version"
:
"0.2.
2
"
,
"version"
:
"0.2.
3
"
,
"author"
:
"Meg Sharkey <meg@metamx.com>"
,
"author"
:
"Meg Sharkey <meg@metamx.com>"
,
"contributors"
:
[
"contributors"
:
[
{
"name"
:
"Sascha Depold"
,
"email"
:
"sascha@depold.com"
},
{
"name"
:
"Sascha Depold"
,
"email"
:
"sascha@depold.com"
},
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment