mirror of https://github.com/vuejs/vue.git
new api fixed
This commit is contained in:
parent
c98c8a68cb
commit
dddb255074
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<title></title>
|
||||
<meta charset="utf-8">
|
||||
<script src="dist/seed.js"></script>
|
||||
<script src="../dist/seed.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div sd-template="todo" sd-text="hi" sd-on="click:hello"></div>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Seed.config({ debug: true })
|
||||
Seed.config({ debug: false })
|
||||
|
||||
var filters = {
|
||||
all: function () { return true },
|
||||
|
|
|
|||
|
|
@ -257,7 +257,7 @@ CompilerProto.bindContexts = function (bindings) {
|
|||
* Unbind and remove element
|
||||
*/
|
||||
CompilerProto.destroy = function () {
|
||||
console.log('compiler destroyed: ', this.vm.$el)
|
||||
utils.log('compiler destroyed: ', this.vm.$el)
|
||||
var i, key, dir, listener, inss
|
||||
// remove all directives that are instances of external bindings
|
||||
i = this.directives.length
|
||||
|
|
|
|||
|
|
@ -3,9 +3,7 @@ var config = require('./config'),
|
|||
toString = Object.prototype.toString,
|
||||
aproto = Array.prototype,
|
||||
arrayMutators = ['push','pop','shift','unshift','splice','sort','reverse'],
|
||||
templates = {},
|
||||
indentation = 0,
|
||||
indent = ''
|
||||
templates = {}
|
||||
|
||||
var arrayAugmentations = {
|
||||
remove: function (index) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue